MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / SGSTriggers

Function SGSTriggers

Descent3/gamesave.cpp:957–969  ·  view source on GitHub ↗

saves out triggers

Source from the content-addressed store, hash-verified

955
956// saves out triggers
957void SGSTriggers(CFILE *fp) {
958 int i;
959
960 gs_WriteShort(fp, (int16_t)Num_triggers);
961
962 for (i = 0; i < Num_triggers; i++) {
963 gs_WriteShort(fp, Triggers[i].flags);
964 gs_WriteShort(fp, Triggers[i].activator);
965
966 // write script info
967 //@@ SGSScript(fp, &Triggers[i].script);
968 }
969}
970
971// players
972void SGSPlayers(CFILE *fp) {

Callers 2

SaveGameStateFunction · 0.85
DemoWriteHeaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected