Commit Graph

9638 Commits

Author SHA1 Message Date
rubidium 71820bf129 (svn r13700) -Fix: possible buffer overflow in string truncation code. 2008-07-14 18:22:15 +00:00
rubidium b7c69ba5f0 (svn r13699) -Fix: handle SETX(Y) properly when truncating a string instead of ignoring it and returning a too long string. 2008-07-14 17:31:41 +00:00
frosch 1c17405721 (svn r13698) -Fix (r13697): MorphOS compilation. 2008-07-13 19:44:05 +00:00
frosch 1655a6f2a8 (svn r13697) -Feature: Add some support for symbolic links in .tar files. 2008-07-13 16:09:00 +00:00
belugas f666fd5a9b (svn r13696) -Fix[GUI]: The Build button of the vehicle list is now hidden, instead of just disabled. It will be only visible when called from the Depot Building Window.
Less confusion, hopefully.  Suggested by Eddi.
2008-07-13 02:43:46 +00:00
rubidium 53436082a2 (svn r13695) -Fix [FS#2120]: in some cases the (sound) mixer could overflow causing artefacts in the sound. 2008-07-12 22:30:10 +00:00
rubidium e74743227b (svn r13694) -Change: make it more explicit that you've opened the available train/ship/etc. list instead of the one where you can actually build vehicles by setting the appropriate title for the window. 2008-07-12 22:28:34 +00:00
frosch 2b6dee7f64 (svn r13693) -Fix (r11106, r11117): Do not rely on .tar files always ending with a block of zeros. 2008-07-12 14:49:43 +00:00
rubidium 56379fff51 (svn r13692) -Fix (r13674): loading PNG sprites could very quickly fill the sprite cache. 2008-07-12 14:03:36 +00:00
smatz 447ec39f49 (svn r13691) -Codechange: make it easier to determine whether a command is ran in the context of autoreplace or not 2008-07-09 20:55:47 +00:00
belugas 33150af3e2 (svn r13683) -Codechange: privatize a function that is not used outside of the class who calls it 2008-07-09 02:18:51 +00:00
belugas cb452bcc7d (svn r13682) -Codechange: -Codechange: remove a now useless variable(dih). 2008-07-08 23:07:58 +00:00
rubidium d974acac89 (svn r13681) -Revert (r13678, r13677): the fixes didn't work in all cases (assertions on savegame loads).
-Fix [FS#2102]: but now in a hopefully beter way.
2008-07-08 15:10:23 +00:00
rubidium 03d32e12fb (svn r13680) -Fix: NPF crashing when a ship tried to find a nearby depot when on an aqueduct. 2008-07-07 16:04:38 +00:00
rubidium fbdc1c0476 (svn r13679) -Fix [FS#2131]: saving TTD imported games in recession failed due to wrong (and unneeded) type conversions in the saveload code. 2008-07-07 09:23:54 +00:00
rubidium 3a793ceea9 (svn r13678) -Fix (r13677): electric trains from pre elrail savegames would get stopped on load. 2008-07-06 11:08:40 +00:00
rubidium 22249a7317 (svn r13677) -Fix [FS#2102]: in the case that elrails and 'realistic' acceleration are disabled all electrified engines would have no power on load, until the vehicle got turned around, loaded or got into a depot. 2008-07-04 21:43:17 +00:00
rubidium 0cc206e662 (svn r13676) -Fix [FS#2126]: inactive companies from old (TTD) saves could be marked active in some cases, which then loads garbage in their statistics and such. 2008-07-04 19:00:11 +00:00
rubidium b5f7633883 (svn r13675) -Fix: memory leak when NewGRFs got forcefully disabled and they defined GOTO labels. 2008-07-04 18:42:04 +00:00
rubidium 173f0f4cd5 (svn r13674) -Fix [FS#2127]: crash when drawing a non-real sprite. The drawing of the non-real sprite is caused when two NewGRFs replace the same sprite and the first replaces it with a real sprite (and thus assumes it remains a real sprite) and the second replaces it with a non-real sprite. OpenTTD already looked at whether the sprite to load should be seen as a real or non-real sprite, but it failed to replace non-real sprites with a substitute real sprite when getting the sprite from the cache. 2008-07-04 14:45:51 +00:00
rubidium f37a47c0cb (svn r13673) -Fix [FS#2122]: desync when building electrified trains on a dedicated server that was started with electrification disabled. 2008-07-03 18:00:36 +00:00
belugas aede445e2a (svn r13672) -Fix(r13670): silent warnings that MSVC did not raised. Looks like enums can not be easily matched :( 2008-07-03 01:08:35 +00:00
frosch 4cb2fba8fb (svn r13671) -Cleanup: Zeros for sell. 2008-07-01 18:56:40 +00:00
belugas ce721a579f (svn r13670) -Codechange : Merge some very alike events handlers. 2008-07-01 00:04:09 +00:00
frosch e9e453cf8b (svn r13667) -Documentation: Comment 'tgp.cpp' a bit. Based on patch by CommanderZ. 2008-06-30 19:54:03 +00:00
belugas ac3896feaf (svn r13665) -Fix[FS#2119]: Wrong PlayerID used for sending a message to.Patch by Yexo 2008-06-30 16:59:35 +00:00
rubidium f06daceb16 (svn r13664) -Fix [FS#2117]: bus/truck forgetting go-to-depot order when entering a non-drivethrough road stop. 2008-06-30 15:13:40 +00:00
belugas 4f5eae2789 (svn r13663) -Codechange: Use a default parameter, hoping to reduce the different signatures of functions in menus 2008-06-30 14:58:58 +00:00
rubidium 7ed892411a (svn r13662) -Fix [FS#2113]: crash when adding conditional orders to ships. 2008-06-30 14:49:50 +00:00
rubidium 6a216ee4f6 (svn r13661) -Fix: server crashing when banning the rconning client. 2008-06-30 14:48:44 +00:00
frosch ecc5d648df (svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter. 2008-06-28 15:44:24 +00:00
frosch 06049563da (svn r13648) -Cleanup (r5303): Amplitudes should be amplitudes and not amplitudes/16. 2008-06-27 20:59:30 +00:00
skidd13 9335a28cb5 (svn r13647) -Codechange: replace MAX_UVALUE() for std types with the equivalent constant 2008-06-27 17:46:43 +00:00
belugas de86235274 (svn r13646) -Change: typos and miss-aligned enum values 2008-06-27 16:16:35 +00:00
frosch 3e5f10fca6 (svn r13645) -Codechange: Convert a macro into an inlined member function. 2008-06-27 15:01:18 +00:00
belugas dde4de5e20 (svn r13644) -Fix(r13643): compare an apple with an apple. MSVC seems to not care, but some other compilers do.
Thanks to glx :)
2008-06-27 02:26:51 +00:00
belugas e8cddf8baa (svn r13643) -Codechange: Enumify some loosely related values been used in the toolbar resizing processes 2008-06-27 01:26:13 +00:00
belugas 32ea99a741 (svn r13642) -Documentation: Add the enum values to the widget arrays, in concordance with code style 2008-06-26 17:43:56 +00:00
belugas 6d1e5a3f5b (svn r13641) -Fix: Misleading enum name. 2008-06-26 17:13:39 +00:00
smatz 1834a2f670 (svn r13640) -Codechange: make colours behind not fully solid objects less darker for BM_TRANSPARENT (for 32bpp blitters) 2008-06-26 16:47:29 +00:00
smatz 114c820c56 (svn r13639) -Codechange: rewrite 32bpp-anim and 32bpp-optimized drawing and encoding so it uses similiar scheme as 8bpp-optimized
All zoom levels are stored and a kind of RLE is used. Together with further changes and reducing number of variables, drawing is ~50% faster in average.
2008-06-26 15:46:19 +00:00
smatz 0b75129c24 (svn r13638) -Fix: signed/unsigned warning for MSVC9 and gcc2 2008-06-26 00:40:42 +00:00
miham 35c8cdb5fa (svn r13637) -Update: WebTranslator2 update to 2008-06-25 23:36:50
brazilian_portuguese - 9 fixed by tucalipe (9)
bulgarian  - 25 fixed by thetitan (11), kokobongo (14)
catalan    - 9 fixed, 4 changed by arnaullv (13)
croatian   - 5 fixed by knovak (5)
czech      - 8 fixed, 9 changed by Hadez (17)
dutch      - 9 fixed by habell (9)
french     - 12 fixed by glx (10), belugas (2)
italian    - 12 fixed by lorenzodv (12)
korean     - 8 fixed, 7 changed by leejaeuk5 (15)
russian    - 9 fixed by Smoky555 (9)
slovenian  - 18 fixed by Necrolyte (18)
spanish    - 9 fixed by eusebio (9)
swedish    - 8 fixed by daishan (8)
traditional_chinese - 38 fixed, 108 changed by tiberiusteng (146)
ukrainian  - 12 fixed, 2 deleted, 55 changed by mad (69)
2008-06-25 21:37:59 +00:00
frosch 17de6f9ced (svn r13634) -Codechange: Let house var 0x65 ignore the house, the variable is queried for. 2008-06-25 20:04:27 +00:00
rubidium 7e50278d8e (svn r13633) -Fix: restoring 'service at depot X' orders from the order backup failed. 2008-06-25 19:33:11 +00:00
frosch 4e6d827ea6 (svn r13632) -Codechange: Use 'void *' for user-data of CircularTileSearch(). 2008-06-25 18:46:05 +00:00
smatz 644fa40339 (svn r13631) -Fix (r13618): forgot #define avoiding multiple inclusions 2008-06-25 17:45:05 +00:00
skidd13 7a0ad3af52 (svn r13630) -Update: apply english.txt changes from r13628 to other languages 2008-06-25 17:37:12 +00:00
frosch 983e5a96f0 (svn r13629) -Fix [FS#2108](r13603): diameter != radius 2008-06-25 17:30:53 +00:00
skidd13 41b09d4027 (svn r13628) -Feature: enable building of aqueducts in the scenario editor
-Codechange: related to this split the waterway based buttons from the landscape generation window
2008-06-25 17:30:16 +00:00