tron
64ac1a6414
(svn r2738) Small bit fiddling cleanup
2005-07-28 19:18:27 +00:00
tron
ff61e34d6c
(svn r2737) static, const and don't make variables public nobody else needs to know about
2005-07-28 09:41:09 +00:00
celestar
04f4d8237b
(svn r2736) -Codechange: De-mystified GfxDrawFillRect a bit, and used enums from table/sprites.h. You can now change the number of bits used for sprites and switches in the SpriteSetup enum and the rest should work automagically. Can be used to increase the number of active sprites to 2^19 in case there are no colortables (recolor sprites) in any newgrf. We should possibly move the the colortables to an own list, but how to detect them in a newgrf.
2005-07-28 09:17:32 +00:00
bjarni
139f0c95ca
(svn r2735) -Fix: [OSX] fixed issue introduced in 2733 where dedicated servers on OSX included sdl.h even when WITH_SDL was not defined (oops)
2005-07-28 09:01:41 +00:00
celestar
727dea5824
(svn r2734) -Feature: The Main Toolbar Dropdown Menu can now display disabled items
2005-07-28 08:49:29 +00:00
bjarni
4a4829fa0e
(svn r2733) -Fix: [OSX] solved include issue introduced in 2714, which prevented OSX from opening a window to run the game in (sdl.h was not included anymore)
2005-07-28 08:45:57 +00:00
celestar
21ed40bc53
(svn r2732) -Codechange: Cleaned the order flags some more. Hit some inconsistencies while trying to locate bug 1244167
2005-07-28 06:09:15 +00:00
celestar
502718caa6
(svn r2731) -Fix [ 1244171 ]: Hangar orders are now properly invalidated as soon as the airport is removed
2005-07-28 05:47:54 +00:00
tron
e2ce1f997a
(svn r2730) -Fix: Fail if the sequencer can't play audio
...
Also check the return value of CreateThread()
2005-07-27 21:45:34 +00:00
tron
2ff85cdc56
(svn r2729) Fix #include
2005-07-27 20:08:52 +00:00
tron
5821529859
(svn r2728) -Fix/Feature: Change the driver probing algorithm
...
Instead of trying to start a single driver and bailing out if that fails, try to initialise one by one and use the first one which succeeds.
This should fix problems on machines with no sound card, where -s null had to be specified manually.
2005-07-27 19:57:12 +00:00
tron
6c52a8629d
(svn r2727) Fix last commit, don't ask
2005-07-27 19:26:53 +00:00
tron
c43653b565
(svn r2726) Fix last commit
2005-07-27 19:25:50 +00:00
tron
286f8726d5
(svn r2725) Move MyShowCursor() back into win32.c, it fits better there
2005-07-27 19:22:38 +00:00
bjarni
6f74bbaeec
(svn r2724) -Fix: [Autoreplace] made the pulldown menu read GetPlayer(_local_player)->avail_railtypes - this removes the need for updating this code if we add more railtypes and it also allows the menu to show maglev when monorail is not available
2005-07-27 10:11:45 +00:00
tron
249a35cfe8
(svn r2723) Make the manual page more informative
2005-07-27 07:19:28 +00:00
tron
af9f55c977
(svn r2720) Remove unused declarations and definitions
2005-07-26 19:34:03 +00:00
orudge
102653eb63
(svn r2719) - Update MSVC 2003 project (AsterixMG)
2005-07-26 19:31:05 +00:00
tron
31b480d079
(svn r2718) Forgot one file
2005-07-26 19:05:07 +00:00
tron
a16418266e
(svn r2717) Move _userstring to strings.[ch]
2005-07-26 19:04:19 +00:00
tron
7e65f44168
(svn r2716) Do not use strncat()
2005-07-26 18:47:04 +00:00
orudge
7f1877a617
(svn r2715) - Update MSVC project with dmusic.cpp updates
2005-07-26 18:45:19 +00:00
tron
44691cde0f
(svn r2714) Remove unnecessary includes
2005-07-26 18:24:18 +00:00
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
2005-07-26 06:59:48 +00:00
miham
09204dcf44
(svn r2711) [Translators] Updated translations to 20050725 (2 lang(s))
2005-07-25 17:45:57 +00:00
tron
84f78ea44a
(svn r2710) Simplify dedicated server code a bit and don't compile it at all, if network support ist disabled
2005-07-25 16:33:58 +00:00
orudge
f60b122a68
(svn r2709) - Update VC 2003 project file (AsterixMG)
2005-07-25 11:36:02 +00:00
orudge
28a2ed0a2c
(svn r2708) Update MSVC6 project with recent changes
2005-07-25 09:52:37 +00:00
tron
4f6b8232c9
(svn r2707) Missed the paths in the BeOS MIDI player, sorry for all the noise
2005-07-25 08:16:05 +00:00
tron
2dfbb2963d
(svn r2706) Fix !WITH_NETWORK build
2005-07-25 07:28:32 +00:00
tron
b18af859ef
(svn r2705) Fix #include paths and remove unnecessary #includes
2005-07-25 07:20:32 +00:00
tron
201990b5d9
(svn r2704) Remove . from include path again, too much trouble. Also add some #ifdefs and #includes for the Windows build
2005-07-25 07:16:10 +00:00
bjarni
cb3c325e5f
(svn r2703) - Feature: [OSX] Added a native alert window to show whatever error() needs to print (Tobin made this, while I fixed some issued in it)
...
- As a bonus, we now have an objective C file (os/macosx/macos.m) to use the functions Apple made to interact with OS stuff
2005-07-24 20:47:42 +00:00
celestar
238e47cd42
(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
...
by enums. There remains work in gfx.c to move the "transparency" and
"recolor" bits around to make space for more sprites. However, 2800
additional sprites can now be loaded. There also remains cleanup and
Doxygen work on many of the header files.
2005-07-24 15:56:31 +00:00
tron
a227065ab7
(svn r2701) Insert Id tags into all source files
2005-07-24 14:12:37 +00:00
tron
c7980036e9
(svn r2700) Insert Id tag into the Makefile
2005-07-24 13:55:39 +00:00
tron
384b284846
(svn r2699) Hopefully fix the compilation on Windows when SDL is not present
2005-07-24 10:39:12 +00:00
tron
475d7fc0ae
(svn r2697) Make compiling with SDL on Windows work again (missing #includes) and fix some warnings
2005-07-24 06:09:54 +00:00
tron
23c20173b1
(svn r2696) Remove stray semicolons
2005-07-23 19:48:24 +00:00
orudge
e36506b1d1
(svn r2695) - Fix: OS/2 project update, add os2.h to dedicated_v.c
2005-07-23 19:00:56 +00:00
tron
86a76d735e
(svn r2694) Various smaller changes: eol-style, static, code simplification
2005-07-23 18:46:17 +00:00
miham
3ecbbf3baf
(svn r2693) [Translators] Updated translations to 20050723 (1 lang(s))
2005-07-23 17:45:42 +00:00
tron
aef046b4d7
(svn r2692) Forgot to add a file
2005-07-23 17:23:16 +00:00
tron
4a14350711
(svn r2691) Separate dedicated video driver and fix bemidi declarations
2005-07-23 17:22:39 +00:00
orudge
60d2232c60
(svn r2690) - Minor cleanups to os2.c and hal.h
2005-07-23 16:28:19 +00:00
orudge
1e70ba752e
(svn r2689) - Split OS/2 music driver into os2_m.c, update project file
2005-07-23 16:08:05 +00:00
tron
10fd03e222
(svn r2688) MSVC and Watcom can't handle identical file names in different directories, oh my...
2005-07-23 15:48:00 +00:00
tron
54e02a620a
(svn r2687) Make a variable static
2005-07-23 15:34:05 +00:00
tron
5178ad768d
(svn r2686) Revert accidently commited change
2005-07-23 15:24:31 +00:00
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.)
2005-07-23 15:16:57 +00:00