You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
819 B
C++

#include <lowlevellib.h>
int os_main(int argc, char **argv, char **envp )
{
llgfx_SetDisplayMode(320,200,16,0);
while(osmain_endgame == false) {
llgfx_ClearScreen(BLUE);
llgfx_text_rect.x1 = 10;
llgfx_text_rect.x2 = 200;
llgfx_text_rect.y1 = 0;
llgfx_text_rect.y2 = 50;
llgfx_text_xpos = llgfx_text_rect.x1+20;
llgfx_text_ypos = llgfx_text_rect.y1+10;
llgfx_text_wrap = true;
char *text = "Hallo das ist ein langer Text mit einem garantierten Textumbruch oder nicht oder wie?\nBackslash\nhat er auch und\teinige tabs\n. jawohl .";
int blitflags = 0;
s_blitfx blitfx;
llgfx_DrawText(0,text,blitflags,&blitfx);
llgfx_FlipScreen(true);
llinput_Update();
llirq_Sleep(10);
if( llinput_Keys[LLINPUT_KEY_A] )
osmain_endgame = true;
} //
return 0;
}