summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-08-15(svn r2869) - Update Watcom project with gfxinit.corudge
2005-08-15(svn r2868) Change the way NewGRFs are loaded: The loading process i no ↵tron
longer bolted onto the normal graphics loading. This has two major advantages: - Removal of a maze of global variables and distinction of cases from the sprite loading routines, which weren't directly related to the loading process in the first place - NewGRF actions no longer occupy sprite slots - for example when using DBSetXL this saves about 2000 slots! (you could regard this as a bug fix) If i didn't make a major mistake this change should have no negative effect on NewGRF support, please test!
2005-08-15(svn r2867) \[Translations\] Updating translationsmiham
2005-08-14(svn r2866) Move all functions and tables which aren't directly involved in ↵tron
managing the sprite heap to a new file gfxinit.c. This doesn't ease the global variable mess, but makes the distinction between sprite heap and gfx loading routines easier.
2005-08-13(svn r2865) Push the responsibility for allocating the sprite heap into ↵tron
GfxInitSpriteMem()
2005-08-13(svn r2864) Code simplification and diff reductiontron
2005-08-13(svn r2863) Move some type declarations into saveload.c, should've been part ↵tron
of r2819
2005-08-13(svn r2862) Return a proper version number, when testing the TTDPatch ↵tron
version in the SkipIf action. Pretend to be version 2.0.1 alpha 49 for now. Also change the type of the variables, which get compared, to uint32, because the values are at most 32bits wide and always seem to be unsigned.
2005-08-12(svn r2861) Move inclusion of setjmp.h into saveload.c, should've been part ↵tron
of r2819
2005-08-12(svn r2860) Fix some issues in the savegame/scenario list code:tron
-Fix: Sort the directories when making a scenario list -Fix: Sort the directories when making a savegame list on Windows -Fix: On OS/2 show the trailing \ if the current directory is a root directory -Regression: On OS/2 the savegame list showed the scenario directory or crashed (probably introduced in r2609) The rest is diff reduction between the 3 variants
2005-08-11(svn r2859) \[Translations\] Updating translationsmiham
2005-08-11(svn r2858) -Codechange: resolved some magic numbers (_Luca_)truelight
2005-08-11(svn r2857) -Fix: PlayerID is not a valid type for a player-bit-field. ↵truelight
Partly reverted r2290
2005-08-11(svn r2856) [Translations] Fixed languages containing STRING1 (except for ↵miham
english.txt)
2005-08-11(svn r2855) Make ReadSpriteHeaderSkipData() responsible for detecting the ↵tron
end of a grf file instead of its callers - this simplifies the code a bit
2005-08-11(svn r2854) \[Translations\] Updating translationsmiham
2005-08-11(svn r2853) Add missing dependencies and flags to the dependency targets and ↵tron
make the info target more informative
2005-08-11(svn r2852) Remove the unused field 'id' from struct FiosItemtron
2005-08-11(svn r2851) - Update Watcom project with currency.corudge
2005-08-11(svn r2850) [newgrf] Patch from peter1139miham
2005-08-11(svn r2849) Fix r2806: pwd.h is necessary, but only if USE_HOMEDIR is definedtron
2005-08-10(svn r2848) -Fix: [ 1256044 ] fixed crash when loading a map made before rev ↵bjarni
2817 in scenario editor. This was introduced in 2817
2005-08-09(svn r2847) Don't remember the size of sprites during initialisation. Since ↵tron
the sprite loading was altered this is no longer necessary. While here remove another write-only variable (_spritecache_size) and fix a comment (sprite replaces a lowercase letter instead of uppercase)
2005-08-08(svn r2846) Minor improvement of the french translation: use {P}, fix ↵tron
spelling of "brûlé", fully translate partly untranslated strings and remove gratuitous whitespace (i hope i got it right)
2005-08-08(svn r2845) Remove sprite size caching, it was unusedtron
This makes GetSpriteDimension() superflous, because now it's just a thin wrapper around GetSprite() returning only part of the information, therefore remove it too
2005-08-08(svn r2844) Update the MSVC project files, thanks AsterixMGtron
2005-08-08(svn r2843) OSX doesn't like OBJC, so give it back its beloved CC, because ↵tron
it's the only ObjectiveC consumer
2005-08-08(svn r2842) Fix bug with aircraft autoreplace (peter1138)ludde
2005-08-08(svn r2841) Pimp the Makefile: Determining the header dependencies is now a ↵tron
separate step. This should fix the dependency related problems and reduce the number of recompiled files when table/strings.h changes
2005-08-08(svn r2840) Remove 3 unnecessary strings (they're empty) and fix the ↵tron
alignment of the musick track display
2005-08-08(svn r2839) Remove stuff missed in r2833, properly calculate the size of two ↵tron
arrays and simplify GetSpriteDimension() a bit
2005-08-08(svn r2838) \[Translations\] Updating translationsmiham
2005-08-08(svn r2837) [Translations] Updated dutch langfile, started testing of the ↵miham
new SVN-handler in WebTranslator
2005-08-07(svn r2836) fixed the alphabetical order of the credits list like it says it ↵bjarni
is in
2005-08-07(svn r2833) Remove saving of sprite cache data:tron
the benefits are questionable, it's error prone, undocumented and hasn't been widely used for ages, if ever
2005-08-07(svn r2832) Missing #includetron
2005-08-07(svn r2831) Fix some potential and real buffer overflowstron
2005-08-07(svn r2830) Move CheckSwitchToEuro() to currency.[ch] and hide the truth ↵tron
about the custom currency behind a #define
2005-08-07(svn r2829) Remove sprite locking, it was never used anywaytron
2005-08-07(svn r2828) Only command.c needs to know about _docommand_recursive, so make ↵tron
it static. Tell me if there's a problem, because i removed it from network_server.c, but afaict it should be ok
2005-08-06(svn r2827) BeOS meets all prerequisites for extmiditron
2005-08-06(svn r2826) Remove another write-only variable, thanks glxtron
2005-08-06(svn r2825) -Fix: GCC that put deps in the wrong dirs can now compile OTTD againtruelight
2005-08-06(svn r2824) -Fix: OSX can now also produce dedicated serverstruelight
2005-08-06(svn r2823) -Fix: MorphOS doesn't have pthread either!truelight
2005-08-06(svn r2822) -Fix: don't compile pthread for win32 dedicated serverstruelight
2005-08-06(svn r2821) Remove a write-only variabletron
2005-08-06(svn r2820) -Fix: [autoreplace] fixed issue introduced in 2817 where ↵bjarni
autoreplace failed if new engine is cheaper than the old one (peter1138)
2005-08-06(svn r2819) Make variables, which are exclusive for internal use of the ↵tron
save/load code, static in saveload.c
2005-08-06(svn r2818) Don't tell the world about a local variable which is only used oncetron