Ejemplo n.º 1
0
void oslInitConsole()
{
	//Charge et utilise la fonte système
	if (!osl_sceFont)
		osl_sceFont = oslLoadFont(&osl_sceFontInfo);
	oslSetFont(osl_sceFont);
	oslCls();
//	osl_consoleOk=1;
}
Ejemplo n.º 2
0
static PyObject* osl_cls(PyObject *self,
                         PyObject *args,
                         PyObject *kwargs)
{
    if (!PyArg_ParseTuple(args, ":cls"))
        return NULL;

    oslCls();

    Py_INCREF(Py_None);
    return Py_None;
}
Ejemplo n.º 3
0
void gatewayCall() {
	if ((gatewayAdvance(sprite->x, sprite->y,
		sprite->x + sprite->stretchX, 
		sprite->y + sprite->stretchY,
		gatewayx[0], gatewayy[0],
		gatewayx[0] + gateway->stretchX, 
		gatewayy[0] + gateway->stretchY) == 1) && 
		(skulls == skullmax)) {
			jumping = 0;
			oslCls();
			leveltimer = 0;
			levelcomplete = 1;
	}
}
Ejemplo n.º 4
0
/*
  Clears the screen.
*/
VALUE Graphics_clear(VALUE self)
{
    oslCls();
    return Qnil;
}