MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / Clear

Method Clear

neo/framework/Session.cpp:325–375  ·  view source on GitHub ↗

=============== idSessionLocal::Clear =============== */

Source from the content-addressed store, hash-verified

323===============
324*/
325void idSessionLocal::Clear() {
326
327 insideUpdateScreen = false;
328 insideExecuteMapChange = false;
329
330 loadingSaveGame = false;
331 savegameFile = NULL;
332 savegameVersion = 0;
333
334 currentMapName.Clear();
335 aviDemoShortName.Clear();
336 msgFireBack[ 0 ].Clear();
337 msgFireBack[ 1 ].Clear();
338
339 timeHitch = 0;
340
341 rw = NULL;
342 sw = NULL;
343 menuSoundWorld = NULL;
344 readDemo = NULL;
345 writeDemo = NULL;
346 renderdemoVersion = 0;
347 cmdDemoFile = NULL;
348
349 syncNextGameFrame = false;
350 mapSpawned = false;
351 guiActive = NULL;
352 aviCaptureMode = false;
353 timeDemo = TD_NO;
354 waitingOnBind = false;
355 lastPacifierTime = 0;
356
357 msgRunning = false;
358 guiMsgRestore = NULL;
359 msgIgnoreButtons = false;
360
361 bytesNeededForMapLoad = 0;
362
363#if ID_CONSOLE_LOCK
364 emptyDrawCount = 0;
365#endif
366 ClearWipe();
367
368 loadGameList.Clear();
369 modsList.Clear();
370
371 authEmitTimeout = 0;
372 authWaitBox = false;
373
374 authMsg.Clear();
375}
376
377/*
378===============

Callers 5

ShutdownMethod · 0.45
StartNewGameMethod · 0.45
ExecuteMapChangeMethod · 0.45
ScrubSaveGameFileNameMethod · 0.45
LoadGameMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected