Commit Graph

25 Commits (0d459f909cefe93e20f606dca9b576881dfc4704)

Author SHA1 Message Date
Darkvater ba9f22cee6 (svn r7219) -Fix: Several warnings by gcc introduced in r7206 which MSVC found not of a problem. Thanks Tron 18 years ago
Darkvater b3c48c0a84 (svn r7205) -Fix [FS#350, SF#1560913]: Window allocation and deletion messed with the actual window
structs inside their array, and possibly invalidating pointers higher up.
 Meaning that any function called within an wndproc could cause unknown/invalid pointers
 once control was returned to this function. Solved by the introduction of an extra
 abstraction layer, an array of z-window positions that is only concerned with the
 pointers.
18 years ago
tron 2a53bcf2b0 (svn r7065) Use simple assignment instead of memcpy() 18 years ago
peter1138 653e7fa548 (svn r6532) - Feature: Add support for NewGRF sound effects. Currently sound priority isn't supported. 18 years ago
belugas 6082507fea (svn r5609) CodeChange : Apply coding style 18 years ago
peter1138 1a704f587c (svn r4975) - Codechange: increase the number of file handles from 32 to 64 (arbitrary powers of 2!) to allow more GRF files to be loaded. 18 years ago
peter1138 73b718a667 (svn r4674) - Codechange: use correct parameter order for allocating sound file memory 18 years ago
tron c1dc517dab (svn r4554) Replace magic numbers by TILE_{HEIGHT,SIZE} 18 years ago
celestar 3aa1e38be6 (svn r4246) -Codechange. Replaced about 100 occurences of '16' by TILE_SIZE 19 years ago
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
19 years ago
tron 867e1acf08 (svn r3552) Remove the global variable _mixer 19 years ago
peter1138 04134d1481 (svn r3131) Enable panning of audio relative to screen position. 19 years ago
tron 70c07d13be (svn r2898) Fix typo in r2897 19 years ago
tron abb034c2cd (svn r2897) Check the return values of [cm]alloc and the length of an array, plus some smaller changes 19 years ago
tron a227065ab7 (svn r2701) Insert Id tags into all source files 19 years ago
tron 559babcdc9 (svn r2673) Include functions.h directly, not globally via openttd.h 19 years ago
Darkvater b438b1248c (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files. 19 years ago
tron 1cb9ea5c46 (svn r2002) Rename MxActivate to MxActivateChannel, which is more appropriate 20 years ago
tron f04780e66d (svn r2000) Split the sound system into backend (mixer.[ch]) and frontend (sound.[ch]) 20 years ago
darkvater 9139f4ba84 (svn r1637) -Fix: VS6 warning
-Added missing files to VS6 and VS.Net project files (bociusz)
20 years ago
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] 20 years ago
tron 765ecfed84 (svn r1117) Move map arrays and some related macros into their own files map.c and map.h 20 years ago
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
20 years ago
truelight eb49a19460 (svn r194) -Codechange: stripping trailing-spaces. Please keep this that way! 20 years ago
truelight efaeb275f7 (svn r1) Import of revision 975 of old (crashed) SVN 20 years ago