summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-07-29(svn r2756) Renamed railtypes into _railtypesludde
Renamed railtypes.c into railtypes.h, all other tables are in .h files. (It should be in the tables dir but I couldn't figure out how to get it there without deleting it first). Added const and extern.
2005-07-29(svn r2755) Fix: Fix a desync issue with autoreplaceludde
2005-07-29(svn r2754) Move str_fmt into string.[ch]tron
2005-07-29(svn r2753) -Codechange: Introduced a new struct "RailtypeInfo" to store ↵celestar
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(svn r2752) -Doc: Added some doxygen stuff to rail.h. I'm gonna mess around ↵celestar
with this file and wanted to get rid of this first
2005-07-29(svn r2751) -Fix: Disabled buttons in the patches and difficulty windows are ↵celestar
now rendered properly again
2005-07-29(svn r2750) -Fix: Tree tiles above the snow line got redrawn ↵tron
disproportionately often
2005-07-29(svn r2749) Fix typo in the tile documentationtron
2005-07-29(svn r2748) Remove unused cruft from the main looptron
2005-07-29(svn r2747) -Fix: r2736 broke the newpaper display. Sorry.celestar
2005-07-29(svn r2746) -Fix: SDL_SetColors() has the number of palette entries to ↵tron
change as parameter, not one beyond the last entry to change
2005-07-29(svn r2745) -Fix: [OSX] removed the assert window introduced in 2741 from strgenbjarni
- it appeared to cause problems and strgen don't need a GUI - renamed ottd to openttd in the app menu (Tobin)
2005-07-29(svn r2742) Get rid of some void pointers plus a few minor changes, like 0 ↵tron
-> '\0'
2005-07-28(svn r2741) -Feature: [OSX] added a window to display asserts on OSX (Tobin)bjarni
2005-07-28(svn r2740) MSCV doesn't seem to like forward declared static arraystron
2005-07-28(svn r2739) -Fix(?): Change the fence algorithm so it removes fences when no ↵tron
farm tile is adjacent
2005-07-28(svn r2738) Small bit fiddling cleanuptron
2005-07-28(svn r2737) static, const and don't make variables public nobody else needs ↵tron
to know about
2005-07-28(svn r2736) -Codechange: De-mystified GfxDrawFillRect a bit, and used enums ↵celestar
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(svn r2735) -Fix: [OSX] fixed issue introduced in 2733 where dedicated ↵bjarni
servers on OSX included sdl.h even when WITH_SDL was not defined (oops)
2005-07-28(svn r2734) -Feature: The Main Toolbar Dropdown Menu can now display ↵celestar
disabled items
2005-07-28(svn r2733) -Fix: [OSX] solved include issue introduced in 2714, which ↵bjarni
prevented OSX from opening a window to run the game in (sdl.h was not included anymore)
2005-07-28(svn r2732) -Codechange: Cleaned the order flags some more. Hit some ↵celestar
inconsistencies while trying to locate bug 1244167
2005-07-28(svn r2731) -Fix [ 1244171 ]: Hangar orders are now properly invalidated as ↵celestar
soon as the airport is removed
2005-07-27(svn r2730) -Fix: Fail if the sequencer can't play audiotron
Also check the return value of CreateThread()
2005-07-27(svn r2729) Fix #includetron
2005-07-27(svn r2728) -Fix/Feature: Change the driver probing algorithmtron
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(svn r2727) Fix last commit, don't asktron
2005-07-27(svn r2726) Fix last committron
2005-07-27(svn r2725) Move MyShowCursor() back into win32.c, it fits better theretron
2005-07-27(svn r2724) -Fix: [Autoreplace] made the pulldown menu read ↵bjarni
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(svn r2723) Make the manual page more informativetron
2005-07-26(svn r2720) Remove unused declarations and definitionstron
2005-07-26(svn r2719) - Update MSVC 2003 project (AsterixMG)orudge
2005-07-26(svn r2718) Forgot one filetron
2005-07-26(svn r2717) Move _userstring to strings.[ch]tron
2005-07-26(svn r2716) Do not use strncat()tron
2005-07-26(svn r2715) - Update MSVC project with dmusic.cpp updatesorudge
2005-07-26(svn r2714) Remove unnecessary includestron
2005-07-26(svn r2712) Overhaul DirectMusic MIDI backend:tron
- 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-25(svn r2711) [Translators] Updated translations to 20050725 (2 lang(s))miham
2005-07-25(svn r2710) Simplify dedicated server code a bit and don't compile it at ↵tron
all, if network support ist disabled
2005-07-25(svn r2709) - Update VC 2003 project file (AsterixMG)orudge
2005-07-25(svn r2708) Update MSVC6 project with recent changesorudge
2005-07-25(svn r2707) Missed the paths in the BeOS MIDI player, sorry for all the noisetron
2005-07-25(svn r2706) Fix !WITH_NETWORK buildtron
2005-07-25(svn r2705) Fix #include paths and remove unnecessary #includestron
2005-07-25(svn r2704) Remove . from include path again, too much trouble. Also add ↵tron
some #ifdefs and #includes for the Windows build
2005-07-24(svn r2703) - Feature: [OSX] Added a native alert window to show whatever ↵bjarni
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(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic ↵celestar
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.