diff options
author | tron <tron@openttd.org> | 2005-07-17 09:41:28 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-07-17 09:41:28 +0000 |
commit | 10bc66eb42bb731ecb77f8771ce10f7e91427c5f (patch) | |
tree | cdb82083e05a8aa2c0e78967b709a832fb2801d9 /misc.c | |
parent | 9ca761b06534ed191b0624a6c7049db296997a73 (diff) | |
download | openttd-10bc66eb42bb731ecb77f8771ce10f7e91427c5f.tar.xz |
(svn r2596) Add macros ROL and ROR to ROtate values Left/Right. Also shorten the parameter names for GB and SB to increase readability
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -19,11 +19,6 @@ extern void InitNewsItemStructs(void); char _name_array[512][32]; -static inline uint32 ROR(uint32 x, int n) -{ - return (x >> n) + (x << ((sizeof(x)*8)-n)); -} - #ifndef MERSENNE_TWISTER #ifdef RANDOM_DEBUG |