mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-13 00:24:44 +00:00
game: savegame sort fields
This commit is contained in:
parent
d88732f8da
commit
f95ca59717
3 changed files with 91 additions and 91 deletions
|
@ -26,10 +26,10 @@
|
||||||
* =======================================================================
|
* =======================================================================
|
||||||
*/
|
*/
|
||||||
|
|
||||||
{"pers.weapon", CLOFS(pers.weapon), F_ITEM},
|
|
||||||
{"pers.lastweapon", CLOFS(pers.lastweapon), F_ITEM},
|
|
||||||
{"newweapon", CLOFS(newweapon), F_ITEM},
|
{"newweapon", CLOFS(newweapon), F_ITEM},
|
||||||
{"owned_sphere", CLOFS(owned_sphere), F_EDICT},
|
{"owned_sphere", CLOFS(owned_sphere), F_EDICT},
|
||||||
{"resp.coop_respawn.weapon", CLOFS(resp.coop_respawn.weapon), F_ITEM, 0, 3},
|
{"pers.lastweapon", CLOFS(pers.lastweapon), F_ITEM},
|
||||||
|
{"pers.weapon", CLOFS(pers.weapon), F_ITEM},
|
||||||
{"resp.coop_respawn.lastweapon", CLOFS(resp.coop_respawn.lastweapon), F_ITEM, 0, 3},
|
{"resp.coop_respawn.lastweapon", CLOFS(resp.coop_respawn.lastweapon), F_ITEM, 0, 3},
|
||||||
|
{"resp.coop_respawn.weapon", CLOFS(resp.coop_respawn.weapon), F_ITEM, 0, 3},
|
||||||
{NULL, 0, F_INT, 0}
|
{NULL, 0, F_INT, 0}
|
||||||
|
|
|
@ -26,98 +26,98 @@
|
||||||
* =======================================================================
|
* =======================================================================
|
||||||
*/
|
*/
|
||||||
|
|
||||||
{"classname", FOFS(classname), F_LSTRING},
|
|
||||||
{"model", FOFS(model), F_LSTRING},
|
|
||||||
{"spawnflags", FOFS(spawnflags), F_INT},
|
|
||||||
{"speed", FOFS(speed), F_FLOAT},
|
|
||||||
{"accel", FOFS(accel), F_FLOAT},
|
{"accel", FOFS(accel), F_FLOAT},
|
||||||
{"decel", FOFS(decel), F_FLOAT},
|
|
||||||
{"target", FOFS(target), F_LSTRING},
|
|
||||||
{"targetname", FOFS(targetname), F_LSTRING},
|
|
||||||
{"pathtarget", FOFS(pathtarget), F_LSTRING},
|
|
||||||
{"deathtarget", FOFS(deathtarget), F_LSTRING},
|
|
||||||
{"killtarget", FOFS(killtarget), F_LSTRING},
|
|
||||||
{"combattarget", FOFS(combattarget), F_LSTRING},
|
|
||||||
{"message", FOFS(message), F_LSTRING},
|
|
||||||
{"team", FOFS(team), F_LSTRING},
|
|
||||||
{"wait", FOFS(wait), F_FLOAT},
|
|
||||||
{"delay", FOFS(delay), F_FLOAT},
|
|
||||||
{"random", FOFS(random), F_FLOAT},
|
|
||||||
{"move_origin", FOFS(move_origin), F_VECTOR},
|
|
||||||
{"move_angles", FOFS(move_angles), F_VECTOR},
|
|
||||||
{"style", FOFS(style), F_INT},
|
|
||||||
{"count", FOFS(count), F_INT},
|
|
||||||
{"health", FOFS(health), F_INT},
|
|
||||||
{"sounds", FOFS(sounds), F_INT},
|
|
||||||
{"light", 0, F_IGNORE},
|
|
||||||
{"dmg", FOFS(dmg), F_INT},
|
|
||||||
{"mass", FOFS(mass), F_INT},
|
|
||||||
{"volume", FOFS(volume), F_FLOAT},
|
|
||||||
{"attenuation", FOFS(attenuation), F_FLOAT},
|
|
||||||
{"map", FOFS(map), F_LSTRING},
|
|
||||||
{"origin", FOFS(s.origin), F_VECTOR},
|
|
||||||
{"angles", FOFS(s.angles), F_VECTOR},
|
|
||||||
{"angle", FOFS(s.angles), F_ANGLEHACK},
|
|
||||||
{"goalentity", FOFS(goalentity), F_EDICT, FFL_NOSPAWN},
|
|
||||||
{"movetarget", FOFS(movetarget), F_EDICT, FFL_NOSPAWN},
|
|
||||||
{"enemy", FOFS(enemy), F_EDICT, FFL_NOSPAWN},
|
|
||||||
{"oldenemy", FOFS(oldenemy), F_EDICT, FFL_NOSPAWN},
|
|
||||||
{"activator", FOFS(activator), F_EDICT, FFL_NOSPAWN},
|
{"activator", FOFS(activator), F_EDICT, FFL_NOSPAWN},
|
||||||
{"groundentity", FOFS(groundentity), F_EDICT, FFL_NOSPAWN},
|
{"angle", FOFS(s.angles), F_ANGLEHACK},
|
||||||
{"teamchain", FOFS(teamchain), F_EDICT, FFL_NOSPAWN},
|
{"angles", FOFS(s.angles), F_VECTOR},
|
||||||
{"teammaster", FOFS(teammaster), F_EDICT, FFL_NOSPAWN},
|
|
||||||
{"owner", FOFS(owner), F_EDICT, FFL_NOSPAWN},
|
|
||||||
{"mynoise", FOFS(mynoise), F_EDICT, FFL_NOSPAWN},
|
|
||||||
{"mynoise2", FOFS(mynoise2), F_EDICT, FFL_NOSPAWN},
|
|
||||||
{"target_ent", FOFS(target_ent), F_EDICT, FFL_NOSPAWN},
|
|
||||||
{"chain", FOFS(chain), F_EDICT, FFL_NOSPAWN},
|
|
||||||
{"prethink", FOFS(prethink), F_FUNCTION, FFL_NOSPAWN},
|
|
||||||
{"think", FOFS(think), F_FUNCTION, FFL_NOSPAWN},
|
|
||||||
{"blocked", FOFS(blocked), F_FUNCTION, FFL_NOSPAWN},
|
|
||||||
{"touch", FOFS(touch), F_FUNCTION, FFL_NOSPAWN},
|
|
||||||
{"use", FOFS(use), F_FUNCTION, FFL_NOSPAWN},
|
|
||||||
{"pain", FOFS(pain), F_FUNCTION, FFL_NOSPAWN},
|
|
||||||
{"die", FOFS(die), F_FUNCTION, FFL_NOSPAWN},
|
|
||||||
{"stand", FOFS(monsterinfo.stand), F_FUNCTION, FFL_NOSPAWN},
|
|
||||||
{"idle", FOFS(monsterinfo.idle), F_FUNCTION, FFL_NOSPAWN},
|
|
||||||
{"search", FOFS(monsterinfo.search), F_FUNCTION, FFL_NOSPAWN},
|
|
||||||
{"walk", FOFS(monsterinfo.walk), F_FUNCTION, FFL_NOSPAWN},
|
|
||||||
{"run", FOFS(monsterinfo.run), F_FUNCTION, FFL_NOSPAWN},
|
|
||||||
{"dodge", FOFS(monsterinfo.dodge), F_FUNCTION, FFL_NOSPAWN},
|
|
||||||
{"attack", FOFS(monsterinfo.attack), F_FUNCTION, FFL_NOSPAWN},
|
{"attack", FOFS(monsterinfo.attack), F_FUNCTION, FFL_NOSPAWN},
|
||||||
{"melee", FOFS(monsterinfo.melee), F_FUNCTION, FFL_NOSPAWN},
|
{"attenuation", FOFS(attenuation), F_FLOAT},
|
||||||
{"sight", FOFS(monsterinfo.sight), F_FUNCTION, FFL_NOSPAWN},
|
|
||||||
{"checkattack", FOFS(monsterinfo.checkattack), F_FUNCTION, FFL_NOSPAWN},
|
|
||||||
{"currentmove", FOFS(monsterinfo.currentmove), F_MMOVE, FFL_NOSPAWN},
|
|
||||||
{"endfunc", FOFS(moveinfo.endfunc), F_FUNCTION, FFL_NOSPAWN},
|
|
||||||
{"lip", STOFS(lip), F_INT, FFL_SPAWNTEMP},
|
|
||||||
{"distance", STOFS(distance), F_INT, FFL_SPAWNTEMP},
|
|
||||||
{"height", STOFS(height), F_INT, FFL_SPAWNTEMP},
|
|
||||||
{"noise", STOFS(noise), F_LSTRING, FFL_SPAWNTEMP},
|
|
||||||
{"pausetime", STOFS(pausetime), F_FLOAT, FFL_SPAWNTEMP},
|
|
||||||
{"item", STOFS(item), F_LSTRING, FFL_SPAWNTEMP},
|
|
||||||
{"item", FOFS(item), F_ITEM},
|
|
||||||
{"gravity", STOFS(gravity), F_LSTRING, FFL_SPAWNTEMP},
|
|
||||||
{"sky", STOFS(sky), F_LSTRING, FFL_SPAWNTEMP},
|
|
||||||
{"skyrotate", STOFS(skyrotate), F_FLOAT, FFL_SPAWNTEMP},
|
|
||||||
{"skyautorotate", STOFS(skyautorotate), F_INT, FFL_SPAWNTEMP},
|
|
||||||
{"skyaxis", STOFS(skyaxis), F_VECTOR, FFL_SPAWNTEMP},
|
|
||||||
{"minyaw", STOFS(minyaw), F_FLOAT, FFL_SPAWNTEMP},
|
|
||||||
{"maxyaw", STOFS(maxyaw), F_FLOAT, FFL_SPAWNTEMP},
|
|
||||||
{"minpitch", STOFS(minpitch), F_FLOAT, FFL_SPAWNTEMP},
|
|
||||||
{"maxpitch", STOFS(maxpitch), F_FLOAT, FFL_SPAWNTEMP},
|
|
||||||
{"nextmap", STOFS(nextmap), F_LSTRING, FFL_SPAWNTEMP},
|
|
||||||
{"bad_area", FOFS(bad_area), F_EDICT},
|
|
||||||
{"hint_chain", FOFS(hint_chain), F_EDICT},
|
|
||||||
{"monster_hint_chain", FOFS(monster_hint_chain), F_EDICT},
|
|
||||||
{"target_hint_chain", FOFS(target_hint_chain), F_EDICT},
|
|
||||||
{"goal_hint", FOFS(monsterinfo.goal_hint), F_EDICT},
|
|
||||||
{"badMedic1", FOFS(monsterinfo.badMedic1), F_EDICT},
|
{"badMedic1", FOFS(monsterinfo.badMedic1), F_EDICT},
|
||||||
{"badMedic2", FOFS(monsterinfo.badMedic2), F_EDICT},
|
{"badMedic2", FOFS(monsterinfo.badMedic2), F_EDICT},
|
||||||
{"last_player_enemy", FOFS(monsterinfo.last_player_enemy), F_EDICT},
|
{"bad_area", FOFS(bad_area), F_EDICT},
|
||||||
{"commander", FOFS(monsterinfo.commander), F_EDICT},
|
{"blocked", FOFS(blocked), F_FUNCTION, FFL_NOSPAWN},
|
||||||
{"blocked", FOFS(monsterinfo.blocked), F_FUNCTION, FFL_NOSPAWN},
|
{"blocked", FOFS(monsterinfo.blocked), F_FUNCTION, FFL_NOSPAWN},
|
||||||
|
{"chain", FOFS(chain), F_EDICT, FFL_NOSPAWN},
|
||||||
|
{"checkattack", FOFS(monsterinfo.checkattack), F_FUNCTION, FFL_NOSPAWN},
|
||||||
|
{"classname", FOFS(classname), F_LSTRING},
|
||||||
|
{"combattarget", FOFS(combattarget), F_LSTRING},
|
||||||
|
{"commander", FOFS(monsterinfo.commander), F_EDICT},
|
||||||
|
{"count", FOFS(count), F_INT},
|
||||||
|
{"currentmove", FOFS(monsterinfo.currentmove), F_MMOVE, FFL_NOSPAWN},
|
||||||
|
{"deathtarget", FOFS(deathtarget), F_LSTRING},
|
||||||
|
{"decel", FOFS(decel), F_FLOAT},
|
||||||
|
{"delay", FOFS(delay), F_FLOAT},
|
||||||
|
{"die", FOFS(die), F_FUNCTION, FFL_NOSPAWN},
|
||||||
|
{"distance", STOFS(distance), F_INT, FFL_SPAWNTEMP},
|
||||||
|
{"dmg", FOFS(dmg), F_INT},
|
||||||
|
{"dodge", FOFS(monsterinfo.dodge), F_FUNCTION, FFL_NOSPAWN},
|
||||||
{"duck", FOFS(monsterinfo.duck), F_FUNCTION, FFL_NOSPAWN},
|
{"duck", FOFS(monsterinfo.duck), F_FUNCTION, FFL_NOSPAWN},
|
||||||
{"unduck", FOFS(monsterinfo.unduck), F_FUNCTION, FFL_NOSPAWN},
|
{"endfunc", FOFS(moveinfo.endfunc), F_FUNCTION, FFL_NOSPAWN},
|
||||||
|
{"enemy", FOFS(enemy), F_EDICT, FFL_NOSPAWN},
|
||||||
|
{"goal_hint", FOFS(monsterinfo.goal_hint), F_EDICT},
|
||||||
|
{"goalentity", FOFS(goalentity), F_EDICT, FFL_NOSPAWN},
|
||||||
|
{"gravity", STOFS(gravity), F_LSTRING, FFL_SPAWNTEMP},
|
||||||
|
{"groundentity", FOFS(groundentity), F_EDICT, FFL_NOSPAWN},
|
||||||
|
{"health", FOFS(health), F_INT},
|
||||||
|
{"height", STOFS(height), F_INT, FFL_SPAWNTEMP},
|
||||||
|
{"hint_chain", FOFS(hint_chain), F_EDICT},
|
||||||
|
{"idle", FOFS(monsterinfo.idle), F_FUNCTION, FFL_NOSPAWN},
|
||||||
|
{"item", FOFS(item), F_ITEM},
|
||||||
|
{"item", STOFS(item), F_LSTRING, FFL_SPAWNTEMP},
|
||||||
|
{"killtarget", FOFS(killtarget), F_LSTRING},
|
||||||
|
{"last_player_enemy", FOFS(monsterinfo.last_player_enemy), F_EDICT},
|
||||||
|
{"light", 0, F_IGNORE},
|
||||||
|
{"lip", STOFS(lip), F_INT, FFL_SPAWNTEMP},
|
||||||
|
{"map", FOFS(map), F_LSTRING},
|
||||||
|
{"mass", FOFS(mass), F_INT},
|
||||||
|
{"maxpitch", STOFS(maxpitch), F_FLOAT, FFL_SPAWNTEMP},
|
||||||
|
{"maxyaw", STOFS(maxyaw), F_FLOAT, FFL_SPAWNTEMP},
|
||||||
|
{"melee", FOFS(monsterinfo.melee), F_FUNCTION, FFL_NOSPAWN},
|
||||||
|
{"message", FOFS(message), F_LSTRING},
|
||||||
|
{"minpitch", STOFS(minpitch), F_FLOAT, FFL_SPAWNTEMP},
|
||||||
|
{"minyaw", STOFS(minyaw), F_FLOAT, FFL_SPAWNTEMP},
|
||||||
|
{"model", FOFS(model), F_LSTRING},
|
||||||
|
{"monster_hint_chain", FOFS(monster_hint_chain), F_EDICT},
|
||||||
|
{"move_angles", FOFS(move_angles), F_VECTOR},
|
||||||
|
{"move_origin", FOFS(move_origin), F_VECTOR},
|
||||||
|
{"movetarget", FOFS(movetarget), F_EDICT, FFL_NOSPAWN},
|
||||||
|
{"mynoise", FOFS(mynoise), F_EDICT, FFL_NOSPAWN},
|
||||||
|
{"mynoise2", FOFS(mynoise2), F_EDICT, FFL_NOSPAWN},
|
||||||
|
{"nextmap", STOFS(nextmap), F_LSTRING, FFL_SPAWNTEMP},
|
||||||
|
{"noise", STOFS(noise), F_LSTRING, FFL_SPAWNTEMP},
|
||||||
|
{"oldenemy", FOFS(oldenemy), F_EDICT, FFL_NOSPAWN},
|
||||||
|
{"origin", FOFS(s.origin), F_VECTOR},
|
||||||
|
{"owner", FOFS(owner), F_EDICT, FFL_NOSPAWN},
|
||||||
|
{"pain", FOFS(pain), F_FUNCTION, FFL_NOSPAWN},
|
||||||
|
{"pathtarget", FOFS(pathtarget), F_LSTRING},
|
||||||
|
{"pausetime", STOFS(pausetime), F_FLOAT, FFL_SPAWNTEMP},
|
||||||
|
{"prethink", FOFS(prethink), F_FUNCTION, FFL_NOSPAWN},
|
||||||
|
{"random", FOFS(random), F_FLOAT},
|
||||||
|
{"run", FOFS(monsterinfo.run), F_FUNCTION, FFL_NOSPAWN},
|
||||||
|
{"search", FOFS(monsterinfo.search), F_FUNCTION, FFL_NOSPAWN},
|
||||||
{"sidestep", FOFS(monsterinfo.sidestep), F_FUNCTION, FFL_NOSPAWN},
|
{"sidestep", FOFS(monsterinfo.sidestep), F_FUNCTION, FFL_NOSPAWN},
|
||||||
|
{"sight", FOFS(monsterinfo.sight), F_FUNCTION, FFL_NOSPAWN},
|
||||||
|
{"sky", STOFS(sky), F_LSTRING, FFL_SPAWNTEMP},
|
||||||
|
{"skyautorotate", STOFS(skyautorotate), F_INT, FFL_SPAWNTEMP},
|
||||||
|
{"skyaxis", STOFS(skyaxis), F_VECTOR, FFL_SPAWNTEMP},
|
||||||
|
{"skyrotate", STOFS(skyrotate), F_FLOAT, FFL_SPAWNTEMP},
|
||||||
|
{"sounds", FOFS(sounds), F_INT},
|
||||||
|
{"spawnflags", FOFS(spawnflags), F_INT},
|
||||||
|
{"speed", FOFS(speed), F_FLOAT},
|
||||||
|
{"stand", FOFS(monsterinfo.stand), F_FUNCTION, FFL_NOSPAWN},
|
||||||
|
{"style", FOFS(style), F_INT},
|
||||||
|
{"target", FOFS(target), F_LSTRING},
|
||||||
|
{"target_ent", FOFS(target_ent), F_EDICT, FFL_NOSPAWN},
|
||||||
|
{"target_hint_chain", FOFS(target_hint_chain), F_EDICT},
|
||||||
|
{"targetname", FOFS(targetname), F_LSTRING},
|
||||||
|
{"team", FOFS(team), F_LSTRING},
|
||||||
|
{"teamchain", FOFS(teamchain), F_EDICT, FFL_NOSPAWN},
|
||||||
|
{"teammaster", FOFS(teammaster), F_EDICT, FFL_NOSPAWN},
|
||||||
|
{"think", FOFS(think), F_FUNCTION, FFL_NOSPAWN},
|
||||||
|
{"touch", FOFS(touch), F_FUNCTION, FFL_NOSPAWN},
|
||||||
|
{"unduck", FOFS(monsterinfo.unduck), F_FUNCTION, FFL_NOSPAWN},
|
||||||
|
{"use", FOFS(use), F_FUNCTION, FFL_NOSPAWN},
|
||||||
|
{"volume", FOFS(volume), F_FLOAT},
|
||||||
|
{"wait", FOFS(wait), F_FLOAT},
|
||||||
|
{"walk", FOFS(monsterinfo.walk), F_FUNCTION, FFL_NOSPAWN},
|
||||||
{0, 0, 0, 0}
|
{0, 0, 0, 0}
|
||||||
|
|
|
@ -28,9 +28,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
{"changemap", LLOFS(changemap), F_LSTRING},
|
{"changemap", LLOFS(changemap), F_LSTRING},
|
||||||
|
{"disguise_violator", LLOFS(disguise_violator), F_EDICT},
|
||||||
{"sight_client", LLOFS(sight_client), F_EDICT},
|
{"sight_client", LLOFS(sight_client), F_EDICT},
|
||||||
{"sight_entity", LLOFS(sight_entity), F_EDICT},
|
{"sight_entity", LLOFS(sight_entity), F_EDICT},
|
||||||
{"sound_entity", LLOFS(sound_entity), F_EDICT},
|
|
||||||
{"sound2_entity", LLOFS(sound2_entity), F_EDICT},
|
{"sound2_entity", LLOFS(sound2_entity), F_EDICT},
|
||||||
{"disguise_violator", LLOFS(disguise_violator), F_EDICT},
|
{"sound_entity", LLOFS(sound_entity), F_EDICT},
|
||||||
{NULL, 0, F_INT}
|
{NULL, 0, F_INT}
|
||||||
|
|
Loading…
Reference in a new issue