You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
92c37bd5ea
by caching global vars in local vars, the CPU keeps them in registers when looping all pixels on screen this reduce reading from RAM, which is much slower (Tron wrote this after I detected that those loops used a lot of time) Note: since the reduced time is waiting for the RAM, the actual CPU usage is not reduced. This means that it's only detectable while fast forwarding and other situations when OTTD wants to use more than 100% of the CPU time |
19 years ago | |
---|---|---|
.. | ||
cocoa_keys.h | 19 years ago | |
cocoa_v.h | 19 years ago | |
cocoa_v.m | 19 years ago | |
dedicated_v.c | 19 years ago | |
dedicated_v.h | ||
null_v.c | ||
null_v.h | ||
sdl_v.c | 19 years ago | |
sdl_v.h | ||
win32_v.c | 19 years ago | |
win32_v.h |