{strVHICOFS(m_pPilot), F_GENTITY}, {strVHICOFS(m_pOldPilot), F_GENTITY}, {strVHICOFS(m_pDroidUnit), F_GENTITY}, {strVHICOFS(m_pParentEntity), F_GENTITY}, //m_ppPassengers //!ptr array?! {strVHICOFS(m_pVehicleInfo), F_VEHINFO}, //!another ptr! store name field instead and re-hook on load? {NULL, 0, F_IGNORE} }; static const save_field_t savefields_gClient[] = { // sabers are stomped over by specific code elsewhere, it seems, but the first two fields MUST be saved // or it crashes on reload {strCLOFS(ps.saber[0].name),F_STRING}, /* {strCLOFS(ps.saber[0].model),F_STRING}, {strCLOFS(ps.saber[0].skin),F_STRING}, {strCLOFS(ps.saber[0].brokenSaber1),F_STRING}, {strCLOFS(ps.saber[0].brokenSaber2),F_STRING}, */ {strCLOFS(ps.saber[1].name),F_STRING}, /* {strCLOFS(ps.saber[1].model),F_STRING}, {strCLOFS(ps.saber[1].skin),F_STRING}, {strCLOFS(ps.saber[1].brokenSaber1),F_STRING}, {strCLOFS(ps.saber[1].brokenSaber2),F_STRING}, */ {strCLOFS(leader), F_GENTITY}, {strCLOFS(clientInfo.customBasicSoundDir),F_STRING}, {strCLOFS(clientInfo.customCombatSoundDir),F_STRING}, {strCLOFS(clientInfo.customExtraSoundDir),F_STRING},
// private to game ok clientPersistant_t pers; ok clientSession_t sess; ok usercmd_t usercmd; // most recent usercmd //Client info - updated when ClientInfoChanged is called, instead of using configstrings ok clientInfo_t clientInfo; ok renderInfo_t renderInfo; }; */ // I'll keep a blank one for now in case I need to add anything... // field_t savefields_gClient[] = { {strCLOFS(ps.saberModel), F_STRING}, {strCLOFS(squadname), F_STRING}, {strCLOFS(team_leader), F_GENTITY}, {strCLOFS(leader), F_GENTITY}, {strCLOFS(follower), F_GENTITY}, {strCLOFS(formationGoal), F_GENTITY}, {strCLOFS(clientInfo.customBasicSoundDir),F_STRING}, {strCLOFS(clientInfo.customCombatSoundDir),F_STRING}, {strCLOFS(clientInfo.customExtraSoundDir),F_STRING}, {strCLOFS(clientInfo.customJediSoundDir),F_STRING}, {NULL, 0, F_IGNORE} }; list<sstring_t> strList;