Editing Tic
From DoomWiki.org
Your changes will be displayed to readers once an authorized user accepts them. (help) |
Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 26: | Line 26: | ||
} ticcmd_t; | } ticcmd_t; | ||
− | The function <tt>G_BuildTiccmd</tt> in <tt>g_game.c</tt> fills a ticcmd_t structure based on the keyboard, mouse and joystick states. It uses the state of the "run" control and the " | + | The function <tt>G_BuildTiccmd</tt> in <tt>g_game.c</tt> fills a ticcmd_t structure based on the keyboard, mouse and joystick states. It uses the state of the "run" control and the "strafe on" controls to properly interpret the other controls. |
* '''forwardmove''' and '''sidemove''' record the signed net total of the various forward/backward and right/left controls (each total limited to no more than 50 and no less than -50). | * '''forwardmove''' and '''sidemove''' record the signed net total of the various forward/backward and right/left controls (each total limited to no more than 50 and no less than -50). | ||
− | * '''angleturn''' records the net total | + | * '''angleturn''' records the signed net total of turning motion controls. |
− | * '''consistancy''' ( | + | * '''consistancy''' (spelled incorrectly, but as in the source code) is normally the player's x-position, and is used to confirm that network games are in sync. |
* '''chatchar''' can be a character to be added to the interplayer message area on the [[heads-up display]]. | * '''chatchar''' can be a character to be added to the interplayer message area on the [[heads-up display]]. | ||
* '''buttons''' encodes the following actions: attack, use, change weapon (including new weapon number), pause, and save game (including savegame slot number). | * '''buttons''' encodes the following actions: attack, use, change weapon (including new weapon number), pause, and save game (including savegame slot number). | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==See also== | ==See also== |