X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fsumhack.cpp;h=9491e640b18196fea2f9f3722824694fe5cf8759;hb=HEAD;hp=75c6fa3d7b3652b30e70836ad08e081d292baaba;hpb=a80992973feb47adfc1214ad1a3f7fc34eb345c0;p=summerhack diff --git a/src/sumhack.cpp b/src/sumhack.cpp index 75c6fa3..9491e64 100644 --- a/src/sumhack.cpp +++ b/src/sumhack.cpp @@ -88,10 +88,10 @@ bool init() { } if(gip->fullscreen) { - SDL_ShowCursor(0); + fxwt::show_cursor(false); } - fxwt::set_window_title("The Lab Demos :: Summer Hack"); + fxwt::set_window_title("The Lab Demos :: Summer Hack (rebuild)"); fxwt::set_display_handler(update_gfx); fxwt::set_idle_handler(update_gfx); fxwt::set_keyboard_handler(key_handler); @@ -102,6 +102,7 @@ bool init() { //dsys::init(); // show loading screen + glClear(GL_COLOR_BUFFER_BIT); dsys::overlay(get_texture("data/img/loading.jpg"), Vector2(0, 0), Vector2(1, 1), 1.0); flip(); @@ -145,18 +146,18 @@ bool init() { timer_reset(&timer); timer_start(&timer); - + return true; } void clean_up() { unsigned long time = timer_getmsec(&timer); - + if(music) { sdlvf_done(); } - SDL_ShowCursor(1); + fxwt::show_cursor(true); for(size_t i=0; i