Editing Tic

From DoomWiki.org

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 "[[strafe]] on" controls to properly interpret the other controls.
+
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 [[angle]] of turning motion controls.
+
* '''angleturn''' records the signed net total of turning motion controls.
* '''consistancy''' (sic) is normally the player's x-position, and is used to confirm that network games are in sync.
+
* '''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).
 
==Doom 64==
 
In [[Doom 64]] a realtic is 1/30th of a second, or roughly 33.333 milliseconds.
 
 
==PSX Doom==
 
In the PlayStation versions of Doom and Final Doom, a realtic is 1/15th of a second, or roughly 66.667 milliseconds.
 
  
 
==See also==
 
==See also==

All contributions to DoomWiki.org are considered to be released under the CC BY-SA 4.0 International (see Doom Wiki:Copyrights for details). By contributing, you agree to be bound by the Terms of Use.
Your changes will be visible immediately. Please enter a summary of your changes above.

Do not submit copyrighted images or text without permission! This includes text taken from in-game codices or logbooks, or from official instruction manuals, strategy guides, and other such books.

This project is not affiliated with id Software, Raven Software, ZeniMax Media, Bethesda SoftWorks, or any other commercial software developer or publisher. Use of trademarked logos and other protected intellectual property is solely for the purpose of analysis and critical commentary on the identified products and associated fan community activity, and does not imply any endorsement by any of these organizations or their employees, past or present.

Cancel | Editing help (opens in new window)