yexo
3fb9944210
(svn r16755) -Codechange: apply some codestyle to newgrf.cpp
15 years ago
translators
ffc5cf92c6
(svn r16754) -Update from WebTranslator v3.0:
...
arabic_egypt - 2 changes by kasakg
traditional_chinese - 64 changes by josesun
german - 4 changes by planetmaker
persian - 2 changes by Gajet9
15 years ago
yexo
7b57b54a56
(svn r16753) -Fix (r16740): Don't check the width of the same string 4 times, but pick the maximum width of all difficulty levels
15 years ago
yexo
d85adeeca5
(svn r16752) -Codechange: Remove most of the window-changing code from AirportPickerWindow::OnPaint
15 years ago
alberth
0d6bef2171
(svn r16751) -Fix (r16740): Do not crash when using a non-standard font size in the widgets.
15 years ago
yexo
46529bd491
(svn r16750) -Fix: mark the intro gui dirty when changing the difficulty level to avoid glitches on the difficulty button
15 years ago
alberth
df377f3ec6
(svn r16749) -Codechange: Rail toolbar uses nested widget tree only.
15 years ago
alberth
f24464e7ad
(svn r16748) -Codechange: Don't cast away constness.
15 years ago
alberth
36ce7e09ef
(svn r16747) -Fix: Non-resized windows also need a post re-init SetDirty.
15 years ago
smatz
8786ebbad7
(svn r16746) -Codechange: use Town::PostDestructor() instead of not very clean construct for invalidating nearest town for road tiles
15 years ago
smatz
aa4ccab6a8
(svn r16745) -Fix [FS#3011]: invalidate JoinStation window after removing item from the pool
15 years ago
translators
4764c73f1c
(svn r16743) -Update from WebTranslator v3.0:
...
german - 18 changes by planetmaker
15 years ago
alberth
43ee12137b
(svn r16740) -Codechange: Self-sizing widgets in intro screen, town directory, and found town windows.
15 years ago
alberth
9cfbe11e3a
(svn r16739) -Codechange: Initialize internal data before computing the widgets.
15 years ago
alberth
8f727713d6
(svn r16738) -Codechange: Remove casting away constness by changing the text before storing.
15 years ago
frosch
da1628d0b5
(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)
15 years ago
rubidium
c5a44ce99e
(svn r16736) -Codechange: give some station enums a name and use that instead of 'byte'.
15 years ago
rubidium
e56535fda5
(svn r16735) -Codechange: had_vehicle_of_type only stored 7 bits, all less that bit 7... but it was a word wasting space etc.
15 years ago
alberth
4d577b8cc1
(svn r16734) -Codechange: Prepare intro, town directory, and found town windows for more flexible widget contents.
15 years ago
alberth
14d5eb0427
(svn r16733) -Codechange: Move rebuilding and sorting the town list out of TownDirectoryWindow::OnPaint.
15 years ago
rubidium
677b2d07bd
(svn r16732) -Fix [FS#2991]: show Close instead of Cancel when there's nothing to canel in the content downloading window.
15 years ago
yexo
bed99fdaec
(svn r16731) -Fix [NoAI]: AIDepotList contained wrong tiles for hangars when st->xy != st->airport_tile.
15 years ago
alberth
840ac11452
(svn r16730) -Doc: Added some missing docs (most notably the class/struct docs) to GUIList template.
15 years ago
translators
d609a5be25
(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
15 years ago
smatz
a7d6ccbfb0
(svn r16728) -Fix (r14919): the Join station window didn't show all stations nearby in some cases
15 years ago
alberth
b441e00ce7
(svn r16727) -Codechange: Introducing WD_SORTBUTTON_ARROW_WIDTH constant.
15 years ago
translators
12faf721a2
(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
15 years ago
frosch
34d45cdf9d
(svn r16725) -Documentation: raw_industry_cost_multiplier
15 years ago
smatz
fd48f3cc5c
(svn r16724) -Fix (r16714): MSVC 64bit warnings (Rubidium)
15 years ago
smatz
32bf91aa41
(svn r16723) -Codechange: make GetNextArticPart(), GetLastEnginePart(), GetNextVehicle(), GetPrevVehicle(), GetNextUnit(), GetPrevUnit() members of Train
15 years ago
rubidium
18fbe0aac4
(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions
15 years ago
rubidium
f97bd41ed4
(svn r16721) -Codechange: make Is/SetRoadVehicleFront, Is/Set/HasArticulatedPart member of RoadVehicle.
15 years ago
smatz
9b10bc9cdf
(svn r16720) -Codechange: make Set/ClearFrontEngine(), Set/ClearArticulatedPart(), Set/ClearWagon(), Set/ClearEngine(), Set/ClearFreeWagon() and Set/ClearMultiheaded() members of Train
15 years ago
smatz
1e1f0ab2cf
(svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
15 years ago
smatz
378d01f2f4
(svn r16718) -Codechange: make IsFreeWagon() member of Train
15 years ago
smatz
20fedeb3d6
(svn r16717) -Codechange: make IsFrontEngine() member of Train
15 years ago
smatz
8eda6955b5
(svn r16716) -Codechange: reduce code duplication in DrawCompanyVehiclesAmount()
15 years ago
smatz
fe57925910
(svn r16715) -Codechange: add attribute to assert_compile(), so it doesn't warn when used inside function
15 years ago
smatz
93557ba4e9
(svn r16714) -Codechange: use pool-like accessors for Subsidy
15 years ago
smatz
07f133e7c4
(svn r16713) -Doc: document the Subsidy struct
15 years ago
translators
26d1a888f9
(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
15 years ago
smatz
d04750ff87
(svn r16711) -Codechange: use FOR_ALL_SUBSIDIES macro when iterating over all subsidies
15 years ago
smatz
5a227bffdc
(svn r16710) -Fix: invalidate subsidies with invalid source or destination when converting older savegames
15 years ago
rubidium
3b44f44287
(svn r16709) -Fix [FS#2994]: the list of animated tiles could have duplicates (only for old savegames) and tiles that weren't animated
15 years ago
rubidium
4e15c61aff
(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.
15 years ago
rubidium
ff4326d6a3
(svn r16707) -Fix [FS#3007] (r16693): under some circumstances vehicles would skip loading as they thought nothing could be unloaded or loaded.
15 years ago
rubidium
e189037662
(svn r16706) -Fix (r16694): acquiring a subsidy resulted in an assertion.
15 years ago
translators
50827afb71
(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
15 years ago
rubidium
54c52f4401
(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.
15 years ago
rubidium
ffb9f1f1f9
(svn r16701) -Fix [FS#3001]: limit the screen's resolution to 65535x65535 so the dirty pixels stay within bounds of a 32 bits integer
15 years ago
rubidium
f0693ed0c8
(svn r16700) -Fix: if allegro fails to start or fails open a window or sound card fall back to another driver
15 years ago
rubidium
231626f98c
(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.
15 years ago
translators
7de2b22d92
(svn r16697) -Fix (r16696): don't silently introduce old ##case for some languages
15 years ago
translators
a4ffea66e0
(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
15 years ago
translators
21a845ac98
(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)
15 years ago
rubidium
4f99508114
(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.
15 years ago
rubidium
025cf4b546
(svn r16693) -Fix [FS#3004] (r16883): cargo income was not added to the vehicle's profit.
15 years ago
translators
86dbc2bc89
(svn r16692) -Update from WebTranslator v3.0:
...
ukrainian - 3 changes by Madvin
15 years ago
rubidium
6670a92012
(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.
15 years ago
michi_cc
dfa16d6525
(svn r16690) -Fix [FS#3002]: Missing debug string for ESRB_SAFE_TILE in YAPF debugging helper.
15 years ago
alberth
2509f55d87
(svn r16689) -Codechange: Allow for rendering of parameterized text of nested widgets in Window::DrawWidget, adapt intro and town directory windows.
15 years ago
alberth
0365d15306
(svn r16688) -Codechange: Some cleanup of intro screen and town directory.
15 years ago
alberth
194701b27a
(svn r16687) -Codechange: Perform re-initialization of windows with nested widgets after a language change.
15 years ago
translators
d443e0c0a8
(svn r16686) -Update from WebTranslator v3.0:
...
german - 4 changes by planetmaker
15 years ago
translators
cb8820f221
(svn r16685) -Update: WebTranslator2 update to 2009-06-28 17:40:12
...
korean - 3 fixed, 28 changed by leejaeuk5 (31)
15 years ago
alberth
ae9cd9b700
(svn r16684) -Codechange: Add maxdim function for Dimension struct.
15 years ago
rubidium
2c478d1b6d
(svn r16683) -Codechange: move the cargo payment handling to a seperate class. Based on ideas of fonso/fonsinchen.
15 years ago
rubidium
e6ac18cd57
(svn r16682) -Codechange: make (static) industry list used to trigger the industries' production compile unit static instead of passing it around as pointer
15 years ago
rubidium
7f117cf256
(svn r16681) -Codechange: only resolve the company once for vehicle payment instead of each time a cargo packet is delivered
15 years ago
rubidium
5140f4261b
(svn r16680) -Codechange: don't go through all the station unloading stuff when there is no vehicle at the station
15 years ago
frosch
ce55eda3e1
(svn r16679) -Codechange: Let GetCapacityOfArticulatedParts() return a CargoArray instead of a pointer to a static array.
15 years ago
frosch
523cde0798
(svn r16678) -Codechange: Turn CargoArray into a class, so one does not have to deal with sizeof() wrt. typedef-ed arrays.
15 years ago
alberth
c52fe937d5
(svn r16677) -Codechange: Dimension width and height are unsigned.
15 years ago
frosch
4c3f480f92
(svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its instances to more meaningful names.
15 years ago
translators
415c575fe5
(svn r16675) -Update from WebTranslator v3.0:
...
german - 19 changes by planetmaker
ukrainian - 21 changes by Madvin
15 years ago
translators
83abcf6034
(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)
15 years ago
smatz
837b3628d9
(svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() and change its behaviour accordingly
15 years ago
alberth
28ad9897da
(svn r16672) -Codechange: Add functions to compute size of strings and sprites.
15 years ago
alberth
d5693bd446
(svn r16671) -Doc: Documenting Sprite structure.
15 years ago
alberth
657b6c84f0
(svn r16670) -Codechange: Containers with equally sized children are useful to have.
15 years ago
frosch
9136b9b779
(svn r16669) -Cleanup (r1): Only animated tiles are... animated.
15 years ago
translators
cbb3fa2eca
(svn r16668) -Update from WebTranslator v3.0:
...
dutch - 43 changes by Yexo
ukrainian - 34 changes by Madvin
15 years ago
smatz
873a205ae6
(svn r16667) -Codechange: replace GetRandomTown() and GetRandomIndustry() by Town::GetRandom() and Industry::GetRandom()
15 years ago
smatz
0e5af86ead
(svn r16666) -Codechange: replace GetHouseSpecs() by HouseSpec::Get(), hide _house_specs[]
15 years ago
smatz
7b78bae8e7
(svn r16665) -Codechange: replace GetTownByTile() by Town::GetByTile()
15 years ago
smatz
d39c08fd9d
(svn r16664) -Codechange: move house-related stuff from town.h and town_type.h to separate files
15 years ago
smatz
5ca420492f
(svn r16663) -Codechange: make removing of railway station tiles faster
15 years ago
smatz
9d63b88b22
(svn r16662) -Codechange: replace GetRoadStopByTile() by RoadStop::GetByTile()
15 years ago
smatz
d5e58990f8
(svn r16661) -Codechange: move definition of few very short functions to header files
15 years ago
smatz
bd208c30e0
(svn r16660) -Codechange: get rid of more dummy tile_type_procs
15 years ago
smatz
5d301445a2
(svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() and change its behaviour accordingly
...
-Codechange: remove dummy GetAcceptedCargo_*() handlers
15 years ago
translators
0767682e01
(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
15 years ago
translators
1eb577e003
(svn r16657) -Update: WebTranslator2 update to 2009-06-25 16:41:10
...
finnish - 1 fixed by jpx_ (1)
serbian - 110 fixed by etran (110)
15 years ago
smatz
5799a7a57c
(svn r16656) -Fix (r16655): strange things happen
15 years ago
smatz
c113303593
(svn r16655) -Codechange: use IsRailwayStationTile() more
15 years ago
smatz
72bee4ad2d
(svn r16654) -Codechange: cache industries in station's coverage area instead of searching them everytime payment is made
15 years ago
smatz
2fc6fc7d62
(svn r16653) -Fix (r16269): TOC() macro was broken
15 years ago
smatz
d4538bc611
(svn r16652) -Codechange: use less strict, but faster check for quickly bailing out in FindTrainCollideEnum() (Bilbo)
...
-Codechange: shuffle the code a bit
15 years ago
yexo
210c61bef7
(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.
15 years ago
yexo
b424962e57
(svn r16650) -Fix (r16649): missing ()
15 years ago
yexo
f225163e60
(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.
15 years ago
yexo
a52f5c45e6
(svn r16648) -Codechange: move some more includes around
15 years ago
yexo
b00726a5d2
(svn r16647) -Codechange: remove newgrf.h include from newgrf_engine.h to prevent unnecessary inclusion newgrf.h anyway
15 years ago
smatz
a9602401f0
(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()
15 years ago
translators
6a43a2e8f2
(svn r16645) -Update from WebTranslator v3.0:
...
russian - 6 changes by Lone_Wolf
15 years ago
translators
172a366412
(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)
15 years ago
smatz
f6a4d61cca
(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
15 years ago
smatz
916331328e
(svn r16642) -Codechange: use map size limits enum at one more place
16 years ago
smatz
4b3bf5667a
(svn r16641) -Codechange: reduce number of multiplications done in FindTrainCollideEnum() to minimum
16 years ago
smatz
61a42f42c1
(svn r16640) -Codechange: move roadstop stuff to separate files
16 years ago
smatz
cc9ecc4e7d
(svn r16639) -Codechange: enumify RoadStop::status, move definition of short functions to header file
16 years ago
smatz
51c8a2fefc
(svn r16637) -Cleanup: remove unused _debug_station_level
16 years ago
smatz
da1b67f115
(svn r16636) -Codechange: no need to initialize already zeroed variables by zero in station and rs constructors, remove debug output
16 years ago
rubidium
b5f49d5b5a
(svn r16635) -Fix: a couple of MSVC 64 bits warnings
16 years ago
smatz
54cbd17bd8
(svn r16634) -Codechange: use Company::IsHumanID() instead of IsHumanCompany()
16 years ago
smatz
9ec6fc8a61
(svn r16633) -Codechange: remove checks for consistency of newpool
16 years ago
smatz
45312433b6
(svn r16632) -Codechange: rename Town::flags12 to Town::flags
16 years ago
smatz
f733d75dad
(svn r16631) -Fix (r1826)(r1881)(r9613): loading of some town data from old savegames was broken
16 years ago
glx
a2ef2e748e
(svn r16630) -Fix (r16629): forgot a continue
16 years ago
glx
a77b5e7c29
(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)
16 years ago
smatz
721a0b0608
(svn r16628) -Codechange: remove one gcc2 hack
16 years ago
smatz
368eb3d473
(svn r16627) -Fix: warning about comparing signed and unsigned types
16 years ago
rubidium
4b60c03e60
(svn r16625) -Fix: unsigned vs signed warning in strgen
16 years ago
rubidium
0704883074
(svn r16622) -Fix: {CARGO} only consumes 1 argument
16 years ago
translators
e8530f1c0e
(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)
16 years ago
rubidium
39d51e3cfa
(svn r16620) -Fix (r16619): sometimes one misses the obvious :(
16 years ago
rubidium
1e84abd2d6
(svn r16619) -Cleanup: more coding style in airport stuff.
16 years ago
frosch
4ff924862d
(svn r16618) -Fix (r16614): Silence a warning.
16 years ago
rubidium
7ced2b4795
(svn r16617) -Cleanup: some incorrect indenting
16 years ago
translators
d4cb72d75b
(svn r16616) -Update from WebTranslator v3.0:
...
french - 41 changes by glx
16 years ago
yexo
2c82d10226
(svn r16615) -Fix (r16613): 0x10 != 2
16 years ago
yexo
679ffee940
(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
16 years ago
yexo
3531315322
(svn r16613) -Fix [NewGRF]: some of the var action 2 80+ variables contained wrong results due to OpenTTD codechanges
16 years ago
alberth
8d3e094920
(svn r16612) -Fix (r16605): ASCII_LETTERSTART should be defined unconditionally (leeus)
16 years ago
belugas
af54ba7bfc
(svn r16611) -Doc Fix(r16606): "then" became "the" and now is gone.
...
In other words, fix a comment ;)
16 years ago
rubidium
ba85e6dae1
(svn r16610) -Fix: remove rogue space before '?'
16 years ago
alberth
460b2656df
(svn r16609) -Codechange: Introduction of widget sizes and offsets used while drawing.
16 years ago
translators
d4e8d62bcc
(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)
16 years ago
alberth
484a915ec2
(svn r16606) -Doc: Added/fixed doxygen comments.
16 years ago
alberth
f773774d15
(svn r16605) -Codechange: Move ASCII_LETTERSTART to the right source file.
16 years ago
alberth
88d75805af
(svn r16604) -Codechange: Use FS_BEGIN for iterating over fonts.
16 years ago
smatz
d65963a48f
(svn r16603) -Codechange: enumify map size limits (based on a patch by Bilbo)
16 years ago
peter1138
67485b5c76
(svn r16602) -Fix (r13831): Antialiased fonts broken; check pixel_mode instead of palette_mode. (Why did it work at some point?)
16 years ago
rubidium
71c7064ad6
(svn r16601) -Fix [FS#2880]: try 2... hopefully better this time
16 years ago
frosch
a490ae68ed
(svn r16600) -Fix: Give a more meaningful error message when console commands expect an integer but don't get one.
16 years ago
rubidium
e48606124d
(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.
16 years ago
smatz
717248b0d8
(svn r16596) -Fix (r16378): there were several hundreds of empty signs above tile 0 after loading TTO/TTD savegame
16 years ago
translators
68ba22738f
(svn r16595) -Update: WebTranslator2 update to 2009-06-18 17:50:03
...
russian - 31 fixed, 11 changed by Lone Wolf (42)
16 years ago
rubidium
c011ea92f2
(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.
16 years ago
rubidium
a5256855a3
(svn r16593) -Cleanup: realign the TTDP flags table.
16 years ago