Fix saved games a little. Should no longer cause issues with hexen2,ad,etc.
Fix black lightmaps in h2mp. Fix missing tinyfont in hexen2. Added the drop part of drag+drop to x11. Hopefully fixed x11 clipboard issues. Hidden some annoying developer prints under developer 2. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5298 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
3fb88f2ec2
commit
0980455e10
31 changed files with 866 additions and 272 deletions
|
@ -8,8 +8,6 @@
|
|||
//=============================================================================
|
||||
/* LOAD/SAVE MENU */
|
||||
|
||||
#define FTESAVEGAME_VERSION 25000
|
||||
|
||||
typedef struct {
|
||||
int issave;
|
||||
int cursorpos;
|
||||
|
@ -61,7 +59,7 @@ static void M_ScanSave(unsigned int slot, const char *name, qboolean savable)
|
|||
{
|
||||
VFS_GETS(f, line, sizeof(line));
|
||||
version = atoi(line);
|
||||
if (version != 5 && version != 6 && (version < FTESAVEGAME_VERSION || version >= FTESAVEGAME_VERSION+GT_MAX))
|
||||
if (version != SAVEGAME_VERSION_NQ && version != SAVEGAME_VERSION_QW && version != SAVEGAME_VERSION_FTE_LEG && (version < SAVEGAME_VERSION_FTE_HUB || version >= SAVEGAME_VERSION_FTE_HUB+GT_MAX))
|
||||
{
|
||||
Q_strncpyz (m_saves[slot].desc, "Incompatible version", sizeof(m_saves[slot].desc));
|
||||
VFS_CLOSE (f);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue