Fix compile error with ai_restore_state and include necessary ogl_init.h in state.c (whoops)
This commit is contained in:
parent
e7b5721797
commit
31413b59df
|
@ -1,5 +1,9 @@
|
|||
D1X-Rebirth Changelog
|
||||
|
||||
20090911
|
||||
--------
|
||||
main/ai.c, main/ai.h, main/state.c: Fix compile error with ai_restore_state and include necessary ogl_init.h in state.c (whoops)
|
||||
|
||||
20090909
|
||||
--------
|
||||
d1x-rebirth.xcodeproj/project.pbxproj, utilities/extractD1Data.cpp, utilities/SConstruct: Add program for extracting Mac data files from installer
|
||||
|
|
|
@ -3338,7 +3338,7 @@ int ai_save_state(PHYSFS_file *fp)
|
|||
return 1;
|
||||
}
|
||||
|
||||
int ai_restore_state(PHYSFS_file *fp, int version)
|
||||
int ai_restore_state(PHYSFS_file *fp)
|
||||
{
|
||||
PHYSFS_read(fp, &Ai_initialized, sizeof(int), 1);
|
||||
PHYSFS_read(fp, &Overall_agitation, sizeof(int), 1);
|
||||
|
|
|
@ -97,6 +97,6 @@ extern int Boss_been_hit;
|
|||
extern fix AI_proc_time;
|
||||
|
||||
extern int ai_save_state(PHYSFS_file * fp);
|
||||
extern int ai_restore_state(PHYSFS_file *fp, int version);
|
||||
extern int ai_restore_state(PHYSFS_file *fp);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -60,8 +60,9 @@ COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
|
|||
#include "ai.h"
|
||||
#include "state.h"
|
||||
#include "multi.h"
|
||||
#ifdef OGL
|
||||
#include "gr.h"
|
||||
#ifdef OGL
|
||||
#include "ogl_init.h"
|
||||
#endif
|
||||
#include "physfsx.h"
|
||||
|
||||
|
|
Loading…
Reference in a new issue