Commit Graph

35240 Commits

Author SHA1 Message Date
frosch 47c32770a0 (svn r23917) -Fix (r11252,, r23914, r23915): Also use the CTT for refitmasks for version 6 GRFs. I.e. fix the cursed GetCargoTranslation() function for the fourth time. 2012-02-08 18:11:49 +00:00
frosch b42fa8f766 (svn r23917) -Fix (r11252,, r23914, r23915): Also use the CTT for refitmasks for version 6 GRFs. I.e. fix the cursed GetCargoTranslation() function for the fourth time. 2012-02-08 18:11:49 +00:00
frosch f832dfd555 (svn r23916) -Fix (r23145): When determining the first refittable cargotype according to CTT order, do not rely on the GRF assigning the refit_mask property. Also check for GRFs setting the default_cargo or refittable-cargo-classes or -types properties. 2012-02-07 22:59:30 +00:00
frosch d5bc5ddd00 (svn r23916) -Fix (r23145): When determining the first refittable cargotype according to CTT order, do not rely on the GRF assigning the refit_mask property. Also check for GRFs setting the default_cargo or refittable-cargo-classes or -types properties. 2012-02-07 22:59:30 +00:00
frosch 306528561a (svn r23915) -Codechange: Translate refitmask directly after reading it from the GRF. 2012-02-07 22:48:09 +00:00
frosch a16389ab06 (svn r23915) -Codechange: Translate refitmask directly after reading it from the GRF. 2012-02-07 22:48:09 +00:00
frosch 96aaaf01ee (svn r23914) -Fix (r11252, r13855): Don't test validity of cargobits using a mask of cargoslots. 2012-02-07 22:46:26 +00:00
frosch b1a3a31a83 (svn r23914) -Fix (r11252, r13855): Don't test validity of cargobits using a mask of cargoslots. 2012-02-07 22:46:26 +00:00
frosch d40cfd1a8a (svn r23913) -Fix (r23912): Silly typo in comment. 2012-02-07 22:05:44 +00:00
frosch 1c84468b5d (svn r23913) -Fix (r23912): Silly typo in comment. 2012-02-07 22:05:44 +00:00
frosch 80a8fe4275 (svn r23912) -Fix: When testing whether a engine shall only carry the default cargo, check ctt_include_mask for being empty before applying cargo translation. 2012-02-07 22:03:03 +00:00
frosch 306a0967d0 (svn r23912) -Fix: When testing whether a engine shall only carry the default cargo, check ctt_include_mask for being empty before applying cargo translation. 2012-02-07 22:03:03 +00:00
translators 124c0f3fd4 (svn r23911) -Update from WebTranslator v3.0:
french - 29 changes by OliTTD
german - 1 changes by NG
2012-02-07 18:45:14 +00:00
translators cc3cbc652f (svn r23911) -Update from WebTranslator v3.0:
french - 29 changes by OliTTD
german - 1 changes by NG
2012-02-07 18:45:14 +00:00
matthijs 74dfcba3be (svn r23910) -Fix: [SDL] Handle the SDL_VIDEOEXPOSE event.
- It seems this event is never triggered when using 1.2 (it has some
    autorefresh feature which seems to have been removed in 1.3), but in theory
    this event could also trigger on 1.2.
  - Note that this fixes redraw issues when compiling against SDL 1.3, but it
    still uses the "compatibility" rendering API using SDL_SetVideoMode and
    SDL_UpdateRects. Eventually (when 1.3 is stable and released as 2.0), this
    should probably be rewritting to use the new Windows and Renderers
    available in SDL 1.3.
2012-02-07 10:27:48 +00:00
matthijs 311413a091 (svn r23910) -Fix: [SDL] Handle the SDL_VIDEOEXPOSE event.
- It seems this event is never triggered when using 1.2 (it has some
    autorefresh feature which seems to have been removed in 1.3), but in theory
    this event could also trigger on 1.2.
  - Note that this fixes redraw issues when compiling against SDL 1.3, but it
    still uses the "compatibility" rendering API using SDL_SetVideoMode and
    SDL_UpdateRects. Eventually (when 1.3 is stable and released as 2.0), this
    should probably be rewritting to use the new Windows and Renderers
    available in SDL 1.3.
2012-02-07 10:27:48 +00:00
matthijs 3be8540055 (svn r23909) -Fix: [SDL] Fix keyboard-related segfault when compiling against SDL 1.3. 2012-02-07 10:12:11 +00:00
matthijs cba6390973 (svn r23909) -Fix: [SDL] Fix keyboard-related segfault when compiling against SDL 1.3. 2012-02-07 10:12:11 +00:00
rubidium bd252de9ef (svn r23906) -Codechange: replace magic numbers with named constants (adf88) 2012-02-06 20:47:47 +00:00
rubidium 446758872c (svn r23906) -Codechange: replace magic numbers with named constants (adf88) 2012-02-06 20:47:47 +00:00
translators 845df4d06b (svn r23904) -Update from WebTranslator v3.0:
croatian - 4 changes by VoyagerOne
german - 4 changes by NG
italian - 2 changes by lorenzodv
norwegian_bokmal - 2 changes by mantaray
polish - 4 changes by wojteks86
romanian - 3 changes by kkmic
russian - 2 changes by akasoft
vietnamese - 1 changes by nglekhoi
2012-02-06 18:45:42 +00:00
translators 9da9d221f0 (svn r23904) -Update from WebTranslator v3.0:
croatian - 4 changes by VoyagerOne
german - 4 changes by NG
italian - 2 changes by lorenzodv
norwegian_bokmal - 2 changes by mantaray
polish - 4 changes by wojteks86
romanian - 3 changes by kkmic
russian - 2 changes by akasoft
vietnamese - 1 changes by nglekhoi
2012-02-06 18:45:42 +00:00
rubidium 838ea6947f (svn r23903) -Fix [FS#4993]: some instances had issues due to a value being out of range 2012-02-05 19:32:12 +00:00
rubidium 0a5ed6892d (svn r23903) -Fix [FS#4993]: some instances had issues due to a value being out of range 2012-02-05 19:32:12 +00:00
translators 26ce850122 (svn r23902) -Update from WebTranslator v3.0:
catalan - 2 changes by Catalan
english_US - 4 changes by Rubidium
finnish - 2 changes by jpx_
french - 48 changes by OliTTD
tamil - 6 changes by aswn
2012-02-05 18:45:23 +00:00
translators b964c9701d (svn r23902) -Update from WebTranslator v3.0:
catalan - 2 changes by Catalan
english_US - 4 changes by Rubidium
finnish - 2 changes by jpx_
french - 48 changes by OliTTD
tamil - 6 changes by aswn
2012-02-05 18:45:23 +00:00
smatz cbf64bbc6c (svn r23901) -Fix: memory leak everytime one clicked a savegame in the load GUI 2012-02-05 15:51:13 +00:00
smatz eb015cbfb6 (svn r23901) -Fix: memory leak everytime one clicked a savegame in the load GUI 2012-02-05 15:51:13 +00:00
rubidium 70014e3413 (svn r23900) -Update [FS#5041]: some error/inconsistencies in the UK base "translation" 2012-02-05 12:16:05 +00:00
rubidium fbf29d5da8 (svn r23900) -Update [FS#5041]: some error/inconsistencies in the UK base "translation" 2012-02-05 12:16:05 +00:00
michi_cc ac1919408d (svn r23898) -Remove: PNG sprite loader. 2012-02-04 22:19:02 +00:00
michi_cc 44abdccfd0 (svn r23898) -Remove: PNG sprite loader. 2012-02-04 22:19:02 +00:00
michi_cc 1358995dfa (svn r23897) -Feature: [NewGRF] 32bpp sprites in GRFs. 2012-02-04 22:18:57 +00:00
michi_cc 2c3bca6ad9 (svn r23897) -Feature: [NewGRF] 32bpp sprites in GRFs. 2012-02-04 22:18:57 +00:00
michi_cc 2f0c046a6f (svn r23896) -Fix (r23884): Don't free unallocated memory. 2012-02-04 22:14:21 +00:00
michi_cc bd3c507910 (svn r23896) -Fix (r23884): Don't free unallocated memory. 2012-02-04 22:14:21 +00:00
michi_cc 0cbc88a1db (svn r23895) -Revert (r23888): Broken and not even needed anymore in the container format 2 implementation that was committed. 2012-02-04 22:14:16 +00:00
michi_cc dd5d24c35a (svn r23895) -Revert (r23888): Broken and not even needed anymore in the container format 2 implementation that was committed. 2012-02-04 22:14:16 +00:00
michi_cc 0552b23d31 (svn r23894) -Fix (r23893): Use the right variable, not the one that's always going to be 0. 2012-02-04 20:12:06 +00:00
michi_cc c9e664d4cb (svn r23894) -Fix (r23893): Use the right variable, not the one that's always going to be 0. 2012-02-04 20:12:06 +00:00
michi_cc c586e162cb (svn r23893) -Change: [NewGRF] Extended chunked sprite encoding to work for bigger sprites. 2012-02-04 19:21:32 +00:00
michi_cc 4702924f6e (svn r23893) -Change: [NewGRF] Extended chunked sprite encoding to work for bigger sprites. 2012-02-04 19:21:32 +00:00
translators 1863879484 (svn r23892) -Update from WebTranslator v3.0:
french - 65 changes by OliTTD
latvian - 23 changes by Parastais
spanish - 1 changes by Terkhen
tamil - 15 changes by aswn
2012-02-04 18:45:20 +00:00
translators f4b8cee034 (svn r23892) -Update from WebTranslator v3.0:
french - 65 changes by OliTTD
latvian - 23 changes by Parastais
spanish - 1 changes by Terkhen
tamil - 15 changes by aswn
2012-02-04 18:45:20 +00:00
rubidium ed85ffb660 (svn r23891) -Fix-ish: compile failures with SDL 1.3 2012-02-04 16:24:25 +00:00
rubidium af7ea8c525 (svn r23891) -Fix-ish: compile failures with SDL 1.3 2012-02-04 16:24:25 +00:00
michi_cc c6f136a620 (svn r23890) -Add: [NewGRF] Support for RealSprites with multiple zoom levels. 2012-02-04 13:29:18 +00:00
michi_cc 5c1cc27b03 (svn r23890) -Add: [NewGRF] Support for RealSprites with multiple zoom levels. 2012-02-04 13:29:18 +00:00
michi_cc a55a77cbae (svn r23889) -Codechange: Centralise sprite resizing in one place. (peter1138) 2012-02-04 13:29:13 +00:00
michi_cc e85d5b5d31 (svn r23889) -Codechange: Centralise sprite resizing in one place. (peter1138) 2012-02-04 13:29:13 +00:00