smatz
0ae854650a
(svn r16557) -Feature(tte) [NoAI][FS#2892]: mark dead AIs by red background in the AIDebug window
2009-06-10 19:26:04 +00:00
smatz
f67ea11992
(svn r16556) -Codechange [NoAI]: use accessor for AIInstance::is_dead
2009-06-10 19:23:25 +00:00
smatz
7d4d3850cb
(svn r16555) -Feature [FS#570]: ability to enter server and company password via command line when joining a server (based on patch by Progman, Ammler and planetmaker)
2009-06-10 19:00:34 +00:00
smatz
2d841c66e5
(svn r16554) -Fix (r16433): compilation with disabled network was broken
2009-06-10 18:53:43 +00:00
smatz
ca9787b2ea
(svn r16553) -Codechange: don't use TRACK_BIT_WORMHOLE and TRACK_BIT_DEPOT as bitmasks
2009-06-10 16:02:00 +00:00
smatz
aae77c67cb
(svn r16552) -Codechange: make AddTileIndexDiffCWrap() a bit faster
2009-06-10 14:07:08 +00:00
smatz
8786c8792d
(svn r16551) -Codechange: use shift instead of multiplication in TileXY()
2009-06-10 13:44:37 +00:00
smatz
6ba1c691ad
(svn r16550) -Codechange: move definition of ScaleByMapSize to header file, use shifts instead of mults
2009-06-10 08:18:40 +00:00
smatz
0f76a15344
(svn r16549) -Codechange: use bool in TileLoopClearHelper
2009-06-10 07:19:48 +00:00
smatz
e300d153cc
(svn r16548) -Fix (r16538): removing of duplicates of base graphics set could behave randomly
2009-06-10 05:36:58 +00:00
smatz
ac991bff90
(svn r16547) -Codechange: make CircularTileSearch a tiny bit faster
2009-06-09 23:34:48 +00:00
smatz
55b1e701e4
(svn r16546) -Codechange: use array member instead of allocating in costructor and freeing in desctructor
2009-06-09 23:22:37 +00:00
smatz
5c934c621d
(svn r16545) -Cleanup: tunnels have been returning correct SlopeZ since r1
2009-06-09 20:04:46 +00:00
smatz
d2ad6d38be
(svn r16544) -Codechange: use double-linked list for vehicle position caches in order to improve performance (~5% with many vehicles)
2009-06-09 17:20:06 +00:00
translators
86f6a61d3b
(svn r16543) -Update: WebTranslator2 update to 2009-06-09 17:05:46
...
russian - 6 deleted, 276 changed by Lone Wolf (282)
2009-06-09 17:05:50 +00:00
smatz
f76c080976
(svn r16542) -Fix [FS#2971](r16307): depend failed on architectures with unsigned char
2009-06-09 13:35:30 +00:00
rubidium
5209b32953
(svn r16538) -Fix (r16503): when finding duplicate graphics sets favour the more complete one
2009-06-08 22:13:10 +00:00
translators
644e879b16
(svn r16537) -Update: WebTranslator2 update to 2009-06-08 17:40:35
...
french - 1 fixed by glx (1)
german - 1 changed by planetmaker (1)
russian - 31 fixed, 89 changed by Lone Wolf (120)
2009-06-08 17:40:46 +00:00
frosch
6d54a1939e
(svn r16536) -Fix (r16535): W != S
2009-06-08 15:44:11 +00:00
frosch
28f8c8b493
(svn r16535) -Fix (r16146): In one case a too small portion of the screen was marked dirty, when (un-)drawing selections.
2009-06-08 15:42:35 +00:00
yexo
76b077ce25
(svn r16534) -Fix [Squirrel] [FS#2942]: fix crash that occured when an AI was halted while one or more generators were still in a 'running' state
2009-06-07 20:20:22 +00:00
translators
a9c6dcfa81
(svn r16533) -Update: WebTranslator2 update to 2009-06-07 17:45:47
...
icelandic - 8 fixed, 50 changed by scrooge (58)
russian - 8 fixed, 28 changed by Lone Wolf (36)
serbian - 100 fixed by etran (100)
2009-06-07 17:45:52 +00:00
yexo
1c754c75d6
(svn r16532) -Fix [Squirrel]: Don't copy an object when we just checked that the pointer to it is NULL
2009-06-07 15:54:37 +00:00
alberth
d7663017e5
(svn r16530) -Fix [FS#2964], (r16501): Deduct additional widget length given away to a child from the total (Hirundo).
2009-06-07 14:34:43 +00:00
yexo
338f75b3b2
(svn r16529) -Fix [NoAI]: StationIDs from oilrigs were not considered valid by the API.
2009-06-07 13:29:09 +00:00
frosch
69107b00cc
(svn r16528) -Fix [FS#2959]: Draw PBS reservation as groundsprite resp. childsprite of foundation/bridgehead.
2009-06-07 13:25:21 +00:00
smatz
af85994f7f
(svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check
2009-06-06 16:54:22 +00:00
smatz
6cf1610a08
(svn r16526) -Fix: don't cast Vehicle to RoadVehicle when it's not a RoadVehicle
2009-06-06 16:49:45 +00:00
frosch
289e8a7f45
(svn r16525) -Codechange: Notify small ufos on deletion of road vehicles, so they can head for somewhere else instead of stumbling over a ghost.
2009-06-06 14:46:50 +00:00
rubidium
8d6dec5e72
(svn r16524) -Fix [FS#2963]: missing guards in the NoAI API making it possible to hit an assert in OpenTTD.
2009-06-06 11:47:21 +00:00
frosch
d98e8fcf90
(svn r16523) -Fix (rNewPool): Segfault when small ufos were heading for deleted vehicles.
2009-06-06 10:40:16 +00:00
yexo
8dba8371e3
(svn r16522) -Fix [FS#2962]: possible assert in ai debug window when an AI was stopped an a human company took it's CompanyID
2009-06-06 01:53:17 +00:00
frosch
a75f564af4
(svn r16521) -Fix [FS#2946] (r13945): Do not access 'compatible_railtypes' for road vehicles. (causing invalid reads since r16391/16392)
2009-06-05 21:19:38 +00:00
yexo
a2c5c2651a
(svn r16520) -Fix [NoAI]: Make sure AIBridge::BuildBridge returns what the documentation says it does (r16244 for AIBridge)
2009-06-05 17:36:39 +00:00
alberth
e77b0adb53
(svn r16519) -Add: Prevent hiding of a window titlebar behind the status bar.
2009-06-05 07:25:26 +00:00
translators
4973d4a290
(svn r16518) -Update: WebTranslator2 update to 2009-06-04 16:25:41
...
swedish - 39 fixed by daishan (39)
2009-06-04 16:25:43 +00:00
alberth
e47ca002d2
(svn r16517) -Codechange: Switched intro-screen and town directory window to nested widget trees.
2009-06-04 14:34:38 +00:00
alberth
cbf2d24ebb
(svn r16516) -Codechange: Added click and drag handling for nested widgets.
2009-06-04 14:07:05 +00:00
alberth
24b2876cb5
(svn r16515) -Codechange: Added scrollbar handling for nested widgets, and finding widgets by type or position in the tree.
2009-06-04 12:46:37 +00:00
alberth
ed0a0a681a
(svn r16514) -Codechange: Add widget flags, and drawing and invalidating.
2009-06-03 21:13:13 +00:00
alberth
bb075195b9
(svn r16513) -Codechange: Add nested widgets root and array to Window, and NWidgetBase::FillNestedArray() to fill the array.
2009-06-03 20:00:33 +00:00
rubidium
bb854f2b97
(svn r16510) -Doc: silence some (AI) doxygen warnings by adding comments about the appropriate things.
2009-06-03 18:47:08 +00:00
yexo
1df82e9702
(svn r16509) -Fix (r16502): All Sleep/DoCommand calls failed instead of only those via a call/acall/pcall function
2009-06-03 15:59:26 +00:00
smatz
4e7ec0035e
(svn r16507) -Fix (r16503): segfault when deleting non-last graphics set
2009-06-03 00:05:51 +00:00
smatz
f74b597c83
(svn r16506) -Fix: count only active clients (not those waiting for map download) when checking min_active_clients limit
2009-06-02 19:56:23 +00:00
rubidium
d7eb9f9d0e
(svn r16505) -Fix [FS#2951] (r16472): since g++ 4.4 the implicit (default) constructor will zero the whole class. This caused all vehicle indices to be 0, which causes all kinds of trouble.
2009-06-02 19:12:28 +00:00
smatz
e6b8b65fcd
(svn r16504) -Fix [FS#2948](r16435): one couldn't build anything in the scenario editor
2009-06-02 12:57:47 +00:00
rubidium
b982ff66f6
(svn r16503) -Fix: base graphics names must be unique, so don't add duplicates (even if the versions differ).
2009-06-02 12:56:38 +00:00
yexo
62a698df32
(svn r16502) -Fix [FS#2935]: when an AI was suspended while in a function called (indirectly) via call/acall/pcall OpenTTD crashed. Fix this by disallowing AIs to be suspended while called via call/acall/pcall.
...
IMPORTANT FOR AI WRITERS: AIs can no longer call any DoCommand functions (change anything, build vehicles, etc.) in a function called (indirectly) via call/acall/pcall. Where possible, please rewrite your code so it doesn't use call/acall/pcall
2009-06-01 22:00:47 +00:00
alberth
85824cf261
(svn r16501) -Codechange: Introduced different phases in resizing a nested widget tree.
2009-06-01 20:45:46 +00:00
translators
afd9e81a47
(svn r16499) -Update: WebTranslator2 update to 2009-06-01 17:32:36
...
luxembourgish - 3 fixed, 11 changed by *jigo* (14)
serbian - 105 fixed by etran (105)
2009-06-01 17:32:40 +00:00
frosch
c9eac207ea
(svn r16498) -Codechange: Remove hardly used HASBITS.
2009-06-01 15:01:54 +00:00
smatz
61e668929f
(svn r16497) -Feature [FS#2870]: Q/W/E/D will now open the landscape toolbar and select appropriate tool
2009-06-01 14:36:36 +00:00
smatz
00cd25b7a2
(svn r16496) -Codechange: remove one useless dynamic_cast<>
2009-06-01 13:34:13 +00:00
alberth
53c60be207
(svn r16495) -Codechange: Renamed a few variables.
2009-06-01 13:28:05 +00:00
smatz
c5240c770c
(svn r16494) -Codechange: cache train's speed limit caused by curves
2009-06-01 13:14:56 +00:00
rubidium
f163217dbb
(svn r16493) -Fix: missing/wrong @file doxygen 'headers'
2009-06-01 12:56:18 +00:00
smatz
d091c7d80f
(svn r16492) -Remove: support for gcc2. It hasn't been able to compile OTTD for months. All attempts to do another workaround failed.
2009-06-01 11:49:46 +00:00
alberth
580e478e4e
(svn r16491) -Codechange: Added parentheses around bitwise operators for code style.
2009-06-01 11:43:36 +00:00
frosch
07b9c68a81
(svn r16490) -Fix: Do not draw train details over the scrollbar.
2009-06-01 08:35:35 +00:00
alberth
dd43a1b97f
(svn r16489) -Fix [FS#2937] (r16258): Do not resize a widget twice (erikjanp)
2009-05-31 20:52:35 +00:00
alberth
49e253d949
(svn r16488) -Codechange [FS#2941]: Use widget numbers of base grap window and cargo payment window in the window handling code (erikjanp)
2009-05-31 20:33:09 +00:00
alberth
627cb3abe2
(svn r16487) -Codechange [FS#2940]: Add widget numbers to news display and news history windows (based on work by erikjanp)
2009-05-31 20:18:47 +00:00
alberth
3174fef27c
(svn r16486) -Codechange [FS#2939]: Added widget numbers to the airport toolbar (based on work by erikjanp)
2009-05-31 19:51:49 +00:00
alberth
02c1ed111d
(svn r16485) -Fix [FS#2938]: Move date in news window a pixel away from the right-edge (erikjanp)
2009-05-31 19:29:40 +00:00
alberth
5207900285
(svn r16484) -Cleanup: Renamed widget variable to widget_index and introduced widget_type variable.
...
-Fix: Prevented out-of-bounds array access when not clicking at a widget.
2009-05-31 14:30:58 +00:00
frosch
eb3965f934
(svn r16483) -Codechange: Enumerate tabs in train details window.
2009-05-31 14:04:19 +00:00
frosch
6e06b592ad
(svn r16480) -Fix (r15617): Invalidate newgrf variable caches of more vehicles in more places. Esp. they were only invalidated for trains.
2009-05-31 12:03:14 +00:00
frosch
749c976e47
(svn r16479) -Fix (r5146): Call callbacks after initialisation of vehicle variables.
2009-05-31 11:31:10 +00:00
frosch
bec5f3f11b
(svn r16478) -Fix (r15378): Determining most common (sub-)cargo-type was broken due to someone confusing similiary named variables.
2009-05-31 11:27:10 +00:00
rubidium
f540a86f95
(svn r16477) -Fix [FS#2936] (r12650): loading indicator when 'unload' in and 'no loading' is off was pointing to the wrong direction.
2009-05-31 11:04:56 +00:00
smatz
b12ba4b751
(svn r16476) -Fix (r16475): wrong version of the patch
2009-05-31 09:34:40 +00:00
smatz
7cd7be48c3
(svn r16475) -Codechange: move code invalidating Vehicle::last_station_visited to more logical place
2009-05-31 09:33:12 +00:00
rubidium
b7dfc3aa0b
(svn r16474) -Fix [FS#2933]: could set company related settings via query window
2009-05-31 09:31:56 +00:00
smatz
e4cbd54748
(svn r16473) -Fix [FS#2934](r16442): show all non-effect vehicles in the minimap, not only effect vehicles
2009-05-30 20:44:34 +00:00
smatz
11d88765cc
(svn r16472) -Codechange: set vehicle type in SpecializedVehicle constructor instead of constructor of each vehicle type
2009-05-30 20:13:12 +00:00
smatz
6c2f88691b
(svn r16470) -Fix (r14293): track reservation was drawn at bridge heads in the menu
2009-05-30 17:43:24 +00:00
translators
e7bdc770f3
(svn r16469) -Update: WebTranslator2 update to 2009-05-30 17:31:31
...
afrikaans - 6 fixed by Chilli (6)
luxembourgish - 290 fixed, 793 changed by *jigo* (1083)
2009-05-30 17:31:35 +00:00
alberth
f608a7d4a6
(svn r16468) -Codechange: Use GetWidgetOfType() for finding an edit box.
2009-05-30 14:18:06 +00:00
alberth
3e78641156
(svn r16467) -Codechange: Unduplicate setting of widget focus (with thanks to Smatz).
2009-05-30 12:41:53 +00:00
alberth
c9e3d041fb
(svn r16466) -Codechange: Improved wording in comments.
2009-05-30 11:42:19 +00:00
alberth
b96e1dc80c
(svn r16465) -Codechange: Eliminated GetGloballyFocusedWidget(), it was used only once.
2009-05-30 11:30:25 +00:00
alberth
ae70c7641f
(svn r16464) -Codechange (r16422): Added a missing const_cast<>
2009-05-30 11:24:06 +00:00
alberth
feaaf78a63
(svn r16463) -Cleanup: Code style fixes.
2009-05-30 11:01:05 +00:00
translators
ad34f67468
(svn r16460) -Update: WebTranslator2 update to 2009-05-29 17:38:27
...
afrikaans - 18 fixed, 6 changed by Chilli (24)
luxembourgish - 114 fixed, 252 changed by *jigo* (366)
2009-05-29 17:38:33 +00:00
smatz
917e1f4fad
(svn r16459) -Codechange: move definition of several cargopacket accessors to header file
2009-05-29 15:46:55 +00:00
smatz
436730d9a0
(svn r16458) -Codechange: use one enum instead of four
2009-05-28 21:54:03 +00:00
rubidium
9f9c1cd29c
(svn r16457) -Fix [FS#2925]: skipping a 'nearest depot order' because none could be found could cause multiple orders to get skipped
2009-05-28 21:12:54 +00:00
yexo
a9a3a9c6a9
(svn r16455) -Fix: don't crash when a newgrf has sounds in an unsupported sound format
2009-05-28 16:43:16 +00:00
yexo
5357fa2467
(svn r16454) -Fix (r16181, r16241): fix the try/catch bug fixed in r16181 and reintroduced in r16241 again, this time without breaking the regression test.
2009-05-27 23:59:51 +00:00
yexo
e7a087b08b
(svn r16453) -Fix: Move some code around so a company is no longer used after deleting it
2009-05-27 23:37:47 +00:00
smatz
05c3a12463
(svn r16452) -Fix: don't trigger station animations when the station was deleted in the same tick
2009-05-27 23:11:52 +00:00
smatz
fa4f521e82
(svn r16451) -Fix (r16449): crash when a spectator (or dedicated server) received news about new engine
2009-05-27 19:37:27 +00:00
translators
d81b3c61e9
(svn r16450) -Update: WebTranslator2 update to 2009-05-27 17:39:46
...
arabic_egypt - 2 fixed by khaloofah (2)
danish - 2 fixed by ThomasA (2)
english_US - 2 fixed by WhiteRabbit (2)
indonesian - 2 fixed, 8 changed by anansboga (10)
romanian - 1 changed by CrystyB (1)
serbian - 100 fixed by etran (100)
2009-05-27 17:39:57 +00:00
rubidium
984f711392
(svn r16449) -Fix [FS#2924]: vehicle recolouring wasn't done for engine preview/news
2009-05-27 17:18:53 +00:00
rubidium
52113477f1
(svn r16448) -Fix [FS#2909]: road vehicles ending up on the pavement when they are in a drive through station that got removed due to bankruptcy
2009-05-27 17:17:06 +00:00
yexo
9b0476951d
(svn r16447) -Fix [FS#2922] (r16444): compiling on x86-64 failed
2009-05-27 00:46:17 +00:00
glx
41b9670bc2
(svn r16446) -Fix (r16378): 'cast to pointer from integer of different size' warning
2009-05-26 23:37:34 +00:00
smatz
01e5c536a7
(svn r16445) -Codechange: update old comments (Yexo)
2009-05-26 23:24:34 +00:00
yexo
18d0a5238f
(svn r16444) -Codechange: Set all company settings to their default value for a new company instead of zeroing them.
2009-05-26 23:14:02 +00:00
smatz
e419fe6d3f
(svn r16442) -Codechange: use new Vehicle accessors at more places
2009-05-26 22:45:48 +00:00
smatz
0c53f04c07
(svn r16441) -Codechange: new class SpecializedVehicle used as superclass for all vehicle types
2009-05-26 22:10:13 +00:00
yexo
c04e5a9aa3
(svn r16440) -Fix [NoAI]: AIRail::GetRailStationDirection returned incorrect information
2009-05-26 22:03:16 +00:00
yexo
f044ad6f80
(svn r16439) -Change: Make the default vehicle servicing settings company-based settings, so in a multiplayer game everyone can change them.
2009-05-26 21:59:49 +00:00
smatz
d8d7a38eb9
(svn r16438) -Fix (r16436): set 'old_company' after modifying '_current_company'
2009-05-26 21:55:49 +00:00
rubidium
78c726d2b1
(svn r16437) -Codechange: remove the hack that for CMD_COMPANY_CTRL the company was changed from spectator to company 0 in the network code.
2009-05-26 21:25:24 +00:00
rubidium
4677b60b73
(svn r16436) -Codechange: always execute 'spectator'/'server' commands as spectator. This to reduce the difference between dedicated and non-dedicated servers and normal clients.
2009-05-26 21:24:11 +00:00
rubidium
e234e88d2d
(svn r16435) -Codechange: don't require the 'user company 0' hack for commands.
2009-05-26 19:23:02 +00:00
rubidium
d39f442bd0
(svn r16434) -Cleanup: remove some dead code; primarily stuff that can't be reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
2009-05-26 15:46:24 +00:00
yexo
68042a6dde
(svn r16433) -Codechange: Remove most of CmdSetAutoreplace and replace it with calls to CmdChangeCompanySetting
2009-05-26 13:29:01 +00:00
smatz
795231995d
(svn r16432) -Feature(tte): use 'scrollto x y' in console to scroll to tile with given coordinates
2009-05-26 13:16:58 +00:00
yexo
272722f12f
(svn r16431) -Fix (16429): Company settings can also be changed in multiplayer games
2009-05-26 12:53:34 +00:00
smatz
72165d32c8
(svn r16430) -Fix: crash when a company is deleted while a dropdown with company names is open
2009-05-26 11:57:52 +00:00
yexo
7eb9ad0415
(svn r16429) -Change: Make the company settings behave like all others settings: the default set in the main menu / config file is now really the default for a new company, and changing the value in game will no longer change the default for new companies.
2009-05-26 11:40:14 +00:00
rubidium
87dfc2a881
(svn r16428) -Codechange: use the less bloated SimpleTinyEnumT instead of TinyEnumT if the stuff provided by TinyEnumT but not SimpleTinyEnumT is not used.
2009-05-26 11:19:04 +00:00
rubidium
82cdacb20c
(svn r16427) -Codechange: replace a few magic numbers with an existing constant and unduplicate a few lines.
2009-05-26 08:53:16 +00:00
rubidium
37b391901a
(svn r16426) -Fix [FS#2921] (r16390): articulated parts got the wrong image assigned
2009-05-26 08:51:33 +00:00
yexo
de04ae2cda
(svn r16425) -Change [FS#2869]: Stop an AI when it takes too long to initialize or load
2009-05-25 21:55:47 +00:00
rubidium
2832d69272
(svn r16422) -Codechange: use const_cast for removing const and warn when const is (accidentally?) removed using C-style casts.
2009-05-24 21:09:00 +00:00
rubidium
c496a3e014
(svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it.
2009-05-24 20:29:04 +00:00
rubidium
49235963aa
(svn r16420) -Fix [FS#2919]: don't allow content download via the console when there's no zlib as it's done for the GUI already
2009-05-24 17:49:08 +00:00
frosch
80e19b12c3
(svn r16418) -Fix: Resolve the company name for 'subsidy awarded'-news when the news are triggered, so it stays valid when the company bankrupts or is taken over.
2009-05-24 17:23:24 +00:00
translators
6d74fb3553
(svn r16417) -Update: WebTranslator2 update to 2009-05-24 17:18:38
...
icelandic - 31 fixed, 14 changed by scrooge (45)
indonesian - 17 fixed by adjayanto (17)
serbian - 84 fixed by etran (84)
2009-05-24 17:18:45 +00:00
frosch
eeb3f75cfe
(svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced vehicles/stations/industries are deleted.
2009-05-24 16:52:42 +00:00
smatz
b86ab81030
(svn r16415) -Fix (r13008): some 64bit architectures require size_t to be aligned at 8-byte boundary, ensure it for MemBlock
2009-05-24 16:28:33 +00:00
frosch
6e06e82bc4
(svn r16414) -Change: Make it harder to ignore/close important error messages. Esp. do not close them automatically after some time.
2009-05-24 12:50:58 +00:00
alberth
0db7c2929e
(svn r16413) -Codechange: Allow leading/trailing whitespace and comma in newgrf parameters instead of treating them as invalid.
2009-05-24 12:49:27 +00:00
frosch
e60a1ec090
(svn r16412) -Cleanup: Shuffle vehicle pointers in AddArticulatedParts(), and remove two of them.
2009-05-24 12:05:27 +00:00
frosch
8ae1c5d908
(svn r16411) -Fix (r16390): Building articulated roadvehicles caused infinite loop due to v->Next() pointing to v itself.
2009-05-24 11:39:35 +00:00
rubidium
a661b157ad
(svn r16410) -Fix (r16307): don't assume the extension starts with the first '.', but with the last '.'. This way depend doesn't fail if there's a dot in your path, e.g. 'gcc-4.4'.
2009-05-24 09:35:46 +00:00
rubidium
65d2a381d9
(svn r16409) -Change: don't add empty lines/duplicates of the previous command to the console's history
2009-05-23 22:40:14 +00:00
frosch
b9e911170a
(svn r16408) -Codechange: Silence a pointless newgrf debug message.
2009-05-23 22:24:09 +00:00
smatz
bebab3cd79
(svn r16407) -Fix [FS#2913]: set CargoPacket::source to INVALID_STATION when source station is deleted
2009-05-23 19:43:09 +00:00
smatz
c1861060f7
(svn r16406) -Codechange: constify parameters of CheckSubsidised()
2009-05-23 19:26:00 +00:00
alberth
6bad10d216
(svn r16405) -Codechange: Move widget drawing code to functions to allow re-use.
2009-05-23 18:06:29 +00:00
rubidium
9f5d8d0f56
(svn r16404) -Fix [FS#2911] (r16378): the number of spritegroups got halved when the new pool was added, which mean there weren't enough spritegroups when you have more than about a dozen ECS vectors.
...
-Change: increase the spritegroup pool's maximum size to something more than the number of real sprites that OpenTTD can handle; for example ECS has about 30 spritegroups per real sprite. With the 'old' limit that would mean 'only' about 4000 real sprites worth of spritegroups could be loaded.
2009-05-23 16:39:55 +00:00
smatz
1eb48cdded
(svn r16403) -Codechange: move code related to subsidies to separate file
2009-05-23 15:46:00 +00:00
rubidium
846382a0f3
(svn r16402) -Codechange: make Resolve a function of SpriteGroup
2009-05-23 15:25:52 +00:00
yexo
2d8609080f
(svn r16400) -Add [NoAI]: add AISignList that can be used to get a list of valid signs. This makes AISign::GetMaxSignID obsolete.
2009-05-23 14:54:55 +00:00
frosch
a368f8615d
(svn r16399) -Fix (r4540): Don't treat pointer values as integer.
2009-05-23 13:42:02 +00:00
rubidium
fd016d5d09
(svn r16398) -Feature: make NewGRF callbacks work again; honouring the 'features' of 0.3.2.1, which was released only 5 years ago.
2009-05-23 12:56:30 +00:00
rubidium
6cfc38b97c
(svn r16397) -Codechange: move GetVehicleOrder/GetLastVehicleOrder into Vehicle
2009-05-23 12:27:42 +00:00
rubidium
730b411878
(svn r16396) -Codechange: split NewGRF spritegroup into multiple subclasses instead of using a big union
2009-05-23 12:13:42 +00:00
smatz
329407e9bc
(svn r16395) -Fix (r16379): max sign ID can be higher than total number of signs
2009-05-23 11:13:43 +00:00
rubidium
cd382b28a3
(svn r16394) -Codechange: move (NewGRF) cache variables into a separate struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
2009-05-23 09:10:56 +00:00
rubidium
4c0542c17f
(svn r16393) -Codechange: move VehicleRail to Train.
2009-05-22 22:55:41 +00:00
rubidium
6350648a6c
(svn r16392) -Codechange: move some variables (the ones that aren't caches) from VehicleRail to Train
2009-05-22 22:33:05 +00:00
rubidium
1324100d69
(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.
2009-05-22 22:22:46 +00:00
rubidium
489253b630
(svn r16390) -Codechange: move u.road to RoadVehicle.
2009-05-22 20:22:20 +00:00
rubidium
1ceb349779
(svn r16389) -Codechange: use RoadVehicle instead of Vehicle where appropriate
2009-05-22 20:18:45 +00:00