Tic: Difference between revisions
Jump to navigation
Jump to search
Created page with "A '''tic''' is each time unit in-game. By default 1 second equals 30 tics. From the original source code: #define TICRATE (120) #define TICSPERFRAME (TICRATE/26) Because of..." |
mNo edit summary |
||
Line 2: | Line 2: | ||
From the original source code: | From the original source code: | ||
// this used to be TICRATE/GAMETICSPERSEC, which was 120/26 = 4.615~ truncated to 4 by integer division | |||
#define TICSPERFRAME | #define TICSPERFRAME 4 | ||
#define TICRATE 120 |
Revision as of 19:13, 31 May 2012
A tic is each time unit in-game. By default 1 second equals 30 tics.
From the original source code:
// this used to be TICRATE/GAMETICSPERSEC, which was 120/26 = 4.615~ truncated to 4 by integer division #define TICSPERFRAME 4 #define TICRATE 120