Commit Graph

2232 Commits

Author SHA1 Message Date
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
f57d263d83 (svn r2750) -Fix: Tree tiles above the snow line got redrawn disproportionately often 2005-07-29 18:22:04 +00:00
tron
6abf8f89a2 (svn r2749) Fix typo in the tile documentation 2005-07-29 17:52:29 +00:00
tron
f359d1a394 (svn r2748) Remove unused cruft from the main loop 2005-07-29 16:40:29 +00:00
celestar
1a5de9ff9b (svn r2747) -Fix: r2736 broke the newpaper display. Sorry. 2005-07-29 15:55:14 +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
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
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
a2a5593fcc (svn r2741) -Feature: [OSX] added a window to display asserts on OSX (Tobin) 2005-07-28 21:47: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
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
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