Commit Graph

16 Commits

Author SHA1 Message Date
tron
453b30e387 (svn r3564) Several smaller changes:
- Don't treat non-booleans as booleans
- Reduce variable scope
- Bracing
- Use DeMorgan's law to make conditionals easier to read
- if cascade -> switch
- Replace some magic numbers by symbolic names
- Avoid assignments within other statements
2006-02-06 09:18:04 +00:00
tron
867e1acf08 (svn r3552) Remove the global variable _mixer 2006-02-05 09:56:04 +00:00
peter1138
04134d1481 (svn r3131) Enable panning of audio relative to screen position. 2005-11-04 10:02:50 +00:00
tron
70c07d13be (svn r2898) Fix typo in r2897 2005-08-28 10:59:34 +00:00
tron
abb034c2cd (svn r2897) Check the return values of [cm]alloc and the length of an array, plus some smaller changes 2005-08-27 20:54:48 +00:00
tron
a227065ab7 (svn r2701) Insert Id tags into all source files 2005-07-24 14:12:37 +00:00
tron
559babcdc9 (svn r2673) Include functions.h directly, not globally via openttd.h 2005-07-22 07:02:20 +00:00
Darkvater
b438b1248c (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files. 2005-06-02 19:30:21 +00:00
tron
1cb9ea5c46 (svn r2002) Rename MxActivate to MxActivateChannel, which is more appropriate 2005-03-12 09:46:07 +00:00
tron
f04780e66d (svn r2000) Split the sound system into backend (mixer.[ch]) and frontend (sound.[ch]) 2005-03-12 09:38:03 +00:00
darkvater
9139f4ba84 (svn r1637) -Fix: VS6 warning
-Added missing files to VS6 and VS.Net project files (bociusz)
2005-01-24 11:32:47 +00:00
tron
7ca6b2b8b0 (svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY] 2005-01-07 17:02:43 +00:00
tron
765ecfed84 (svn r1117) Move map arrays and some related macros into their own files map.c and map.h 2004-12-15 22:18:54 +00:00
tron
d641175e3c (svn r513) Merge revisions 402, 416, 417, 478, 479, 511, 512 from map to trunk
This includes 2 fixes
-Fix: [1048596] Monorail and Maglev sounds are swapped (r511)
-Add special case to load the jackhammer sound (r478)
The rest are cleanups und enumeration to make merging possible/easier
2004-11-05 23:12:33 +00:00
truelight
eb49a19460 (svn r194) -Codechange: stripping trailing-spaces. Please keep this that way! 2004-09-10 19:02:27 +00:00
truelight
efaeb275f7 (svn r1) Import of revision 975 of old (crashed) SVN 2004-08-09 17:04:08 +00:00