Game Loop description


while moveloop returns non-zero, call it again...

Check for EOL and RESTART and process

Cheats()

nonsharedkeys()
These are buttons/keys that are only local (they are not 'shared' between machines.  Examples include map view, map zoom, chaning view, etc.

displayrooms
displayrest

checksync

nextpage

restart loop



MoveLoop()

if players >1, then take stuff out of queue and process by fakedomovethings

Get network packets

process all movement by 'real' domovethings



domovethings

FOR EACH PLAYER:

Process network packet for this frame.


user_qoute times are decremented

for each player: Cheatkeys()

If not paused: processinupt(), then checksectors()


Then, for each player,

movefta();//ST 2
moveweapons();          //ST 5 (must be last)
movetransports();       //ST 9

moveplayers();          //ST 10
movefallers();          //ST 12
moveexplosions();       //ST 4

moveactors();           //ST 1
moveeffectors();        //ST 3

movestandables();       //ST 6
doanimations();
movefx();               //ST 11


fakedomovethingscorrect()

everyother frame:
animatewalls
mvoecyclers
pan3dsounds
