Quake 2 Oop Conversion Project - Source Diff 3.05 vs 3.14 - game.h
diff -s -r q2_305/game.h q2_314/game.h
Left File < - 3.05/game.h
Right File > - 3.14/game.h
Back to Index
4c4
< #define GAME_API_VERSION 1

---
> #define GAME_API_VERSION 3
39c39
< typedef struct gclient_s
---
> struct gclient_s
45c45
< } gclient_t;
---
> };
101,102c101
< // new names can only be added during spawning
< // existing names can be looked up at any time
---
> // the *index functions create configstrings and some internal server state
148c147
< // ClientCommand and coneole command parameter checking
---
> // ClientCommand and ServerCommand parameter access
151c150
< char *(*args) (void);
---
> char *(*args) (void); // concatenation of all argv >= 1
180c179
< void (*WriteGame) (char *filename);
---
> void (*WriteGame) (char *filename, qboolean autosave);
184,185c183
< // loaded with SpawnEntities, so any stored client spawn spots will
< // be used when the clients reconnect.
---
> // loaded with SpawnEntities
189,190c187,188
< qboolean (*ClientConnect) (edict_t *ent, char *userinfo, qboolean loadgame);
< void (*ClientBegin) (edict_t *ent, qboolean loadgame);
---
> qboolean (*ClientConnect) (edict_t *ent, char *userinfo);
> void (*ClientBegin) (edict_t *ent);
196a195,200
>
> // ServerCommand will be called when an "sv <command>" command is issued on the
> // server console.
> // The game can issue gi.argc() / gi.argv() commands to get the rest
> // of the parameters
> void (*ServerCommand) (void);