tron
e91cb150a4
(svn r2754) Move str_fmt into string.[ch]
2005-07-29 21:52:20 +00:00
tron
3a162799fd
(svn r2754) Move str_fmt into string.[ch]
2005-07-29 21:52:20 +00:00
celestar
f287f2ff8d
(svn r2753) -Codechange: Introduced a new struct "RailtypeInfo" to store rail type specific information. Begun populating it with a bunch of sprites, more to come later. This should result in cleaner, more compact code which allows easy introduction of new railtypes.
2005-07-29 21:36:02 +00:00
celestar
1736566e22
(svn r2753) -Codechange: Introduced a new struct "RailtypeInfo" to store rail type specific information. Begun populating it with a bunch of sprites, more to come later. This should result in cleaner, more compact code which allows easy introduction of new railtypes.
2005-07-29 21:36:02 +00:00
celestar
a855a54686
(svn r2752) -Doc: Added some doxygen stuff to rail.h. I'm gonna mess around with this file and wanted to get rid of this first
2005-07-29 19:35:23 +00:00
celestar
3868b151a9
(svn r2752) -Doc: Added some doxygen stuff to rail.h. I'm gonna mess around with this file and wanted to get rid of this first
2005-07-29 19:35:23 +00:00
celestar
a74063be09
(svn r2751) -Fix: Disabled buttons in the patches and difficulty windows are now rendered properly again
2005-07-29 18:26:53 +00:00
celestar
12b5dcb1b8
(svn r2751) -Fix: Disabled buttons in the patches and difficulty windows are now rendered properly again
2005-07-29 18:26:53 +00:00
tron
0dcbecd357
(svn r2750) -Fix: Tree tiles above the snow line got redrawn disproportionately often
2005-07-29 18:22:04 +00:00
tron
f57d263d83
(svn r2750) -Fix: Tree tiles above the snow line got redrawn disproportionately often
2005-07-29 18:22:04 +00:00
tron
0d912f3811
(svn r2749) Fix typo in the tile documentation
2005-07-29 17:52:29 +00:00
tron
6abf8f89a2
(svn r2749) Fix typo in the tile documentation
2005-07-29 17:52:29 +00:00
tron
452f8fee2a
(svn r2748) Remove unused cruft from the main loop
2005-07-29 16:40:29 +00:00
tron
f359d1a394
(svn r2748) Remove unused cruft from the main loop
2005-07-29 16:40:29 +00:00
celestar
d2a891db7e
(svn r2747) -Fix: r2736 broke the newpaper display. Sorry.
2005-07-29 15:55:14 +00:00
celestar
1a5de9ff9b
(svn r2747) -Fix: r2736 broke the newpaper display. Sorry.
2005-07-29 15:55:14 +00:00
tron
a7acb22781
(svn r2746) -Fix: SDL_SetColors() has the number of palette entries to change as parameter, not one beyond the last entry to change
2005-07-29 10:16:49 +00:00
tron
0432a02054
(svn r2746) -Fix: SDL_SetColors() has the number of palette entries to change as parameter, not one beyond the last entry to change
2005-07-29 10:16:49 +00:00
bjarni
6488c2cba0
(svn r2745) -Fix: [OSX] removed the assert window introduced in 2741 from strgen
...
- it appeared to cause problems and strgen don't need a GUI
- renamed ottd to openttd in the app menu (Tobin)
2005-07-29 09:45:25 +00:00
bjarni
30a5f299f8
(svn r2745) -Fix: [OSX] removed the assert window introduced in 2741 from strgen
...
- it appeared to cause problems and strgen don't need a GUI
- renamed ottd to openttd in the app menu (Tobin)
2005-07-29 09:45:25 +00:00
tron
7f3ed35dd4
(svn r2742) Get rid of some void pointers plus a few minor changes, like 0 -> '\0'
2005-07-29 06:20:28 +00:00
tron
79292d193e
(svn r2742) Get rid of some void pointers plus a few minor changes, like 0 -> '\0'
2005-07-29 06:20:28 +00:00
bjarni
7e25cd6240
(svn r2741) -Feature: [OSX] added a window to display asserts on OSX (Tobin)
2005-07-28 21:47:41 +00:00
bjarni
a2a5593fcc
(svn r2741) -Feature: [OSX] added a window to display asserts on OSX (Tobin)
2005-07-28 21:47:41 +00:00
tron
c8f83b74ad
(svn r2740) MSCV doesn't seem to like forward declared static arrays
2005-07-28 19:59:41 +00:00
tron
8677020a8b
(svn r2740) MSCV doesn't seem to like forward declared static arrays
2005-07-28 19:59:41 +00:00
tron
ae44d3aa1f
(svn r2739) -Fix(?): Change the fence algorithm so it removes fences when no farm tile is adjacent
2005-07-28 19:23:19 +00:00
tron
177fa1d163
(svn r2739) -Fix(?): Change the fence algorithm so it removes fences when no farm tile is adjacent
2005-07-28 19:23:19 +00:00
tron
0e64dc50b6
(svn r2738) Small bit fiddling cleanup
2005-07-28 19:18:27 +00:00
tron
64ac1a6414
(svn r2738) Small bit fiddling cleanup
2005-07-28 19:18:27 +00:00
tron
bc6570ae69
(svn r2737) static, const and don't make variables public nobody else needs to know about
2005-07-28 09:41:09 +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
fcd012e7ec
(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
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
41795423cf
(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
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
3af8aba978
(svn r2734) -Feature: The Main Toolbar Dropdown Menu can now display disabled items
2005-07-28 08:49:29 +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
2f2775323f
(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
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
1e67dfffe7
(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
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
692b226bb6
(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
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
25f72e40cc
(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
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
1c0a9636bc
(svn r2729) Fix #include
2005-07-27 20:08:52 +00:00
tron
2ff85cdc56
(svn r2729) Fix #include
2005-07-27 20:08:52 +00:00
tron
5fd69294ee
(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
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