Home
last modified time | relevance | path

Searched refs:CampaignSave (Results 1 – 5 of 5) sorted by relevance

/dports/games/cdogs-sdl/cdogs-sdl-1.0.1/src/
H A Dautosave.h51 } CampaignSave; typedef
53 void CampaignSaveInit(CampaignSave *ms);
54 bool CampaignSaveIsValid(const CampaignSave *cs);
69 void AutosaveAddCampaign(Autosave *autosave, CampaignSave *cs);
70 const CampaignSave *AutosaveGetCampaign(
72 const CampaignSave *AutosaveGetLastCampaign(const Autosave *a);
H A Dautosave.c71 void CampaignSaveInit(CampaignSave *ms) in CampaignSaveInit()
79 bool CampaignSaveIsValid(const CampaignSave *cs) in CampaignSaveIsValid()
92 CA_FOREACH(CampaignSave, m, autosave->Campaigns) in AutosaveTerminate()
201 static json_t *CreateMissionNode(CampaignSave *m) in CreateMissionNode()
222 CampaignSave m; in LoadMissionNodes()
231 CA_FOREACH(CampaignSave, m, a->Campaigns) in AddMissionNodes()
237 static CampaignSave *FindCampaign(
324 static CampaignSave *FindCampaign( in FindCampaign()
336 CA_FOREACH(CampaignSave, m, autosave->Campaigns) in FindCampaign()
354 CampaignSave ms; in AutosaveAdd()
[all …]
H A Dpassword.c63 const CampaignSave *save;
69 static void MenuCreateStart(MenuSystem *ms, const CampaignSave *save);
92 static void MenuCreateStart(MenuSystem *ms, const CampaignSave *save) in MenuCreateStart()
H A Dmainmenu.c295 const CampaignSave *cs = AutosaveGetLastCampaign(&gAutosave); in MenuCreateStart()
431 const CampaignSave *m = AutosaveGetCampaign(&gAutosave, entry->Path); in MenuCreateCampaignItem()
/dports/games/cdogs-sdl/cdogs-sdl-1.0.1/src/tests/
H A Dautosave_test.c82 CampaignSave cs1;
94 CampaignSave *cs2 = CArrayGet(&autosave2.Campaigns, 0);
110 const CampaignSave *cs = AutosaveGetCampaign(&autosave, "mission.cdogscpn");
120 CampaignSave cs1;
129 const CampaignSave *cs2 = AutosaveGetCampaign(&autosave, cs1.Campaign.Path);
138 CampaignSave cs1;
157 const CampaignSave *cs2 = AutosaveGetCampaign(&autosave, cs1.Campaign.Path);
171 CampaignSave cs1;
180 const CampaignSave *cs2 = AutosaveGetLastCampaign(&autosave);