- Updated TODO list

- commented out savegame check, which lets you use old
  savegames.  I'm not closing the bug, as I'm not convinced
  it was this easy -- if the game data changes, then the
  savegame data is invalidated, so in theory one should
  check for game data version instead of binary version.
This commit is contained in:
Jamie Wilkinson 2002-04-26 02:52:53 +00:00
parent 5ce536142f
commit 6879113806
3 changed files with 5 additions and 0 deletions

1
TODO
View file

@ -10,3 +10,4 @@
- the video refresher loader code in src/vid_menu.c needs cleaning up, it's - the video refresher loader code in src/vid_menu.c needs cleaning up, it's
utter bollocks at the moment. all the structs are very fragile, depending utter bollocks at the moment. all the structs are very fragile, depending
on specific ordering of each element. on specific ordering of each element.
- fix va_list as per http://gozer.quakeforge.net/list-archives/quakeforge-cvs/2002-April/000151.html, http://www.quakeforge.net/cgi-bin/viewcvs.cgi/quakeforge/libs/util/dstring.c.diff?r1=1.8&r2=1.9

View file

@ -501,11 +501,13 @@ void ReadGame (char *filename)
gi.error ("Couldn't open %s", filename); gi.error ("Couldn't open %s", filename);
fread (str, sizeof(str), 1, f); fread (str, sizeof(str), 1, f);
/*
if (strcmp (str, __DATE__)) if (strcmp (str, __DATE__))
{ {
fclose (f); fclose (f);
gi.error ("Savegame from an older version.\n"); gi.error ("Savegame from an older version.\n");
} }
*/
g_edicts = gi.TagMalloc (game.maxentities * sizeof(g_edicts[0]), TAG_GAME); g_edicts = gi.TagMalloc (game.maxentities * sizeof(g_edicts[0]), TAG_GAME);
globals.edicts = g_edicts; globals.edicts = g_edicts;

View file

@ -477,11 +477,13 @@ void ReadGame (char *filename)
gi.error ("Couldn't open %s", filename); gi.error ("Couldn't open %s", filename);
fread (str, sizeof(str), 1, f); fread (str, sizeof(str), 1, f);
/*
if (strcmp (str, __DATE__)) if (strcmp (str, __DATE__))
{ {
fclose (f); fclose (f);
gi.error ("Savegame from an older version.\n"); gi.error ("Savegame from an older version.\n");
} }
*/
g_edicts = gi.TagMalloc (game.maxentities * sizeof(g_edicts[0]), TAG_GAME); g_edicts = gi.TagMalloc (game.maxentities * sizeof(g_edicts[0]), TAG_GAME);
globals.edicts = g_edicts; globals.edicts = g_edicts;