mirror of
https://git.code.sf.net/p/quake/quake2forge
synced 2024-12-12 13:42:21 +00:00
- 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:
parent
5ce536142f
commit
6879113806
3 changed files with 5 additions and 0 deletions
1
TODO
1
TODO
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue