------------------------------------------------------------------------ r2869 | orudge | 2005-08-15 11:54:42 +0000 (Mon, 15 Aug 2005) | 1 line - Update Watcom project with gfxinit.c ------------------------------------------------------------------------ r2868 | tron | 2005-08-15 11:39:13 +0000 (Mon, 15 Aug 2005) | 6 lines Change the way NewGRFs are loaded: The loading process i no 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! ------------------------------------------------------------------------ r2867 | miham | 2005-08-15 06:46:22 +0000 (Mon, 15 Aug 2005) | 1 line \[Translations\] Updating translations ------------------------------------------------------------------------ r2866 | tron | 2005-08-14 18:10:18 +0000 (Sun, 14 Aug 2005) | 3 lines Move all functions and tables which aren't directly involved in 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. ------------------------------------------------------------------------ r2865 | tron | 2005-08-13 21:40:22 +0000 (Sat, 13 Aug 2005) | 1 line Push the responsibility for allocating the sprite heap into GfxInitSpriteMem() ------------------------------------------------------------------------ r2864 | tron | 2005-08-13 21:35:31 +0000 (Sat, 13 Aug 2005) | 1 line Code simplification and diff reduction ------------------------------------------------------------------------ r2863 | tron | 2005-08-13 21:34:05 +0000 (Sat, 13 Aug 2005) | 1 line Move some type declarations into saveload.c, should've been part of r2819 ------------------------------------------------------------------------ r2862 | tron | 2005-08-13 16:23:07 +0000 (Sat, 13 Aug 2005) | 3 lines Return a proper version number, when testing the TTDPatch 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. ------------------------------------------------------------------------ r2861 | tron | 2005-08-12 12:47:35 +0000 (Fri, 12 Aug 2005) | 1 line Move inclusion of setjmp.h into saveload.c, should've been part of r2819 ------------------------------------------------------------------------ r2860 | tron | 2005-08-12 06:37:48 +0000 (Fri, 12 Aug 2005) | 7 lines Fix some issues in the savegame/scenario list code: -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 ------------------------------------------------------------------------ r2859 | miham | 2005-08-11 21:51:05 +0000 (Thu, 11 Aug 2005) | 1 line \[Translations\] Updating translations ------------------------------------------------------------------------ r2858 | truelight | 2005-08-11 19:23:32 +0000 (Thu, 11 Aug 2005) | 2 lines -Codechange: resolved some magic numbers (_Luca_) ------------------------------------------------------------------------ r2857 | truelight | 2005-08-11 19:21:46 +0000 (Thu, 11 Aug 2005) | 2 lines -Fix: PlayerID is not a valid type for a player-bit-field. Partly reverted r2290 ------------------------------------------------------------------------ r2856 | miham | 2005-08-11 13:20:37 +0000 (Thu, 11 Aug 2005) | 1 line [Translations] Fixed languages containing STRING1 (except for english.txt) ------------------------------------------------------------------------ r2855 | tron | 2005-08-11 13:09:12 +0000 (Thu, 11 Aug 2005) | 1 line Make ReadSpriteHeaderSkipData() responsible for detecting the end of a grf file instead of its callers - this simplifies the code a bit ------------------------------------------------------------------------ r2854 | miham | 2005-08-11 13:06:24 +0000 (Thu, 11 Aug 2005) | 1 line \[Translations\] Updating translations ------------------------------------------------------------------------ r2853 | tron | 2005-08-11 13:04:50 +0000 (Thu, 11 Aug 2005) | 1 line Add missing dependencies and flags to the dependency targets and make the info target more informative ------------------------------------------------------------------------ r2852 | tron | 2005-08-11 13:03:39 +0000 (Thu, 11 Aug 2005) | 1 line Remove the unused field 'id' from struct FiosItem ------------------------------------------------------------------------ r2851 | orudge | 2005-08-11 12:56:03 +0000 (Thu, 11 Aug 2005) | 1 line - Update Watcom project with currency.c ------------------------------------------------------------------------ r2850 | miham | 2005-08-11 12:51:59 +0000 (Thu, 11 Aug 2005) | 1 line [newgrf] Patch from peter1139 ------------------------------------------------------------------------ r2849 | tron | 2005-08-11 07:29:24 +0000 (Thu, 11 Aug 2005) | 1 line Fix r2806: pwd.h is necessary, but only if USE_HOMEDIR is defined ------------------------------------------------------------------------ r2848 | bjarni | 2005-08-10 21:16:38 +0000 (Wed, 10 Aug 2005) | 1 line -Fix: [ 1256044 ] fixed crash when loading a map made before rev 2817 in scenario editor. This was introduced in 2817 ------------------------------------------------------------------------ r2847 | tron | 2005-08-09 12:58:22 +0000 (Tue, 09 Aug 2005) | 3 lines Don't remember the size of sprites during initialisation. Since 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) ------------------------------------------------------------------------ r2846 | tron | 2005-08-08 21:42:27 +0000 (Mon, 08 Aug 2005) | 1 line Minor improvement of the french translation: use {P}, fix spelling of "brûlé", fully translate partly untranslated strings and remove gratuitous whitespace (i hope i got it right) ------------------------------------------------------------------------ r2845 | tron | 2005-08-08 21:35:27 +0000 (Mon, 08 Aug 2005) | 3 lines Remove sprite size caching, it was unused This makes GetSpriteDimension() superflous, because now it's just a thin wrapper around GetSprite() returning only part of the information, therefore remove it too ------------------------------------------------------------------------ r2844 | tron | 2005-08-08 20:27:05 +0000 (Mon, 08 Aug 2005) | 1 line Update the MSVC project files, thanks AsterixMG ------------------------------------------------------------------------ r2843 | tron | 2005-08-08 20:23:56 +0000 (Mon, 08 Aug 2005) | 1 line OSX doesn't like OBJC, so give it back its beloved CC, because it's the only ObjectiveC consumer ------------------------------------------------------------------------