yexo
da5d63e260
(svn r16753) -Fix (r16740): Don't check the width of the same string 4 times, but pick the maximum width of all difficulty levels
2009-07-05 16:55:26 +00:00
yexo
96201f1a41
(svn r16752) -Codechange: Remove most of the window-changing code from AirportPickerWindow::OnPaint
2009-07-05 16:50:56 +00:00
alberth
b9f181afc9
(svn r16751) -Fix (r16740): Do not crash when using a non-standard font size in the widgets.
2009-07-05 16:26:42 +00:00
yexo
2ac03f6271
(svn r16750) -Fix: mark the intro gui dirty when changing the difficulty level to avoid glitches on the difficulty button
2009-07-05 16:14:50 +00:00
alberth
d95f548576
(svn r16749) -Codechange: Rail toolbar uses nested widget tree only.
2009-07-05 15:53:47 +00:00
alberth
abd37177f2
(svn r16748) -Codechange: Don't cast away constness.
2009-07-05 15:01:36 +00:00
alberth
e1a26058e9
(svn r16747) -Fix: Non-resized windows also need a post re-init SetDirty.
2009-07-05 14:26:29 +00:00
smatz
59f94619c7
(svn r16746) -Codechange: use Town::PostDestructor() instead of not very clean construct for invalidating nearest town for road tiles
2009-07-05 13:21:51 +00:00
smatz
c861d9b64b
(svn r16745) -Fix [FS#3011]: invalidate JoinStation window after removing item from the pool
2009-07-05 13:20:05 +00:00
translators
4c6a4e3ab2
(svn r16743) -Update from WebTranslator v3.0:
...
german - 18 changes by planetmaker
2009-07-04 17:45:07 +00:00
alberth
d65c6cae54
(svn r16740) -Codechange: Self-sizing widgets in intro screen, town directory, and found town windows.
2009-07-04 15:35:36 +00:00
alberth
2385aeae3c
(svn r16739) -Codechange: Initialize internal data before computing the widgets.
2009-07-04 14:13:23 +00:00
alberth
c7c422465a
(svn r16738) -Codechange: Remove casting away constness by changing the text before storing.
2009-07-04 13:55:28 +00:00
frosch
7d90c06eb9
(svn r16737) -Fix (r15645): When loading a savegame Engine::grffile might be left NULL in certain cases. (dynamic_engines enabled, articulated vehicle with only wagon-override action3s)
2009-07-04 12:20:42 +00:00
rubidium
571dfb9055
(svn r16736) -Codechange: give some station enums a name and use that instead of 'byte'.
2009-07-04 11:26:57 +00:00
rubidium
65f77a7bee
(svn r16735) -Codechange: had_vehicle_of_type only stored 7 bits, all less that bit 7... but it was a word wasting space etc.
2009-07-04 11:24:25 +00:00
alberth
527dd3dcf7
(svn r16734) -Codechange: Prepare intro, town directory, and found town windows for more flexible widget contents.
2009-07-03 22:25:59 +00:00
alberth
50ca187524
(svn r16733) -Codechange: Move rebuilding and sorting the town list out of TownDirectoryWindow::OnPaint.
2009-07-03 21:38:41 +00:00
rubidium
ab67cf0031
(svn r16732) -Fix [FS#2991]: show Close instead of Cancel when there's nothing to canel in the content downloading window.
2009-07-03 21:08:18 +00:00
yexo
a6b0f0b51a
(svn r16731) -Fix [NoAI]: AIDepotList contained wrong tiles for hangars when st->xy != st->airport_tile.
2009-07-03 19:55:07 +00:00
alberth
f5d9760824
(svn r16730) -Doc: Added some missing docs (most notably the class/struct docs) to GUIList template.
2009-07-03 19:34:28 +00:00
translators
ff402e7ea0
(svn r16729) -Update from WebTranslator v3.0:
...
german - 7 changes by planetmaker
hebrew - 2 changes by yitzc
indonesian - 28 changes by fanioz
korean - 1 changes by darkttd
brazilian_portuguese - 85 changes by Tucalipe
turkish - 23 changes by niw3
2009-07-03 17:45:22 +00:00
smatz
e7be1c74cf
(svn r16728) -Fix (r14919): the Join station window didn't show all stations nearby in some cases
2009-07-03 13:33:00 +00:00
alberth
3c50a66ced
(svn r16727) -Codechange: Introducing WD_SORTBUTTON_ARROW_WIDTH constant.
2009-07-02 21:18:22 +00:00
translators
7e852ab446
(svn r16726) -Update from WebTranslator v3.0:
...
indonesian - 26 changes by fanioz
italian - 8 changes by lorenzodv
korean - 29 changes by darkttd
swedish - 74 changes by daishan
2009-07-02 17:45:16 +00:00
frosch
6ffa9f50db
(svn r16725) -Documentation: raw_industry_cost_multiplier
2009-07-02 17:08:54 +00:00
smatz
1e6a12b75b
(svn r16724) -Fix (r16714): MSVC 64bit warnings (Rubidium)
2009-07-02 12:47:52 +00:00
smatz
6a0855f0d1
(svn r16723) -Codechange: make GetNextArticPart(), GetLastEnginePart(), GetNextVehicle(), GetPrevVehicle(), GetNextUnit(), GetPrevUnit() members of Train
2009-07-02 12:10:39 +00:00
rubidium
4d14c1b534
(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions
2009-07-02 09:06:15 +00:00
rubidium
61e735ba4c
(svn r16721) -Codechange: make Is/SetRoadVehicleFront, Is/Set/HasArticulatedPart member of RoadVehicle.
2009-07-02 08:59:27 +00:00
smatz
77eaefb61c
(svn r16720) -Codechange: make Set/ClearFrontEngine(), Set/ClearArticulatedPart(), Set/ClearWagon(), Set/ClearEngine(), Set/ClearFreeWagon() and Set/ClearMultiheaded() members of Train
2009-07-02 00:17:27 +00:00
smatz
d86e17d65a
(svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
2009-07-01 23:57:20 +00:00
smatz
ecfaa0564d
(svn r16718) -Codechange: make IsFreeWagon() member of Train
2009-07-01 23:49:13 +00:00
smatz
adc5363202
(svn r16717) -Codechange: make IsFrontEngine() member of Train
2009-07-01 22:22:01 +00:00
smatz
15990079ce
(svn r16716) -Codechange: reduce code duplication in DrawCompanyVehiclesAmount()
2009-07-01 21:33:06 +00:00
smatz
93c5300fc5
(svn r16715) -Codechange: add attribute to assert_compile(), so it doesn't warn when used inside function
2009-07-01 21:29:03 +00:00
smatz
76a50ce94d
(svn r16714) -Codechange: use pool-like accessors for Subsidy
2009-07-01 18:45:05 +00:00
smatz
aaeb53066d
(svn r16713) -Doc: document the Subsidy struct
2009-07-01 18:18:12 +00:00
translators
973adfe98a
(svn r16712) -Update from WebTranslator v3.0:
...
afrikaans - 23 changes by burgerd
dutch - 8 changes by Yexo
french - 8 changes by glx
german - 29 changes by dihedral, planetmaker
indonesian - 14 changes by fanioz
italian - 43 changes by lorenzodv
malay - 55 changes by Syed
2009-07-01 17:45:22 +00:00
smatz
f4d0d94184
(svn r16711) -Codechange: use FOR_ALL_SUBSIDIES macro when iterating over all subsidies
2009-07-01 17:43:26 +00:00
smatz
023f78b5ff
(svn r16710) -Fix: invalidate subsidies with invalid source or destination when converting older savegames
2009-07-01 15:08:43 +00:00
rubidium
927c4a0fe8
(svn r16709) -Fix [FS#2994]: the list of animated tiles could have duplicates (only for old savegames) and tiles that weren't animated
2009-07-01 14:51:05 +00:00
rubidium
8db99f57f8
(svn r16708) -Cleanup: do not try to indent strings using spaces, especially strings that span multiple lines; it will not get the effect you want. Also do not indent at different levels in different strings that will be shown on the same place.
2009-07-01 09:53:54 +00:00
rubidium
3884221a94
(svn r16707) -Fix [FS#3007] (r16693): under some circumstances vehicles would skip loading as they thought nothing could be unloaded or loaded.
2009-07-01 09:50:52 +00:00
rubidium
8e804a4b6c
(svn r16706) -Fix (r16694): acquiring a subsidy resulted in an assertion.
2009-07-01 09:45:30 +00:00
translators
e3627dabda
(svn r16703) -Update from WebTranslator v3.0:
...
catalan - 1 changes by arnaullv
traditional_chinese - 7 changes by elleryq
danish - 3 changes by silentStatic
dutch - 4 changes by Excel20
estonian - 34 changes by kristjans
german - 7 changes by dihedral
greek - 24 changes by Gonik
malay - 30 changes by Syed
romanian - 68 changes by kneekoo
2009-06-30 17:45:27 +00:00
rubidium
65191b077d
(svn r16702) -Change: don't implicitly fall back to the null/dedicated (video) drivers, but show an error message that no driver could be found. You can still explicitly start the null drivers thought.
2009-06-30 16:20:16 +00:00
rubidium
b7c8026a3d
(svn r16701) -Fix [FS#3001]: limit the screen's resolution to 65535x65535 so the dirty pixels stay within bounds of a 32 bits integer
2009-06-30 12:42:43 +00:00
rubidium
c29afac0a7
(svn r16700) -Fix: if allegro fails to start or fails open a window or sound card fall back to another driver
2009-06-30 12:38:18 +00:00
rubidium
791187cd12
(svn r16699) -Fix [FS#3001]: if SDL fails to allocate a surface due to it being too large (and SDL doesn't crash!) fall back to another video driver.
2009-06-30 12:36:24 +00:00
translators
ccf2682269
(svn r16697) -Fix (r16696): don't silently introduce old ##case for some languages
2009-06-30 10:19:14 +00:00
translators
5ce1184775
(svn r16696) -Change: make order of pragmas identical for all languages (and to what strgen defines it to be)
...
-Change: make order of cases identical to what the case-pragma indicates
2009-06-30 10:14:17 +00:00
translators
e32a51c8b7
(svn r16695) -Update: WebTranslator2 update to 2009-06-30 10:00:57
...
japanese - 6 fixed by nex259 (6)
norwegian_bokmal - 8 fixed by jankmi (8)
portuguese - 9 fixed by SnowFlake (9)
serbian - 111 fixed by etran (111)
spanish - 1 fixed by erregerre (1)
2009-06-30 10:01:05 +00:00
rubidium
985608c713
(svn r16694) -Fix [FS#2995] (rgradual loading, rnewindustries): only pay for whatever has been actually unloaded and perform the payment when unloading has finished. This fixes, amongst others:
...
* cheating by starting to unload and after getting paid rushing to the depot to get sold (or unloading, loading and getting paid again for the remainder)
* cargo being dropped onto a station at the moment a stockpiling industry doesn't accept it anymore
* industries getting cargo that has not been unloaded yet and subsequently dumping it back on the station in one go
Note: you will now get paid after the unloading has finished, so you'll have to wait a bit longer for 'your' money.
2009-06-29 19:55:36 +00:00
rubidium
80043e688e
(svn r16693) -Fix [FS#3004] (r16883): cargo income was not added to the vehicle's profit.
2009-06-29 19:17:23 +00:00
translators
fa4fc71e11
(svn r16692) -Update from WebTranslator v3.0:
...
ukrainian - 3 changes by Madvin
2009-06-29 17:45:07 +00:00
rubidium
5375b32aee
(svn r16691) -Codechange: what's the point of getting the fifth dparam and then using that as the second dparam later on? Especially when the fifth dparam is never set and the second dparam is never used.
2009-06-29 09:32:58 +00:00
michi_cc
b43a4f6787
(svn r16690) -Fix [FS#3002]: Missing debug string for ESRB_SAFE_TILE in YAPF debugging helper.
2009-06-28 22:42:19 +00:00
alberth
baab325b54
(svn r16689) -Codechange: Allow for rendering of parameterized text of nested widgets in Window::DrawWidget, adapt intro and town directory windows.
2009-06-28 22:23:26 +00:00
alberth
d5a42ee825
(svn r16688) -Codechange: Some cleanup of intro screen and town directory.
2009-06-28 21:23:37 +00:00
alberth
058bb5d6c3
(svn r16687) -Codechange: Perform re-initialization of windows with nested widgets after a language change.
2009-06-28 20:09:40 +00:00
translators
337c707fa1
(svn r16686) -Update from WebTranslator v3.0:
...
german - 4 changes by planetmaker
2009-06-28 17:45:07 +00:00
translators
02500a4e04
(svn r16685) -Update: WebTranslator2 update to 2009-06-28 17:40:12
...
korean - 3 fixed, 28 changed by leejaeuk5 (31)
2009-06-28 17:40:14 +00:00
alberth
8fba82c99b
(svn r16684) -Codechange: Add maxdim function for Dimension struct.
2009-06-28 15:16:57 +00:00
rubidium
18bc39d00b
(svn r16683) -Codechange: move the cargo payment handling to a seperate class. Based on ideas of fonso/fonsinchen.
2009-06-28 15:12:59 +00:00
rubidium
043af83a03
(svn r16682) -Codechange: make (static) industry list used to trigger the industries' production compile unit static instead of passing it around as pointer
2009-06-28 14:36:25 +00:00
rubidium
778e92cf54
(svn r16681) -Codechange: only resolve the company once for vehicle payment instead of each time a cargo packet is delivered
2009-06-28 14:33:10 +00:00
rubidium
eb4380f5ea
(svn r16680) -Codechange: don't go through all the station unloading stuff when there is no vehicle at the station
2009-06-28 14:29:58 +00:00
frosch
1e09854cb7
(svn r16679) -Codechange: Let GetCapacityOfArticulatedParts() return a CargoArray instead of a pointer to a static array.
2009-06-27 21:36:04 +00:00
frosch
a288e4d82f
(svn r16678) -Codechange: Turn CargoArray into a class, so one does not have to deal with sizeof() wrt. typedef-ed arrays.
2009-06-27 21:06:58 +00:00
alberth
9b070b5405
(svn r16677) -Codechange: Dimension width and height are unsigned.
2009-06-27 20:53:45 +00:00
frosch
812ad41f23
(svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its instances to more meaningful names.
2009-06-27 18:26:50 +00:00
translators
e42deae3a9
(svn r16675) -Update from WebTranslator v3.0:
...
german - 19 changes by planetmaker
ukrainian - 21 changes by Madvin
2009-06-27 17:45:10 +00:00
translators
bbf5d7de21
(svn r16674) -Update: WebTranslator2 update to 2009-06-27 17:32:13
...
estonian - 1 fixed by kristjans (1)
slovak - 38 fixed by James (38)
traditional_chinese - 9 fixed, 15 changed by josesun (24)
2009-06-27 17:32:18 +00:00
smatz
50b5678e26
(svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() and change its behaviour accordingly
2009-06-27 17:05:20 +00:00
alberth
996e5eea47
(svn r16672) -Codechange: Add functions to compute size of strings and sprites.
2009-06-27 11:45:05 +00:00
alberth
9489490e48
(svn r16671) -Doc: Documenting Sprite structure.
2009-06-26 23:20:32 +00:00
alberth
56122e377b
(svn r16670) -Codechange: Containers with equally sized children are useful to have.
2009-06-26 21:25:25 +00:00
frosch
c4418d243a
(svn r16669) -Cleanup (r1): Only animated tiles are... animated.
2009-06-26 20:03:16 +00:00
translators
9e84a6ae1c
(svn r16668) -Update from WebTranslator v3.0:
...
dutch - 43 changes by Yexo
ukrainian - 34 changes by Madvin
2009-06-26 17:45:11 +00:00
smatz
ff33ed94ce
(svn r16667) -Codechange: replace GetRandomTown() and GetRandomIndustry() by Town::GetRandom() and Industry::GetRandom()
2009-06-26 15:08:54 +00:00
smatz
b668c24d46
(svn r16666) -Codechange: replace GetHouseSpecs() by HouseSpec::Get(), hide _house_specs[]
2009-06-26 14:02:27 +00:00
smatz
af78d6a9bb
(svn r16665) -Codechange: replace GetTownByTile() by Town::GetByTile()
2009-06-26 13:46:23 +00:00
smatz
e6a165881c
(svn r16664) -Codechange: move house-related stuff from town.h and town_type.h to separate files
2009-06-26 13:44:14 +00:00
smatz
2987f02144
(svn r16663) -Codechange: make removing of railway station tiles faster
2009-06-26 12:25:53 +00:00
smatz
90554ee390
(svn r16662) -Codechange: replace GetRoadStopByTile() by RoadStop::GetByTile()
2009-06-26 10:45:20 +00:00
smatz
f2e55319dd
(svn r16661) -Codechange: move definition of few very short functions to header files
2009-06-25 23:49:59 +00:00
smatz
c0ac230e3e
(svn r16660) -Codechange: get rid of more dummy tile_type_procs
2009-06-25 20:08:59 +00:00
smatz
c30a87758f
(svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() and change its behaviour accordingly
...
-Codechange: remove dummy GetAcceptedCargo_*() handlers
2009-06-25 19:23:09 +00:00
translators
103bff508b
(svn r16658) -Update from WebTranslator v3.0:
...
dutch - 42 changes by Excel20
german - 26 changes by dihedral, mjreaper, planetmaker
hungarian - 39 changes by alyr
ukrainian - 47 changes by Madvin
2009-06-25 17:45:18 +00:00
translators
0745707464
(svn r16657) -Update: WebTranslator2 update to 2009-06-25 16:41:10
...
finnish - 1 fixed by jpx_ (1)
serbian - 110 fixed by etran (110)
2009-06-25 16:41:13 +00:00
smatz
6915643a99
(svn r16656) -Fix (r16655): strange things happen
2009-06-25 16:07:23 +00:00
smatz
38477f2b36
(svn r16655) -Codechange: use IsRailwayStationTile() more
2009-06-25 15:54:06 +00:00
smatz
fa1ad0fd3c
(svn r16654) -Codechange: cache industries in station's coverage area instead of searching them everytime payment is made
2009-06-25 15:42:03 +00:00
smatz
8bc244d14e
(svn r16653) -Fix (r16269): TOC() macro was broken
2009-06-25 00:06:06 +00:00
smatz
029fb9bdee
(svn r16652) -Codechange: use less strict, but faster check for quickly bailing out in FindTrainCollideEnum() (Bilbo)
...
-Codechange: shuffle the code a bit
2009-06-24 23:59:20 +00:00
yexo
d45b27c46b
(svn r16651) -Fix: When there is no AI version that can load data from the savegame, load the latest version of the same AI instead of a random AI.
2009-06-24 23:34:30 +00:00
yexo
cc07a78577
(svn r16650) -Fix (r16649): missing ()
2009-06-24 23:24:01 +00:00
yexo
2970b72e59
(svn r16649) -Fix: When the exact AI version a game was saved with is no longer available and the latest version of the AI can't load data from that AI version, use the latest available version of the AI that can load the data instead of the first found version that can load the data.
2009-06-24 23:23:08 +00:00
yexo
8bc9adde19
(svn r16648) -Codechange: move some more includes around
2009-06-24 22:38:47 +00:00
yexo
44c15e4196
(svn r16647) -Codechange: remove newgrf.h include from newgrf_engine.h to prevent unnecessary inclusion newgrf.h anyway
2009-06-24 21:33:11 +00:00
smatz
05c695a647
(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()
2009-06-24 19:26:41 +00:00
translators
fd4a9a9106
(svn r16645) -Update from WebTranslator v3.0:
...
russian - 6 changes by Lone_Wolf
2009-06-24 17:45:07 +00:00
translators
8f7b6536ab
(svn r16644) -Update: WebTranslator2 update to 2009-06-24 17:43:08
...
czech - 1 fixed by Hadez (1)
hungarian - 1 fixed by IPG (1)
indonesian - 1 fixed by adjayanto (1)
2009-06-24 17:43:13 +00:00
smatz
8343340acb
(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
2009-06-24 17:39:54 +00:00
smatz
b18bf87c90
(svn r16642) -Codechange: use map size limits enum at one more place
2009-06-23 23:42:37 +00:00
smatz
986cc75a12
(svn r16641) -Codechange: reduce number of multiplications done in FindTrainCollideEnum() to minimum
2009-06-23 23:31:43 +00:00
smatz
0045096403
(svn r16640) -Codechange: move roadstop stuff to separate files
2009-06-23 21:44:48 +00:00
smatz
8bb88e5f72
(svn r16639) -Codechange: enumify RoadStop::status, move definition of short functions to header file
2009-06-23 21:12:48 +00:00
smatz
64455d14ea
(svn r16637) -Cleanup: remove unused _debug_station_level
2009-06-23 20:39:41 +00:00
smatz
33ce857271
(svn r16636) -Codechange: no need to initialize already zeroed variables by zero in station and rs constructors, remove debug output
2009-06-23 20:32:51 +00:00
rubidium
bfe20321e7
(svn r16635) -Fix: a couple of MSVC 64 bits warnings
2009-06-23 20:29:59 +00:00
smatz
22cf8d8480
(svn r16634) -Codechange: use Company::IsHumanID() instead of IsHumanCompany()
2009-06-23 12:11:35 +00:00
smatz
192b9bda7b
(svn r16633) -Codechange: remove checks for consistency of newpool
2009-06-23 10:44:46 +00:00
smatz
a50ba1b8c1
(svn r16632) -Codechange: rename Town::flags12 to Town::flags
2009-06-23 09:52:26 +00:00
smatz
5ef0745254
(svn r16631) -Fix (r1826)(r1881)(r9613): loading of some town data from old savegames was broken
2009-06-23 09:46:29 +00:00
glx
70f6cee9ce
(svn r16630) -Fix (r16629): forgot a continue
2009-06-23 00:04:37 +00:00
glx
e6af53ea01
(svn r16629) -Fix: depend hang on solaris
...
-Fix: depend do not append delimiter string before deps for non empty files
-Add: support for -s option (starting string delimiter)
2009-06-22 23:57:33 +00:00
smatz
d703f0c3b5
(svn r16628) -Codechange: remove one gcc2 hack
2009-06-22 23:15:27 +00:00
smatz
4f0e62deb6
(svn r16627) -Fix: warning about comparing signed and unsigned types
2009-06-22 22:04:48 +00:00
rubidium
d5ff6c7423
(svn r16625) -Fix: unsigned vs signed warning in strgen
2009-06-22 20:35:14 +00:00
rubidium
95a1bbdd7d
(svn r16622) -Fix: {CARGO} only consumes 1 argument
2009-06-22 19:09:48 +00:00
translators
ace1baf9c3
(svn r16621) -Update: WebTranslator2 update to 2009-06-22 17:28:43
...
dutch - 1 fixed by Excel20 (1)
german - 1 fixed by planetmaker (1)
italian - 1 fixed by lorenzodv (1)
russian - 5 fixed, 13 changed by Lone Wolf (18)
slovenian - 1 fixed by Necrolyte (1)
2009-06-22 17:28:50 +00:00
rubidium
c8d13c521a
(svn r16620) -Fix (r16619): sometimes one misses the obvious :(
2009-06-21 21:08:20 +00:00
rubidium
7ed618997f
(svn r16619) -Cleanup: more coding style in airport stuff.
2009-06-21 21:05:06 +00:00
frosch
b07ef35f44
(svn r16618) -Fix (r16614): Silence a warning.
2009-06-21 20:59:30 +00:00
rubidium
acff607624
(svn r16617) -Cleanup: some incorrect indenting
2009-06-21 20:57:01 +00:00
translators
2eca42f5be
(svn r16616) -Update from WebTranslator v3.0:
...
french - 41 changes by glx
2009-06-21 17:37:07 +00:00
yexo
2aeaa7a11a
(svn r16615) -Fix (r16613): 0x10 != 2
2009-06-21 13:30:21 +00:00
yexo
c7bd6c8d34
(svn r16614) -Codechange: Make the airport min/max available year a property of the Airport class.
...
-Change: rename station.always_small_airport to station.never_expire_airports to make it more future-proof
2009-06-21 13:26:30 +00:00
yexo
548a605263
(svn r16613) -Fix [NewGRF]: some of the var action 2 80+ variables contained wrong results due to OpenTTD codechanges
2009-06-21 10:11:04 +00:00
alberth
41c8baa7dc
(svn r16612) -Fix (r16605): ASCII_LETTERSTART should be defined unconditionally (leeus)
2009-06-21 08:35:05 +00:00
belugas
6262d3bb73
(svn r16611) -Doc Fix(r16606): "then" became "the" and now is gone.
...
In other words, fix a comment ;)
2009-06-20 23:22:46 +00:00
rubidium
460d99abcf
(svn r16610) -Fix: remove rogue space before '?'
2009-06-20 19:23:45 +00:00
alberth
e994d1ddaa
(svn r16609) -Codechange: Introduction of widget sizes and offsets used while drawing.
2009-06-20 18:06:37 +00:00
translators
05bb636ba4
(svn r16607) -Update: WebTranslator2 update to 2009-06-20 17:50:41
...
estonian - 1 changed by lible (1)
russian - 31 fixed, 40 changed by Lone Wolf (71)
2009-06-20 17:50:44 +00:00
alberth
c1ef6abc6a
(svn r16606) -Doc: Added/fixed doxygen comments.
2009-06-20 15:48:55 +00:00
alberth
0aed5bf7d7
(svn r16605) -Codechange: Move ASCII_LETTERSTART to the right source file.
2009-06-20 15:25:28 +00:00
alberth
8aa51823fc
(svn r16604) -Codechange: Use FS_BEGIN for iterating over fonts.
2009-06-20 15:05:59 +00:00
smatz
4419366f94
(svn r16603) -Codechange: enumify map size limits (based on a patch by Bilbo)
2009-06-20 11:25:39 +00:00
peter1138
88ec646c1f
(svn r16602) -Fix (r13831): Antialiased fonts broken; check pixel_mode instead of palette_mode. (Why did it work at some point?)
2009-06-20 09:35:22 +00:00
rubidium
9b156c1bd4
(svn r16601) -Fix [FS#2880]: try 2... hopefully better this time
2009-06-19 20:26:18 +00:00
frosch
83f8d52a67
(svn r16600) -Fix: Give a more meaningful error message when console commands expect an integer but don't get one.
2009-06-19 15:48:13 +00:00
rubidium
6a3a304283
(svn r16599) -Fix [FS#2987] (r16584): reset the 'current' font size after drawing, this way we won't draw other strings too small; only caused problems when tiny/big text strings would use SETX.
2009-06-19 12:08:44 +00:00
smatz
0961668e14
(svn r16596) -Fix (r16378): there were several hundreds of empty signs above tile 0 after loading TTO/TTD savegame
2009-06-18 18:13:38 +00:00
translators
ca15d98db3
(svn r16595) -Update: WebTranslator2 update to 2009-06-18 17:50:03
...
russian - 31 fixed, 11 changed by Lone Wolf (42)
2009-06-18 17:50:05 +00:00
rubidium
904d2bc458
(svn r16594) -Fix [FS#2969]: mouse would under some circumstances not be undrawn when drawing the first chat line causing two mouse pointers to be visible.
2009-06-18 17:16:29 +00:00
rubidium
1359471d3f
(svn r16593) -Cleanup: realign the TTDP flags table.
2009-06-18 15:59:21 +00:00
rubidium
a497e3ff4a
(svn r16592) -Fix [FS#2880]: 'connection lost' was also shown when the client was 'leaving'.
2009-06-18 15:05:45 +00:00
rubidium
cdc0c092f1
(svn r16591) -Codechange: some coding style in strgen
2009-06-18 11:17:55 +00:00
rubidium
98b4f1fce2
(svn r16590) -Fix [FS#2967]: don't crash when tars/newgrfs are removed, just tell the file could be opened/found.
2009-06-18 09:47:06 +00:00
translators
05e5f80ebd
(svn r16587) -Update: WebTranslator2 update to 2009-06-17 17:39:59
...
estonian - 16 changed by lible (16)
russian - 10 changed by Lone Wolf (10)
slovenian - 27 fixed by Necrolyte (27)
2009-06-17 17:40:41 +00:00
rubidium
35aabc1d4c
(svn r16586) -Codechange: don't store lifelength in the savegame; it can easily be calculated, it isn't used often and now changing extend_vehicle_life in game has some effect.
2009-06-17 17:13:30 +00:00
yexo
d09d3566dd
(svn r16585) -Add [NoAI]: AIBuoyList to get a list of all buoys
2009-06-17 13:12:08 +00:00
rubidium
121a569125
(svn r16584) -Fix [FS#2965]: sometimes SETX/SETXY would lead to unexpected results for NewGRF texts.
...
Note: This readds support for centering strings with SETX, however the text part of the string will not be in the exact center, as the SETX offsets that.
Note: All means of aligning vehicle names behind wide sprites (SETX or lots of spaces) in the buy menu will cause the vehicle names to be misaligned in other places, like the new vehicle news message, exclusive use of vehicle message, detailed vehicle information or autoreplace.
2009-06-17 13:04:37 +00:00
rubidium
56fea2bb2b
(svn r16583) -Update: the order of the language files so it's in sync with english.txt. Normally WT2 would do this, but only with activity for those languages. Now we'd like to the order to match so we can more easily spot import bugs while developing WT3.
2009-06-16 22:04:36 +00:00
translators
67876f56e9
(svn r16582) -Update: WebTranslator2 update to 2009-06-16 17:10:36
...
estonian - 3 fixed, 47 changed by lible (50)
russian - 31 fixed, 225 changed by Lone Wolf (256)
2009-06-16 17:10:40 +00:00
rubidium
512b021e26
(svn r16581) -Codechange: unify the access to Engine::lifelength.
2009-06-16 13:52:18 +00:00
rubidium
4b05617c42
(svn r16580) -Codechange: rename Engine::image_index to original_image_index to not confuse it with image_index from *VehInfo.
2009-06-16 13:31:06 +00:00
rubidium
20f73b2f50
(svn r16579) -Codechange: rework smallmap code a bit; remove goto, remove some unneeded variables, return value directly instead of writing it to a variable to later return that
2009-06-16 10:46:11 +00:00
translators
238872d3bd
(svn r16578) -Update: WebTranslator2 update to 2009-06-14 17:33:27
...
russian - 39 fixed, 121 changed by Lone Wolf (160)
simplified_chinese - 3 fixed by ww9980 (3)
traditional_chinese - 3 fixed by ww9980 (3)
2009-06-14 17:33:32 +00:00
rubidium
fa1dcd4194
(svn r16577) -Fix: signed/unsigned comparison
2009-06-14 17:02:09 +00:00
rubidium
28e6b46a41
(svn r16576) -Fix: show the line of the translation file that has the fault and not the line of the string in english.txt.
2009-06-14 17:01:12 +00:00
alberth
f23afd988f
(svn r16575) -Fix (r15760): Move resize sprite to the right when widget is lowered for RTL languages also.
2009-06-14 15:50:39 +00:00
rubidium
4cd94e17a1
(svn r16574) -Codechange: reorder stuff in NetworkGameInfo so compilers waste less bytes aligning stuff and fix the comment of the structs.
2009-06-13 22:48:41 +00:00
rubidium
f8bccce555
(svn r16573) -Fix: [Network] Always send the starting date from the game you're currently playing instead the starting date from the config file.
2009-06-13 12:06:31 +00:00
rubidium
2a7b07137a
(svn r16572) -Codechange: also catch FPEs in saveload and the warning about missing NewGRFs; only happens when assertions are disabled and NewGRFs are missing.
2009-06-13 12:03:37 +00:00
smatz
62f120b296
(svn r16571) -Fix [FS#2974](r16322): in some cases, train could be stuck in depot
2009-06-13 10:22:22 +00:00
yexo
ea03c76bd6
(svn r16569) -Codechange: remove the gaps in the AirportTiles enum
2009-06-12 19:44:47 +00:00
yexo
1e9ddd18b3
(svn r16568) -Codechange: rename all arrays with airport-tile sprites
2009-06-12 18:32:10 +00:00
yexo
f0e31a36df
(svn r16567) -Fix (r16566): some minor corrections
2009-06-12 15:31:38 +00:00
yexo
4b34957987
(svn r16566) -Codechange: enumify all airport tiles
2009-06-12 14:53:57 +00:00
translators
88a20b7ea2
(svn r16565) -Update: WebTranslator2 update to 2009-06-11 17:32:14
...
russian - 3 fixed, 1 deleted, 209 changed by Lone Wolf (213)
serbian - 95 fixed by etran (95)
2009-06-11 17:32:17 +00:00
yexo
b3c3cf6e6d
(svn r16563) -Fix [NoAI]: AIMarine::AreWaterTilesConnected didn't return true for bridge head<>neighbouring water tile
2009-06-11 14:29:03 +00:00
yexo
f92feb2a95
(svn r16562) -Revert (r16561)
2009-06-11 14:17:26 +00:00
yexo
176e55a8a3
(svn r16561) -Fix [NoAI]: AIMarine::AreWaterTilesConnected didn't return true for bridge head<>neighbouring water tile
2009-06-11 14:15:18 +00:00
smatz
c756fdd6da
(svn r16560) -Fix (r16559): wrong replacement at one place
2009-06-10 22:11:39 +00:00
smatz
bea3fe2b8b
(svn r16559) -Codechange: introduce Company::IsValidAiID() and Company::IsValidHumanID(), don't use IsHumanCompany() where possible
2009-06-10 22:05:01 +00:00
alberth
bc7e9514d2
(svn r16558) -Codechange: Switch found-town window to nested widgets.
2009-06-10 20:48:22 +00:00
smatz
8563b77fee
(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
83e2df5b72
(svn r16556) -Codechange [NoAI]: use accessor for AIInstance::is_dead
2009-06-10 19:23:25 +00:00
smatz
35635c6248
(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
3eb8f643fb
(svn r16554) -Fix (r16433): compilation with disabled network was broken
2009-06-10 18:53:43 +00:00
smatz
5a6bb53894
(svn r16553) -Codechange: don't use TRACK_BIT_WORMHOLE and TRACK_BIT_DEPOT as bitmasks
2009-06-10 16:02:00 +00:00
smatz
5e1c59c3de
(svn r16552) -Codechange: make AddTileIndexDiffCWrap() a bit faster
2009-06-10 14:07:08 +00:00
smatz
d6996c110a
(svn r16551) -Codechange: use shift instead of multiplication in TileXY()
2009-06-10 13:44:37 +00:00
smatz
ec78a39f9e
(svn r16550) -Codechange: move definition of ScaleByMapSize to header file, use shifts instead of mults
2009-06-10 08:18:40 +00:00
smatz
4e2c1ef08f
(svn r16549) -Codechange: use bool in TileLoopClearHelper
2009-06-10 07:19:48 +00:00
smatz
498d2b0caa
(svn r16548) -Fix (r16538): removing of duplicates of base graphics set could behave randomly
2009-06-10 05:36:58 +00:00
smatz
0c0943fe83
(svn r16547) -Codechange: make CircularTileSearch a tiny bit faster
2009-06-09 23:34:48 +00:00
smatz
fd191dd616
(svn r16546) -Codechange: use array member instead of allocating in costructor and freeing in desctructor
2009-06-09 23:22:37 +00:00
smatz
1c5ca9822d
(svn r16545) -Cleanup: tunnels have been returning correct SlopeZ since r1
2009-06-09 20:04:46 +00:00
smatz
249b6e6798
(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
ea1a523a89
(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
e16314d58f
(svn r16542) -Fix [FS#2971](r16307): depend failed on architectures with unsigned char
2009-06-09 13:35:30 +00:00
rubidium
afdeab52ab
(svn r16538) -Fix (r16503): when finding duplicate graphics sets favour the more complete one
2009-06-08 22:13:10 +00:00
translators
050bbb4dac
(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
8cbf116c62
(svn r16536) -Fix (r16535): W != S
2009-06-08 15:44:11 +00:00
frosch
53a711ede0
(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
1df029de1d
(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
95f7c05199
(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
9db1f5925c
(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
e3ba9c487f
(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
726ba50868
(svn r16529) -Fix [NoAI]: StationIDs from oilrigs were not considered valid by the API.
2009-06-07 13:29:09 +00:00
frosch
8745a30971
(svn r16528) -Fix [FS#2959]: Draw PBS reservation as groundsprite resp. childsprite of foundation/bridgehead.
2009-06-07 13:25:21 +00:00
smatz
0c10006907
(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
c90819ff6d
(svn r16526) -Fix: don't cast Vehicle to RoadVehicle when it's not a RoadVehicle
2009-06-06 16:49:45 +00:00
frosch
5b497d6b49
(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
ec3ef70adb
(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
0b8ceb3007
(svn r16523) -Fix (rNewPool): Segfault when small ufos were heading for deleted vehicles.
2009-06-06 10:40:16 +00:00
yexo
59ae226ab1
(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
4554c79b54
(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
ad5f018195
(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
ec5db12adc
(svn r16519) -Add: Prevent hiding of a window titlebar behind the status bar.
2009-06-05 07:25:26 +00:00
translators
69d86f0b11
(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
19ccf6912c
(svn r16517) -Codechange: Switched intro-screen and town directory window to nested widget trees.
2009-06-04 14:34:38 +00:00
alberth
b144a5451c
(svn r16516) -Codechange: Added click and drag handling for nested widgets.
2009-06-04 14:07:05 +00:00
alberth
1a4934ef07
(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
5c9071fcff
(svn r16514) -Codechange: Add widget flags, and drawing and invalidating.
2009-06-03 21:13:13 +00:00
alberth
1ba3755aa7
(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
caf98238e3
(svn r16510) -Doc: silence some (AI) doxygen warnings by adding comments about the appropriate things.
2009-06-03 18:47:08 +00:00
yexo
13c69b897e
(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
d1a50f5258
(svn r16507) -Fix (r16503): segfault when deleting non-last graphics set
2009-06-03 00:05:51 +00:00
smatz
2b4d37de3d
(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
2fc0cb3e76
(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
78a25e84e9
(svn r16504) -Fix [FS#2948](r16435): one couldn't build anything in the scenario editor
2009-06-02 12:57:47 +00:00
rubidium
be04b7e29c
(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
4ea3e511bd
(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
9b15b8cd4a
(svn r16501) -Codechange: Introduced different phases in resizing a nested widget tree.
2009-06-01 20:45:46 +00:00
translators
c077796ac6
(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
0d782b0f96
(svn r16498) -Codechange: Remove hardly used HASBITS.
2009-06-01 15:01:54 +00:00
smatz
da57fe63f3
(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
1a506f5912
(svn r16496) -Codechange: remove one useless dynamic_cast<>
2009-06-01 13:34:13 +00:00
alberth
333795bc70
(svn r16495) -Codechange: Renamed a few variables.
2009-06-01 13:28:05 +00:00
smatz
de25de7a60
(svn r16494) -Codechange: cache train's speed limit caused by curves
2009-06-01 13:14:56 +00:00
rubidium
765c65b738
(svn r16493) -Fix: missing/wrong @file doxygen 'headers'
2009-06-01 12:56:18 +00:00
smatz
c03ce4b1c7
(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
bab70a823d
(svn r16491) -Codechange: Added parentheses around bitwise operators for code style.
2009-06-01 11:43:36 +00:00
frosch
5e91bf0ad2
(svn r16490) -Fix: Do not draw train details over the scrollbar.
2009-06-01 08:35:35 +00:00
alberth
ba9e014bdc
(svn r16489) -Fix [FS#2937] (r16258): Do not resize a widget twice (erikjanp)
2009-05-31 20:52:35 +00:00
alberth
743f12fad0
(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
292647b212
(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
9237d01931
(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
304b42d00e
(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
6c126cc5c8
(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
ea229c32bc
(svn r16483) -Codechange: Enumerate tabs in train details window.
2009-05-31 14:04:19 +00:00
frosch
9853c0dc22
(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
56988b198d
(svn r16479) -Fix (r5146): Call callbacks after initialisation of vehicle variables.
2009-05-31 11:31:10 +00:00
frosch
c64fdcbef2
(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
75a818a325
(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
79d5a41b85
(svn r16476) -Fix (r16475): wrong version of the patch
2009-05-31 09:34:40 +00:00
smatz
ab5a51d462
(svn r16475) -Codechange: move code invalidating Vehicle::last_station_visited to more logical place
2009-05-31 09:33:12 +00:00
rubidium
0eaec8edca
(svn r16474) -Fix [FS#2933]: could set company related settings via query window
2009-05-31 09:31:56 +00:00
smatz
34f6b8614e
(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
8c11d612e4
(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
d2d66d9e2d
(svn r16470) -Fix (r14293): track reservation was drawn at bridge heads in the menu
2009-05-30 17:43:24 +00:00
translators
d741ccb6b2
(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
e03376c239
(svn r16468) -Codechange: Use GetWidgetOfType() for finding an edit box.
2009-05-30 14:18:06 +00:00
alberth
101a6b3320
(svn r16467) -Codechange: Unduplicate setting of widget focus (with thanks to Smatz).
2009-05-30 12:41:53 +00:00
alberth
bfaf610fff
(svn r16466) -Codechange: Improved wording in comments.
2009-05-30 11:42:19 +00:00
alberth
bfb8df3fb9
(svn r16465) -Codechange: Eliminated GetGloballyFocusedWidget(), it was used only once.
2009-05-30 11:30:25 +00:00
alberth
2a2a9a27ba
(svn r16464) -Codechange (r16422): Added a missing const_cast<>
2009-05-30 11:24:06 +00:00
alberth
5eecf3e5cb
(svn r16463) -Cleanup: Code style fixes.
2009-05-30 11:01:05 +00:00
translators
b1297fcb36
(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
b178a94c19
(svn r16459) -Codechange: move definition of several cargopacket accessors to header file
2009-05-29 15:46:55 +00:00
smatz
1ad410dc00
(svn r16458) -Codechange: use one enum instead of four
2009-05-28 21:54:03 +00:00
rubidium
62a2dff61e
(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
91fe6f5e13
(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
9bd64cf588
(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
df7786f789
(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
45af2a294c
(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
5cd998b7a4
(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
4c9b4f5265
(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
6e94e6f017
(svn r16449) -Fix [FS#2924]: vehicle recolouring wasn't done for engine preview/news
2009-05-27 17:18:53 +00:00
rubidium
5df12c37a9
(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
b16c9ae6ef
(svn r16447) -Fix [FS#2922] (r16444): compiling on x86-64 failed
2009-05-27 00:46:17 +00:00
glx
5991c5195c
(svn r16446) -Fix (r16378): 'cast to pointer from integer of different size' warning
2009-05-26 23:37:34 +00:00
smatz
faae8f0177
(svn r16445) -Codechange: update old comments (Yexo)
2009-05-26 23:24:34 +00:00
yexo
d982ec81df
(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
5a463c8347
(svn r16442) -Codechange: use new Vehicle accessors at more places
2009-05-26 22:45:48 +00:00
smatz
7ee882d03f
(svn r16441) -Codechange: new class SpecializedVehicle used as superclass for all vehicle types
2009-05-26 22:10:13 +00:00
yexo
aa546e513f
(svn r16440) -Fix [NoAI]: AIRail::GetRailStationDirection returned incorrect information
2009-05-26 22:03:16 +00:00
yexo
0d56cfabfa
(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
aa62ec0a1f
(svn r16438) -Fix (r16436): set 'old_company' after modifying '_current_company'
2009-05-26 21:55:49 +00:00
rubidium
bacbafe510
(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
5b92584c40
(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
fd9bbdc54a
(svn r16435) -Codechange: don't require the 'user company 0' hack for commands.
2009-05-26 19:23:02 +00:00
rubidium
e3c5bc8d2e
(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
2a5a8f395c
(svn r16433) -Codechange: Remove most of CmdSetAutoreplace and replace it with calls to CmdChangeCompanySetting
2009-05-26 13:29:01 +00:00
smatz
55225433c4
(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
279746236b
(svn r16431) -Fix (16429): Company settings can also be changed in multiplayer games
2009-05-26 12:53:34 +00:00
smatz
af07333c78
(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
a10e5f707a
(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
b19d0e0254
(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
984bd3b98d
(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
462c1ec4f3
(svn r16426) -Fix [FS#2921] (r16390): articulated parts got the wrong image assigned
2009-05-26 08:51:33 +00:00
yexo
7425bf779d
(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
168ae6f7e2
(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
0d99b6c71c
(svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it.
2009-05-24 20:29:04 +00:00
rubidium
36e71c8df6
(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
ad64d5eedb
(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
7f9c192a95
(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
a4557c7da4
(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
b7d065ce99
(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
8109a74c95
(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
bc9c2e43fe
(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
855edb0839
(svn r16412) -Cleanup: Shuffle vehicle pointers in AddArticulatedParts(), and remove two of them.
2009-05-24 12:05:27 +00:00
frosch
0337485284
(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
299f34b32b
(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
de1a9b95c7
(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
607583f091
(svn r16408) -Codechange: Silence a pointless newgrf debug message.
2009-05-23 22:24:09 +00:00
smatz
7854e68b95
(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
4bf70602a1
(svn r16406) -Codechange: constify parameters of CheckSubsidised()
2009-05-23 19:26:00 +00:00
alberth
6fc9b04861
(svn r16405) -Codechange: Move widget drawing code to functions to allow re-use.
2009-05-23 18:06:29 +00:00
rubidium
9f51f3a0f9
(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
b2aed51f8e
(svn r16403) -Codechange: move code related to subsidies to separate file
2009-05-23 15:46:00 +00:00
rubidium
f2317d0d9d
(svn r16402) -Codechange: make Resolve a function of SpriteGroup
2009-05-23 15:25:52 +00:00
yexo
0b243d25cb
(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
8e30f0e75a
(svn r16399) -Fix (r4540): Don't treat pointer values as integer.
2009-05-23 13:42:02 +00:00
rubidium
bbd14acb1d
(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
86710c5185
(svn r16397) -Codechange: move GetVehicleOrder/GetLastVehicleOrder into Vehicle
2009-05-23 12:27:42 +00:00
rubidium
f490394aa8
(svn r16396) -Codechange: split NewGRF spritegroup into multiple subclasses instead of using a big union
2009-05-23 12:13:42 +00:00
smatz
b270ca84ba
(svn r16395) -Fix (r16379): max sign ID can be higher than total number of signs
2009-05-23 11:13:43 +00:00
rubidium
6237fe1462
(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
da5661a0c8
(svn r16393) -Codechange: move VehicleRail to Train.
2009-05-22 22:55:41 +00:00
rubidium
c4b627af42
(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
80e94b9bb1
(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.
2009-05-22 22:22:46 +00:00
rubidium
7a37220881
(svn r16390) -Codechange: move u.road to RoadVehicle.
2009-05-22 20:22:20 +00:00
rubidium
d37b840cf3
(svn r16389) -Codechange: use RoadVehicle instead of Vehicle where appropriate
2009-05-22 20:18:45 +00:00
rubidium
c882248348
(svn r16388) -Codechange: move u.air to Aircraft
2009-05-22 20:07:26 +00:00
rubidium
ada3067960
(svn r16387) -Codechange: use Aircraft instead of Vehicle where appropriate
2009-05-22 20:03:26 +00:00
frosch
09d64ff79d
(svn r16386) -Codechange: Move ShowAdditionalText() to build_vehicle_gui and make it static.
2009-05-22 19:47:26 +00:00
rubidium
74ea34ca66
(svn r16385) -Codechange: move u.disaster to DisasterVehicle.
2009-05-22 18:57:11 +00:00
rubidium
6d1c974254
(svn r16384) -Codechange: move u.effect to EffectVehicle
2009-05-22 18:56:25 +00:00
frosch
2365d27a4d
(svn r16383) -Fix/Change: Disable multitile houses with non-zero population on additional tiles as they cause desyncs and because the specs do not allow that either.
2009-05-22 18:44:22 +00:00
rubidium
441011b782
(svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle.
2009-05-22 18:17:20 +00:00
translators
cf0cfb908f
(svn r16381) -Update: WebTranslator2 update to 2009-05-22 17:38:42
...
brazilian_portuguese - 2 fixed by tucalipe (2)
estonian - 2 fixed by kristjans (2)
french - 2 fixed by glx (2)
indonesian - 20 fixed by rindu (20)
romanian - 4 fixed by CrystyB (2), kkmic (2)
serbian - 229 fixed by etran (229)
spanish - 2 fixed by eusebio (2)
2009-05-22 17:38:53 +00:00
smatz
56a7b70591
(svn r16380) -Codechange: rename pool.hpp to pool_type.hpp
2009-05-22 15:39:22 +00:00
smatz
10d1ef5447
(svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
2009-05-22 15:23:47 +00:00
smatz
62a7948af0
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
2009-05-22 15:13:50 +00:00
smatz
04723b240e
(svn r16377) -Codechange: unify FOR_ALL_* macros, use separate index variable instead of var->index
2009-05-22 14:23:36 +00:00
smatz
b687ac51ee
(svn r16376) -Codechange: Vehicle::Tick() now returns false if the vehicle was deleted
2009-05-22 13:53:14 +00:00
smatz
561d97880d
(svn r16375) -Codechange: don't be afraid of deleting NULL pointers
2009-05-22 13:13:55 +00:00
peter1138
b37fda664c
(svn r16374) -Fix (r11622): Valid UTF-8 sequences between 0x20 and 0xFF should be allowed as is instead of being treated as control codes.
2009-05-22 12:05:28 +00:00
smatz
6afce484bb
(svn r16373) -Codechange: use () instead of (void) for functions without parameters
2009-05-21 22:43:25 +00:00
alberth
c497e9e7ed
(svn r16372) -Codechange: Simplify size calculations with a few helper functions.
2009-05-21 18:12:28 +00:00
alberth
1122d625ae
(svn r16371) -Codechange (r16367): Properly align comments.
2009-05-21 17:45:12 +00:00
alberth
438a5e77b7
(svn r16370) -Doc: Improvements to the nested widgets documentation, added explanation about computations, fixed typo in param description.
2009-05-21 16:26:38 +00:00
alberth
b6d198ca0b
(svn r16369) -Codechange: Renaming ComputeMinimalSize() to SetupSmallestSize(), and AssignMinimalPosition() to AssignSizePosition(), they do not compute minimal size anymore.
2009-05-21 16:14:04 +00:00
alberth
db1be47d76
(svn r16368) -Codechange: Only leaf widgets use min_x and min_y.
2009-05-21 16:00:52 +00:00
alberth
054deab7b3
(svn r16367) -Codechange: Do not use min_x and min_y for storing smallest size to allow initialization more than once.
2009-05-21 15:48:27 +00:00
frosch
82532ac12e
(svn r16366) -Fix: Use a valid StringID as fall-back when undefined generic newgrf strings of vehicles are requested.
2009-05-21 13:05:48 +00:00
peter1138
b801d801b5
(svn r16363) -Fix: The previously selected newgrf station type was still remembered after switching to a different game without newstations enabled, preventing stations from being built.
2009-05-21 07:29:50 +00:00
translators
2d8d5580b6
(svn r16362) -Update: WebTranslator2 update to 2009-05-20 17:30:16
...
catalan - 2 fixed by arnaullv (2)
czech - 2 fixed by Hadez (2)
dutch - 2 fixed by habell (2)
finnish - 2 fixed by jpx_ (2)
german - 2 fixed by planetmaker (2)
hungarian - 2 fixed by oklmernok (2)
italian - 2 fixed by lorenzodv (2)
japanese - 20 fixed by ickoonite (20)
turkish - 2 fixed by Emin (2)
2009-05-20 17:30:30 +00:00
rubidium
26070726ac
(svn r16361) -Fix: pointer incremented with wrong count
2009-05-19 21:25:20 +00:00
rubidium
9f4d64bda0
(svn r16360) -Codechange: don't use _network_playas as a 'second' _local_company, but only as a storage location for the company you want to join in MP.
2009-05-19 21:20:14 +00:00
smatz
00bc2659f2
(svn r16359) -Codechange: don't abuse company 0 when determining 'cost to clear land' in the LandInfoWindow
2009-05-19 19:26:03 +00:00
glx
ec76117379
(svn r16358) -Fix (r16343): strdup doesn't like NULL
2009-05-19 17:04:42 +00:00
smatz
1e45f4bc4c
(svn r16357) -Codechange: delete invalid depots in TTD savegames caused by improper SVXConverter conversions
2009-05-19 12:47:47 +00:00
smatz
3bd52accd9
(svn r16356) -Codechange: use 'size_t' instead of 'uint' as parameter of functions in mem_func.hpp
2009-05-19 08:21:37 +00:00
smatz
70aab8bf04
(svn r16354) -Codechange: use 'new' pool accessors and methods for Engine too
2009-05-18 19:32:16 +00:00
smatz
a0ff6363e6
(svn r16353) -Fix (r1): invalid read when OTTD savegame contains VEH_INVALID
2009-05-18 17:40:03 +00:00
smatz
8808f3beea
(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get()
2009-05-18 16:21:28 +00:00
smatz
5fe906e149
(svn r16351) -Fix (r14773): signal handler could end in endless loop
2009-05-18 12:01:13 +00:00
smatz
9af2e38d44
(svn r16350) -Codechange: make some 'rail track is present' checks more 'secure'
2009-05-18 01:35:15 +00:00
smatz
0af27062c4
(svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), introduce shiny new IsPlainRailTile()
2009-05-18 01:26:23 +00:00
smatz
d1f9a90d32
(svn r16348) -Fix (r16280): buoys with invalid station ID could be left in the game
2009-05-18 00:33:24 +00:00
rubidium
b385cf31cb
(svn r16347) -Cleanup: remove some unused defines from oldpool.h.
2009-05-17 20:38:22 +00:00
rubidium
10406e8ad6
(svn r16346) -Codechange: don't exploit the pool system in the way done for the saveload pool; it makes writing replacements unnecessarily difficult. And now we've got SmallVector that does more than enough for saving with less lines of 'interface' code.
2009-05-17 20:38:05 +00:00
rubidium
543cc6b75e
(svn r16345) -Codechange: replace the Sound(Entry) pool with a simple vector of SoundEntries.
2009-05-17 19:36:28 +00:00
rubidium
4a04dfc07c
(svn r16344) -Codechange: s/FileEntry/SoundEntry/
2009-05-17 19:27:50 +00:00
frosch
ceca68fca7
(svn r16343) -Fix (r16066): Invalid free on exit after changing base graphics set in game.
2009-05-17 19:14:22 +00:00
frosch
5507a5b233
(svn r16342) -Feature(tte): Display base graphics description in game options window.
2009-05-17 18:21:21 +00:00
rubidium
e56cc911f1
(svn r16341) -Codechange: just use a static array instead of a never freed malloc
2009-05-17 17:48:05 +00:00
rubidium
9c24e2bb8f
(svn r16340) -Codechange: introduce SoundID (uint16) and use that instead of SoundFX, which was used as a byte and uint16 at different places, when the uint16 sound ID is meant.
2009-05-17 17:17:48 +00:00
rubidium
e3bd95e7b6
(svn r16339) -Fix: [NewGRF] When overriding 'original sounds', only allow overriding of the 'original sounds' and not any other that is already loaded.
2009-05-17 17:00:30 +00:00
smatz
570af0ce44
(svn r16338) -Codechange: split loading of references to two phases
...
In the first phase, indexes are stored. In the second phase, indexes are checked for validity and converted to pointers
2009-05-17 16:28:29 +00:00
rubidium
83dc6ef6e6
(svn r16337) -Codechange: remove pointless variable + wrapper function; having it return anything else than ORIGINAL_SAMPLE_COUNT is asking for NewGRFs failing to load (due to invalid sample index), thus desyncs
2009-05-17 14:57:14 +00:00
rubidium
10ea72a08e
(svn r16336) -Codechange: make the SpriteGroup pool more like the 'normal' pools
2009-05-17 14:32:13 +00:00
smatz
76784501a8
(svn r16335) -Codechange: indenting fixes in saveload.cpp
2009-05-17 11:47:56 +00:00
smatz
4876e346d5
(svn r16334) -Codechange: use NeedLength enum
2009-05-17 11:43:51 +00:00
rubidium
88201ccd5c
(svn r16333) -Cleanup: remove a bunch of unused wrapper functions.
2009-05-17 11:18:34 +00:00
rubidium
e7dedf4e1b
(svn r16332) -Codechange: replace some -1 + 1 with 'nothing' or <= .. - 1 with < .. - 1 (both caused due to wrapper functions)
2009-05-17 11:17:53 +00:00
smatz
3322cc978f
(svn r16331) -Codechange: replace _sl.save by an enum
2009-05-17 11:15:11 +00:00
rubidium
b23c967230
(svn r16330) -Fix (r16329): we were shortly visited by Mr. Kenobi.
2009-05-17 10:59:40 +00:00
rubidium
f457cff73c
(svn r16329) -Fix: possible desync when removing lots of towns in-game (not that we allow removing towns now, but better not have desync prone code lingering around)
2009-05-17 10:35:13 +00:00
rubidium
6b2f9e8c9e
(svn r16328) -Fix: desync when removing lots of stations
2009-05-17 10:19:00 +00:00
smatz
871107f529
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
2009-05-17 01:00:56 +00:00
smatz
ed1e54bd84
(svn r16326) -Codechange: replace GetPoolItemPoolSize() by PoolItem::GetPoolSize()
2009-05-16 23:44:36 +00:00
smatz
6221d74644
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
2009-05-16 23:34:14 +00:00
rubidium
814f153b5a
(svn r16323) -Fix [FS#2900]: desyncs due to the fact that depot searching with a maximum search depth simply does not work with YAPF's caches.
2009-05-16 20:10:58 +00:00
rubidium
8324cfc875
(svn r16322) -Fix [FS#2873]: trains could get stuck in a depot when they wanted to go to the same depot again.
2009-05-16 20:08:49 +00:00
rubidium
bdbbe3a09b
(svn r16321) -Fix (r5946): in the scenario editor change the (starting) game year of the scenario, not the (starting) game year for new games/scenarios.
2009-05-16 18:58:15 +00:00
smatz
aff7a9e953
(svn r16320) -Fix (r11939): loading of savegames created in revision between 0.3.5 and 0.3.6 caused crash
2009-05-16 18:28:31 +00:00
translators
f9930e190b
(svn r16319) -Update: WebTranslator2 update to 2009-05-16 17:35:44
...
arabic_egypt - 1 fixed by khaloofah (1)
english_US - 24 fixed by WhiteRabbit (24)
esperanto - 6 fixed by maristo (6)
german - 1 changed by planetmaker (1)
welsh - 9 fixed by welshdragon (9)
2009-05-16 17:35:53 +00:00
rubidium
a34d5bb6ab
(svn r16318) -Change: use !! instead of @@ in src/*.in too.
...
-Change: use @ instead of ~ in configure/Makefiles so Debian's build system(s) can also build RC binaries.
2009-05-16 12:36:33 +00:00
alberth
db7e24e211
(svn r16317) -Codechange: Generalized finding a widget by type.
2009-05-16 11:25:19 +00:00
yexo
c299a38e1f
(svn r16316) -Fix (r16287,before): Set the autorenew settings for new AI companies to the default values, not to 0 or the local settings
2009-05-16 00:16:43 +00:00
yexo
31eff1d4c3
(svn r16315) -Codechange: move the autorenew settings to a new CompanySettings struct
2009-05-15 23:55:06 +00:00
frosch
aea2fcd0a0
(svn r16314) -Fix (r9315): Allow accessing the houseage when the house is not yet built.
2009-05-15 22:45:31 +00:00
rubidium
917621b639
(svn r16312) -Codechange: unduplicate yapf (rail) cache debugging.
2009-05-15 17:32:07 +00:00
frosch
8ffb93c358
(svn r16311) -Fix: (Get|Set)TrackBits() is only valid for RAIL_TILE_NORMAL and _SIGNALS.
2009-05-15 16:07:36 +00:00
smatz
683a6ca039
(svn r16308) -Fix: parameter is invalid when it's equal to length of an array (Yexo)
2009-05-14 23:40:03 +00:00
glx
b3a539b016
(svn r16307) -Fix: makedepend can't handle the amount of files we have and it also miss some dependencies. That's why we introduce our custom implementation of makedepend.
2009-05-14 21:59:24 +00:00
yexo
203cd6c2dd
(svn r16306) -Fix [FS#2901] (r15027): Close all windows before unloading the AI system as closing the content-download window will rescan for AIs
2009-05-14 18:09:50 +00:00
rubidium
a5d6e23e9d
(svn r16305) -Codechange: force-enable extra sync checking when random debugging is enable and give the calling location of Chance16(R) instead of the Random call within those functions.
2009-05-14 12:08:24 +00:00
rubidium
9dff385c38
(svn r16304) -Codechange: remove some magic numbers from the newgrf add window so it mirrors nicely.
2009-05-13 22:51:31 +00:00
frosch
32ecc48ec8
(svn r16303) -Codechange: Use the question mark as default sprite when creating vehicles, instead of arbitrary sprites not related to the vehicle. (though that also applies to the question mark)
2009-05-13 21:45:56 +00:00
smatz
a1addc1d95
(svn r16302) -Codechange: remove Vehicle::AllocateList
2009-05-13 21:38:23 +00:00
smatz
c0ed9f779b
(svn r16301) -Cleanup: remove unused parameter
2009-05-13 20:30:46 +00:00
smatz
0274886ae1
(svn r16300) -Codechange: reduce usage of Vehicle::AllocateList
2009-05-13 19:26:47 +00:00
smatz
2bc5189ad5
(svn r16299) -Fix (r16242): don't use DoCommandP when the function can be called from another command
2009-05-13 19:13:36 +00:00
rubidium
5f81ba886c
(svn r16297) -Codechange: silence more ICC warnings
2009-05-13 17:39:00 +00:00
rubidium
d23f616e9f
(svn r16296) -Codechange: silence some ICC warnings
2009-05-13 16:52:51 +00:00
rubidium
3d3b5256f0
(svn r16295) -Fix: ICC defined __GNUC__ but does not define __builtin_bswap32, so fall back to the default swap method for ICC.
2009-05-13 16:51:17 +00:00
yexo
67723e42aa
(svn r16292) -Fix (r16287): autorenew settings were set to 0 when creating a new company in multiplayer
2009-05-13 12:07:36 +00:00
rubidium
aa0459309c
(svn r16291) -Fix [FS#2893]: RVs were unable to find a depot when turning around (in some cases), causing 'nearest depot' orders to be occasionally lost.
2009-05-13 10:58:41 +00:00
rubidium
111e62bba6
(svn r16290) -Fix [FS#2888]: unable to (re)set the desert state for watery tiles
2009-05-13 10:57:32 +00:00
smatz
1f3dce6f85
(svn r16289) -Fix (r16211): 'Display map' dropdown in scenario editor was broken
2009-05-13 10:38:46 +00:00
smatz
3afce9b641
(svn r16288) -Fix (r16237): crash after clicking in the ClientList window
2009-05-13 00:24:21 +00:00
yexo
90ba8e1bc8
(svn r16287) -Fix: fix possible (in theory) desync related to autorenew settings
2009-05-12 22:32:22 +00:00
rubidium
095a30efb0
(svn r16286) -Change: make the scrolling ticker RTL/LTR aware (scroll in different directions)
2009-05-12 22:28:18 +00:00
rubidium
31272407f5
(svn r16284) -Codechange: replace some magic numbers with the left/right/top/bottom of a widget
2009-05-12 20:01:39 +00:00
rubidium
c96dac5443
(svn r16283) -Fix [FS#2890]: news ticker truncated too early
2009-05-12 19:59:33 +00:00
translators
9e6e0c6b09
(svn r16282) -Update: WebTranslator2 update to 2009-05-12 17:55:59
...
czech - 10 fixed by Hadez (10)
german - 13 changed by planetmaker (13)
spanish - 11 fixed by eusebio (11)
2009-05-12 17:56:06 +00:00
smatz
0b547928be
(svn r16281) -Fix: silence some of compile farm warnings for target win9x
2009-05-11 18:48:05 +00:00
smatz
15a5a33c70
(svn r16280) -Fix (r13731): crash after using the 'Reset landscape' function
...
-Fix: remove all waypoint signs and buoys after resetting landscape
2009-05-11 18:17:21 +00:00
smatz
e1e6687bfd
(svn r16277) -Codechange: enumerize values and remove unneeded values used for testing town rating
2009-05-11 11:55:41 +00:00
rubidium
d9e1de0281
(svn r16276) -Fix: huh, old AI? What is that? What about all the time I thought there was no AI?
2009-05-11 11:13:37 +00:00
frosch
4710c3fe31
(svn r16274) -Fix: Disable multitile houses for which the newgrf does not define proper additional tiles. (instead of crashing later)
2009-05-10 22:16:51 +00:00
smatz
f5316c5cbd
(svn r16269) -Codechange: use gcc's ability to check parameters sent to printf-like functions
...
-Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
2009-05-10 17:27:25 +00:00
frosch
552f10bb09
(svn r16268) -Fix (r9876): When callback 2E returns an amount of 0, do not transport 1 unit to the station.
2009-05-10 15:42:59 +00:00
frosch
bdf0b9491d
(svn r16267) -Documentation: [NoAI] Explain how to deal with IDs of various objects.
2009-05-10 15:23:55 +00:00
frosch
c6f08e1247
(svn r16266) -Documentation: [NoAI] Add details to AITile::(Raise|Lower)Tile wrt. modifiing multiple corners at once.
2009-05-10 15:23:08 +00:00
smatz
d4971a22d0
(svn r16265) -Fix (r16238): wrong format string for debug output
2009-05-10 13:23:23 +00:00
frosch
96dace426b
(svn r16264) -Change/Fix (r16262): [NoAI] Change SLOPE_INVALID to 0xFFFF so that SLOPE_INVALID != (SLOPE_ELEVATED | SLOPE_STEEP | SLOPE_HALFTILE_MASK).
2009-05-10 12:26:55 +00:00
frosch
294d7ee9d6
(svn r16263) -Change: Interpret setting bridge property 08 to 0 as always available.
2009-05-09 19:48:14 +00:00
yexo
8d22e4bec3
(svn r16262) -Fix [NoAI]: Check slopes passed to the API better for validity
2009-05-09 19:45:02 +00:00
frosch
f8944cc9b3
(svn r16261) -Fix (r16260): Replace a space with a newline and a tab. (thanks smatz)
2009-05-09 14:23:19 +00:00
frosch
677ea100b3
(svn r16260) -Codechange: Add Vehicle::IncrementOrderIndex() to deduplicate some code.
2009-05-09 13:37:18 +00:00
alberth
a8aa4e2148
(svn r16259) -Codechange: Added nested widgets to the load and save dialogue windows.
2009-05-09 13:03:45 +00:00
alberth
bbb951151d
(svn r16258) -Codechange: Remove panel with negative height and some small adjustments in the load/save dialogue windows.
2009-05-09 12:56:55 +00:00
alberth
0cd6dde6a7
(svn r16257) -Codechange: Added empty widgets in load dialogue to move the resize box to the right place in the array.
2009-05-09 12:49:28 +00:00
alberth
590becf567
(svn r16256) -Codechange: Moved load/save dialogue widget numbers outside the window struct.
2009-05-09 12:44:12 +00:00
alberth
977db77921
(svn r16255) -Fix [FS#2887] (r16237): Nested widgets of client list window used incorrect length.
2009-05-09 08:02:17 +00:00
frosch
8fc723800f
(svn r16254) -Fix [FS#2886]: Magic constant removed.
2009-05-08 09:00:47 +00:00
yexo
a00b22b1cd
(svn r16253) -Add [NoAI]: AIController::GetVersion, this returns the newgrf-version of OpenTTD
2009-05-07 21:33:38 +00:00
yexo
9b4a32deb4
(svn r16252) -Add [NoAI]: AIAirport::GetPrice, returning the building cost of an airport
2009-05-07 21:30:18 +00:00
translators
e92efe028c
(svn r16251) -Update: WebTranslator2 update to 2009-05-07 17:36:23
...
danish - 26 fixed, 1 changed by ThomasA (27)
romanian - 1 fixed by kkmic (1)
welsh - 10 fixed by welshdragon (10)
2009-05-07 17:36:28 +00:00
rubidium
101af1f9b5
(svn r16250) -Fix (r16242): do not try to unpause when paused for a joining company
2009-05-07 17:08:41 +00:00