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
15 years ago
smatz
4b3bf5667a
(svn r16641) -Codechange: reduce number of multiplications done in FindTrainCollideEnum() to minimum
15 years ago
smatz
61a42f42c1
(svn r16640) -Codechange: move roadstop stuff to separate files
15 years ago
smatz
cc9ecc4e7d
(svn r16639) -Codechange: enumify RoadStop::status, move definition of short functions to header file
15 years ago
smatz
51c8a2fefc
(svn r16637) -Cleanup: remove unused _debug_station_level
15 years ago
smatz
da1b67f115
(svn r16636) -Codechange: no need to initialize already zeroed variables by zero in station and rs constructors, remove debug output
15 years ago
rubidium
b5f49d5b5a
(svn r16635) -Fix: a couple of MSVC 64 bits warnings
15 years ago
smatz
54cbd17bd8
(svn r16634) -Codechange: use Company::IsHumanID() instead of IsHumanCompany()
15 years ago
smatz
9ec6fc8a61
(svn r16633) -Codechange: remove checks for consistency of newpool
15 years ago
smatz
45312433b6
(svn r16632) -Codechange: rename Town::flags12 to Town::flags
15 years ago
smatz
f733d75dad
(svn r16631) -Fix (r1826)(r1881)(r9613): loading of some town data from old savegames was broken
15 years ago
glx
a2ef2e748e
(svn r16630) -Fix (r16629): forgot a continue
15 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)
15 years ago
smatz
721a0b0608
(svn r16628) -Codechange: remove one gcc2 hack
15 years ago
smatz
368eb3d473
(svn r16627) -Fix: warning about comparing signed and unsigned types
15 years ago
rubidium
4b60c03e60
(svn r16625) -Fix: unsigned vs signed warning in strgen
15 years ago
rubidium
0704883074
(svn r16622) -Fix: {CARGO} only consumes 1 argument
15 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)
15 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
rubidium
8f74c85d74
(svn r16592) -Fix [FS#2880]: 'connection lost' was also shown when the client was 'leaving'.
16 years ago
rubidium
6d70d935a9
(svn r16591) -Codechange: some coding style in strgen
16 years ago
rubidium
62ee93c702
(svn r16590) -Fix [FS#2967]: don't crash when tars/newgrfs are removed, just tell the file could be opened/found.
16 years ago
translators
54c22ce1e3
(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)
16 years ago
rubidium
11c7c258dd
(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.
16 years ago
yexo
4c227b6b78
(svn r16585) -Add [NoAI]: AIBuoyList to get a list of all buoys
16 years ago
rubidium
6a5c852aea
(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.
16 years ago
rubidium
2f4336b175
(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.
16 years ago
translators
ad5d4d57c3
(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)
16 years ago
rubidium
8ca2ccc456
(svn r16581) -Codechange: unify the access to Engine::lifelength.
16 years ago
rubidium
ee96d737b2
(svn r16580) -Codechange: rename Engine::image_index to original_image_index to not confuse it with image_index from *VehInfo.
16 years ago
rubidium
2df1a2119c
(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
16 years ago
translators
880f420525
(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)
16 years ago
rubidium
af4992ec14
(svn r16577) -Fix: signed/unsigned comparison
16 years ago
rubidium
714acd5c74
(svn r16576) -Fix: show the line of the translation file that has the fault and not the line of the string in english.txt.
16 years ago
alberth
978a9df133
(svn r16575) -Fix (r15760): Move resize sprite to the right when widget is lowered for RTL languages also.
16 years ago
rubidium
f1840d084b
(svn r16574) -Codechange: reorder stuff in NetworkGameInfo so compilers waste less bytes aligning stuff and fix the comment of the structs.
16 years ago
rubidium
8b8920533b
(svn r16573) -Fix: [Network] Always send the starting date from the game you're currently playing instead the starting date from the config file.
16 years ago
rubidium
c09176b0b7
(svn r16572) -Codechange: also catch FPEs in saveload and the warning about missing NewGRFs; only happens when assertions are disabled and NewGRFs are missing.
16 years ago
smatz
632a3191f6
(svn r16571) -Fix [FS#2974](r16322): in some cases, train could be stuck in depot
16 years ago
yexo
eed0de5166
(svn r16569) -Codechange: remove the gaps in the AirportTiles enum
16 years ago
yexo
7d4e41c977
(svn r16568) -Codechange: rename all arrays with airport-tile sprites
16 years ago
yexo
772ed49d15
(svn r16567) -Fix (r16566): some minor corrections
16 years ago
yexo
fc00382c0d
(svn r16566) -Codechange: enumify all airport tiles
16 years ago
translators
f74489c69e
(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)
16 years ago
yexo
148559ff5e
(svn r16563) -Fix [NoAI]: AIMarine::AreWaterTilesConnected didn't return true for bridge head<>neighbouring water tile
16 years ago
yexo
e624d96282
(svn r16562) -Revert (r16561)
16 years ago
yexo
c5c15fcbd9
(svn r16561) -Fix [NoAI]: AIMarine::AreWaterTilesConnected didn't return true for bridge head<>neighbouring water tile
16 years ago
smatz
500b272ba1
(svn r16560) -Fix (r16559): wrong replacement at one place
16 years ago
smatz
a2567c84a0
(svn r16559) -Codechange: introduce Company::IsValidAiID() and Company::IsValidHumanID(), don't use IsHumanCompany() where possible
16 years ago
alberth
0b66eb938f
(svn r16558) -Codechange: Switch found-town window to nested widgets.
16 years ago
smatz
0ae854650a
(svn r16557) -Feature(tte) [NoAI][FS#2892]: mark dead AIs by red background in the AIDebug window
16 years ago
smatz
f67ea11992
(svn r16556) -Codechange [NoAI]: use accessor for AIInstance::is_dead
16 years ago
smatz
7d4d3850cb
(svn r16555) -Feature [FS#570]: ability to enter server and company password via command line when joining a server (based on patch by Progman, Ammler and planetmaker)
16 years ago
smatz
2d841c66e5
(svn r16554) -Fix (r16433): compilation with disabled network was broken
16 years ago
smatz
ca9787b2ea
(svn r16553) -Codechange: don't use TRACK_BIT_WORMHOLE and TRACK_BIT_DEPOT as bitmasks
16 years ago
smatz
aae77c67cb
(svn r16552) -Codechange: make AddTileIndexDiffCWrap() a bit faster
16 years ago
smatz
8786c8792d
(svn r16551) -Codechange: use shift instead of multiplication in TileXY()
16 years ago
smatz
6ba1c691ad
(svn r16550) -Codechange: move definition of ScaleByMapSize to header file, use shifts instead of mults
16 years ago
smatz
0f76a15344
(svn r16549) -Codechange: use bool in TileLoopClearHelper
16 years ago
smatz
e300d153cc
(svn r16548) -Fix (r16538): removing of duplicates of base graphics set could behave randomly
16 years ago
smatz
ac991bff90
(svn r16547) -Codechange: make CircularTileSearch a tiny bit faster
16 years ago
smatz
55b1e701e4
(svn r16546) -Codechange: use array member instead of allocating in costructor and freeing in desctructor
16 years ago
smatz
5c934c621d
(svn r16545) -Cleanup: tunnels have been returning correct SlopeZ since r1
16 years ago
smatz
d2ad6d38be
(svn r16544) -Codechange: use double-linked list for vehicle position caches in order to improve performance (~5% with many vehicles)
16 years ago
translators
86f6a61d3b
(svn r16543) -Update: WebTranslator2 update to 2009-06-09 17:05:46
...
russian - 6 deleted, 276 changed by Lone Wolf (282)
16 years ago
smatz
f76c080976
(svn r16542) -Fix [FS#2971](r16307): depend failed on architectures with unsigned char
16 years ago
rubidium
5209b32953
(svn r16538) -Fix (r16503): when finding duplicate graphics sets favour the more complete one
16 years ago
translators
644e879b16
(svn r16537) -Update: WebTranslator2 update to 2009-06-08 17:40:35
...
french - 1 fixed by glx (1)
german - 1 changed by planetmaker (1)
russian - 31 fixed, 89 changed by Lone Wolf (120)
16 years ago
frosch
6d54a1939e
(svn r16536) -Fix (r16535): W != S
16 years ago
frosch
28f8c8b493
(svn r16535) -Fix (r16146): In one case a too small portion of the screen was marked dirty, when (un-)drawing selections.
16 years ago
yexo
76b077ce25
(svn r16534) -Fix [Squirrel] [FS#2942]: fix crash that occured when an AI was halted while one or more generators were still in a 'running' state
16 years ago
translators
a9c6dcfa81
(svn r16533) -Update: WebTranslator2 update to 2009-06-07 17:45:47
...
icelandic - 8 fixed, 50 changed by scrooge (58)
russian - 8 fixed, 28 changed by Lone Wolf (36)
serbian - 100 fixed by etran (100)
16 years ago
yexo
1c754c75d6
(svn r16532) -Fix [Squirrel]: Don't copy an object when we just checked that the pointer to it is NULL
16 years ago
alberth
d7663017e5
(svn r16530) -Fix [FS#2964], (r16501): Deduct additional widget length given away to a child from the total (Hirundo).
16 years ago
yexo
338f75b3b2
(svn r16529) -Fix [NoAI]: StationIDs from oilrigs were not considered valid by the API.
16 years ago
frosch
69107b00cc
(svn r16528) -Fix [FS#2959]: Draw PBS reservation as groundsprite resp. childsprite of foundation/bridgehead.
16 years ago
smatz
af85994f7f
(svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check
16 years ago
smatz
6cf1610a08
(svn r16526) -Fix: don't cast Vehicle to RoadVehicle when it's not a RoadVehicle
16 years ago
frosch
289e8a7f45
(svn r16525) -Codechange: Notify small ufos on deletion of road vehicles, so they can head for somewhere else instead of stumbling over a ghost.
16 years ago
rubidium
8d6dec5e72
(svn r16524) -Fix [FS#2963]: missing guards in the NoAI API making it possible to hit an assert in OpenTTD.
16 years ago
frosch
d98e8fcf90
(svn r16523) -Fix (rNewPool): Segfault when small ufos were heading for deleted vehicles.
16 years ago
yexo
8dba8371e3
(svn r16522) -Fix [FS#2962]: possible assert in ai debug window when an AI was stopped an a human company took it's CompanyID
16 years ago
frosch
a75f564af4
(svn r16521) -Fix [FS#2946] (r13945): Do not access 'compatible_railtypes' for road vehicles. (causing invalid reads since r16391/16392)
16 years ago
yexo
a2c5c2651a
(svn r16520) -Fix [NoAI]: Make sure AIBridge::BuildBridge returns what the documentation says it does (r16244 for AIBridge)
16 years ago
alberth
e77b0adb53
(svn r16519) -Add: Prevent hiding of a window titlebar behind the status bar.
16 years ago
translators
4973d4a290
(svn r16518) -Update: WebTranslator2 update to 2009-06-04 16:25:41
...
swedish - 39 fixed by daishan (39)
16 years ago
alberth
e47ca002d2
(svn r16517) -Codechange: Switched intro-screen and town directory window to nested widget trees.
16 years ago
alberth
cbf2d24ebb
(svn r16516) -Codechange: Added click and drag handling for nested widgets.
16 years ago
alberth
24b2876cb5
(svn r16515) -Codechange: Added scrollbar handling for nested widgets, and finding widgets by type or position in the tree.
16 years ago
alberth
ed0a0a681a
(svn r16514) -Codechange: Add widget flags, and drawing and invalidating.
16 years ago
alberth
bb075195b9
(svn r16513) -Codechange: Add nested widgets root and array to Window, and NWidgetBase::FillNestedArray() to fill the array.
16 years ago
rubidium
bb854f2b97
(svn r16510) -Doc: silence some (AI) doxygen warnings by adding comments about the appropriate things.
16 years ago
yexo
1df82e9702
(svn r16509) -Fix (r16502): All Sleep/DoCommand calls failed instead of only those via a call/acall/pcall function
16 years ago
smatz
4e7ec0035e
(svn r16507) -Fix (r16503): segfault when deleting non-last graphics set
16 years ago
smatz
f74b597c83
(svn r16506) -Fix: count only active clients (not those waiting for map download) when checking min_active_clients limit
16 years ago
rubidium
d7eb9f9d0e
(svn r16505) -Fix [FS#2951] (r16472): since g++ 4.4 the implicit (default) constructor will zero the whole class. This caused all vehicle indices to be 0, which causes all kinds of trouble.
16 years ago
smatz
e6b8b65fcd
(svn r16504) -Fix [FS#2948](r16435): one couldn't build anything in the scenario editor
16 years ago
rubidium
b982ff66f6
(svn r16503) -Fix: base graphics names must be unique, so don't add duplicates (even if the versions differ).
16 years ago
yexo
62a698df32
(svn r16502) -Fix [FS#2935]: when an AI was suspended while in a function called (indirectly) via call/acall/pcall OpenTTD crashed. Fix this by disallowing AIs to be suspended while called via call/acall/pcall.
...
IMPORTANT FOR AI WRITERS: AIs can no longer call any DoCommand functions (change anything, build vehicles, etc.) in a function called (indirectly) via call/acall/pcall. Where possible, please rewrite your code so it doesn't use call/acall/pcall
16 years ago
alberth
85824cf261
(svn r16501) -Codechange: Introduced different phases in resizing a nested widget tree.
16 years ago
translators
afd9e81a47
(svn r16499) -Update: WebTranslator2 update to 2009-06-01 17:32:36
...
luxembourgish - 3 fixed, 11 changed by *jigo* (14)
serbian - 105 fixed by etran (105)
16 years ago
frosch
c9eac207ea
(svn r16498) -Codechange: Remove hardly used HASBITS.
16 years ago
smatz
61e668929f
(svn r16497) -Feature [FS#2870]: Q/W/E/D will now open the landscape toolbar and select appropriate tool
16 years ago