[Tuxracer-checkins] CVS: tuxracer/src credits.c,1.3,1.4
Status: Beta
Brought to you by:
jfpatry
From: Jasmin P. <jf...@us...> - 2000-10-01 17:58:43
|
Update of /cvsroot/tuxracer/tuxracer/src In directory slayer.i.sourceforge.net:/tmp/cvs-serv21436 Modified Files: credits.c Log Message: - Added UI snow to credits screen Index: credits.c =================================================================== RCS file: /cvsroot/tuxracer/tuxracer/src/credits.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** credits.c 2000/09/29 04:03:32 1.3 --- credits.c 2000/10/01 17:58:40 1.4 *************** *** 39,42 **** --- 39,43 ---- #include "ui_mgr.h" #include "ui_theme.h" + #include "ui_snow.h" #define CREDITS_MAX_Y -140 *************** *** 208,213 **** glEnable( GL_TEXTURE_2D ); - - } --- 209,212 ---- *************** *** 218,223 **** glutReshapeFunc( reshape ); glutMouseFunc( mouse_cb ); ! glutMotionFunc( NULL ); ! glutPassiveMotionFunc( NULL ); y_offset = 0; --- 217,222 ---- glutReshapeFunc( reshape ); glutMouseFunc( mouse_cb ); ! glutMotionFunc( ui_event_motion_func ); ! glutPassiveMotionFunc( ui_event_motion_func ); y_offset = 0; *************** *** 244,248 **** --- 243,254 ---- draw_credits_text( time_step ); + if (getparam_ui_snow()) { + update_ui_snow( time_step, False ); + draw_ui_snow(); + } + ui_draw_menu_decorations(); + + ui_draw(); reshape( width, height ); |