tron
0a72639c2d
(svn r5210) Many small changes which piled up: const, unsigned, variable scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc.
18 years ago
tron
30651e8bcb
(svn r5135) Forgotten Id tag
18 years ago
peter1138
9671d6a9eb
(svn r4692) - Use DEBUG() instead of direct fprintf in extmidi music driver, and silence 'set volume not implemented' warning at the default debug level.
19 years ago
bjarni
235e72829e
(svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
...
This increases the execution speed a lot since GCC can't detect the OTTD macro as an endian conversion
while Apple's code uses the instruction to convert endian instead of a series of instructions to produce the same result
Since we don't have that many endian conversions in the game, overall performance should not increase noteworthy
19 years ago
Darkvater
a6756ccf21
(svn r3448) - Fix: wrap up some MinGW warnings
19 years ago
bjarni
42d8e8410b
(svn r3286) -Fix: [OSX] 10.2 works again and universal binaries got 10.2 as target by default
19 years ago
tron
2cc2154ad2
(svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in comments, excess empty lines, minor other changes
...
nothing spectacular, just some stuff, which piled up
19 years ago
bjarni
37af5bc475
(svn r3022) -feature: [OSX] OSX now uses quicktime to play midi files
...
this eliminates the long pauses between songs and the "leaving process hehind" bug (moebius_)
19 years ago
tron
c2c865e4b9
(svn r2984) Use adequate types, this should aid portability a bit
19 years ago
Darkvater
72ef17dace
(svn r2960) - Fix: [ 1227779 ] Fix win32 midi volume level control which didn't work (glx)
19 years ago
tron
b84e36d717
(svn r2946) Remove redundant calls, simplify a check and terminate the argument list of execlp() as suggested by the manpage to make it correctly work on 64bit platforms
19 years ago
tron
08e0769967
(svn r2938) -Fix: Exit the child of the extmidi backend with _exit() instead of exit(), because we don't want any atexit handlers - especially flushing output streams - to run, if exec() fails
...
Half a credit is due to Darkvater (;
19 years ago
Darkvater
73662f2fcb
(svn r2922) Fix crash with directmusic if no music files could be found to play
19 years ago
tron
3ace3769c9
(svn r2911) Deinitialise the DirectMusic driver like it's done in the example code in MSDN, this should fix a strange crash upon deinitialising wave out sound
19 years ago
tron
dc20e0ae81
(svn r2827) BeOS meets all prerequisites for extmidi
19 years ago
tron
e2ce1f997a
(svn r2730) -Fix: Fail if the sequencer can't play audio
...
Also check the return value of CreateThread()
19 years ago
tron
ed2e3c77af
(svn r2712) Overhaul DirectMusic MIDI backend:
...
- Merge the .c and .cpp part into one file
- Properly deinitialize at the end
- Remove "experimental" status
- Miscellaneous smaller changes
-Fix: Volume control works now
19 years ago
tron
4f6b8232c9
(svn r2707) Missed the paths in the BeOS MIDI player, sorry for all the noise
19 years ago
tron
b18af859ef
(svn r2705) Fix #include paths and remove unnecessary #includes
19 years ago
tron
201990b5d9
(svn r2704) Remove . from include path again, too much trouble. Also add some #ifdefs and #includes for the Windows build
19 years ago
tron
a227065ab7
(svn r2701) Insert Id tags into all source files
19 years ago
orudge
1e70ba752e
(svn r2689) - Split OS/2 music driver into os2_m.c, update project file
19 years ago
tron
10fd03e222
(svn r2688) MSVC and Watcom can't handle identical file names in different directories, oh my...
19 years ago
tron
54e02a620a
(svn r2687) Make a variable static
19 years ago
tron
07a6e612ec
(svn r2685) -Codechange: Split the music/sound/video drivers into separate files and move them into subfolders.
...
This results in shorter and hopefully easier to maintain files.
Note: I had to change paths in #include statements of some unrelated files, because I added the ottd base directory to the include path (-I.)
19 years ago