[Scummvm-cvs-logs] CVS: scummvm/dc selector.cpp,1.8,1.9
Marcus Comstedt
marcus_c at users.sourceforge.net
Sat Mar 16 10:43:02 CET 2002
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/dc dcmain.cpp,1.6,1.7 dc.h,1.3,1.4 selector.cpp,1.7,1.8
- Next message: [Scummvm-cvs-logs] CVS: scummvm object.cpp,1.43,1.44 resource.cpp,1.54,1.55 scumm.h,1.86,1.87 scummsys.h,1.23,1.24 scummvm.cpp,1.84,1.85 sound.h,1.7,1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/dc
In directory usw-pr-cvs1:/tmp/cvs-serv4579
Modified Files:
selector.cpp
Log Message:
Minor gfx bugfix.
Index: selector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/dc/selector.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** selector.cpp 16 Mar 2002 18:13:30 -0000 1.8
--- selector.cpp 16 Mar 2002 18:42:28 -0000 1.9
***************
*** 245,248 ****
--- 245,254 ----
}
checkName(s, games[curr_game]);
+ #if 0
+ printf("Registered game <%s> in <%s> <%s> because of <%s> <%s>\n",
+ games[curr_game].text, games[curr_game].dir,
+ games[curr_game].filename_base,
+ dirs[curr_dir-1].name, entry->d_name);
+ #endif
curr_game++;
}
***************
*** 277,281 ****
void *mark = ta_txmark();
lab.create_texture("Please insert game CD.");
! printf("waitForDisk, cdstate = %d\n", getCdState());
for(;;) {
int s = getCdState();
--- 283,287 ----
void *mark = ta_txmark();
lab.create_texture("Please insert game CD.");
! //printf("waitForDisk, cdstate = %d\n", getCdState());
for(;;) {
int s = getCdState();
***************
*** 380,388 ****
if(fade < 256)
! for(int i=top_game, cnt=0; cnt<10 && i<num_games; i++, cnt++)
! if(cnt != selector_pos) {
drawGameLabel(games[i], 48+(i&15), 50.0, y, 0xffffff, fade);
- y += 40.0;
- }
y = (40.0/256.0 * (selector_pos + 1))*(256-fade) + 80.0/256.0*fade;
--- 386,393 ----
if(fade < 256)
! for(int i=top_game, cnt=0; cnt<10 && i<num_games;
! i++, cnt++, y += 40.0)
! if(cnt != selector_pos)
drawGameLabel(games[i], 48+(i&15), 50.0, y, 0xffffff, fade);
y = (40.0/256.0 * (selector_pos + 1))*(256-fade) + 80.0/256.0*fade;
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/dc dcmain.cpp,1.6,1.7 dc.h,1.3,1.4 selector.cpp,1.7,1.8
- Next message: [Scummvm-cvs-logs] CVS: scummvm object.cpp,1.43,1.44 resource.cpp,1.54,1.55 scumm.h,1.86,1.87 scummsys.h,1.23,1.24 scummvm.cpp,1.84,1.85 sound.h,1.7,1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list