truebrain
002427eab9
(svn r15121) -Fix: more mem-leak fixes (this should make SmatZ so happy ;) :p)
16 years ago
truebrain
8cbf156252
(svn r15120) -Fix: more mem-leak fixes
16 years ago
frosch
3980e2739a
(svn r15119) -Fix: several issues with result 0x4 (standard production change of primary industries) of callbacks 0x29 and 0x35.
16 years ago
truebrain
d790884ee6
(svn r15118) -Fix: fix a minor mem-leak
16 years ago
belugas
967356c7e5
(svn r15117) -Codechange: enlarge a few text boxes in the Create Scenario window, allowing them to be more visible.
16 years ago
smatz
bd14084f40
(svn r15116) -Fix (r1): company money weren't correctly converted from TTD(P) savegames
16 years ago
belugas
b7b116b1f4
(svn r15115) -Documentation: Add some widget enums to the widget array definition (Terkhen).
16 years ago
peter1138
8ab3e4b7b6
(svn r15114) -Codechange: Add support for 8 byte action7/9 data, used as a mask for GRFID checks.
16 years ago
rubidium
3fb43b6bcb
(svn r15113) -Codechange: unify calling ScanForTarFiles when determining the paths.
16 years ago
rubidium
7c51d9f429
(svn r15112) -Fix (r15108): transform should include algorithm as that's where it's from. Furthermore not including it gives compile errors for some
16 years ago
rubidium
435a69da1e
(svn r15111) -Fix: when scanning a path and saying it should ignore tars, it didn't do so
16 years ago
rubidium
75998ca081
(svn r15110) -Fix: reading the shortname of graphicssets always missed the first character.
16 years ago
truebrain
dec721ca6f
(svn r15109) -Add [NoAI]: add AITile::LevelTiles (Yexo)
16 years ago
truebrain
47406dbc69
(svn r15108) -Fix: TarAddLink didn't lowercase strings, breaking tar-loading when using uppercase files
16 years ago
truebrain
f5e0590c09
(svn r15107) -Fix [NoAI]: don't use so much explicit string copies if it is not required
16 years ago
rubidium
65ae906940
(svn r15106) -Fix [NoAI]: printf-ing of garbage.
16 years ago
smatz
e4127c7e5e
(svn r15105) -Fix (r15104): signed/unsigned warning
16 years ago
rubidium
eff693d2e9
(svn r15104) -Codechange: unify the resolving of the xyz kbytes/megabytes strings.
16 years ago
frosch
5d585dcb4d
(svn r15103) -Change: Keep industry variables 8E and 8F in sync with 93, when changing production using results 0D, 0E or 0F of callback 29 or 35.
16 years ago
truebrain
cafff6eb60
(svn r15102) -Fix (r15101): somehow makedepend fucked up (patch by Yexo)
16 years ago
truebrain
bd520ca562
(svn r15101) -Change [API CHANGE]: more consistant naming for consts:
...
INVALID_TOWN_RATING -> TOWN_RATING_INVALID
INVALID_TRANSPORT -> TRANSPORT_INVALID
INVALID_ORDER -> ORDER_INVALID
INVALID_GROUP -> GROUP_INVALID
GROUP_ALL/DEFAULT -> ALL/DEFAULT_GROUP
VEHICLE_RAIL/ROAD/.. -> VT_RAIL/ROAD/..
MY_COMPANY -> COMPANY_SELF
FIRST/LAST/INVALID_COMPANY -> COMPANY_FIRST/LAST/INVALID
16 years ago
truebrain
b9ebab0e5d
(svn r15100) -Add [NoAI]: introduce TILE_INVALID as const
16 years ago
truebrain
1cd56af6da
(svn r15099) -Fix (r15078): GetTileIndex(0, -1) is perfectly fine
16 years ago
translators
2cc59ebf67
(svn r15097) -Update: WebTranslator2 update to 2009-01-15 18:47:56
...
brazilian_portuguese - 8 fixed by tucalipe (8)
danish - 4 fixed, 1 changed by beruic (5)
dutch - 6 fixed by habell (6)
english_US - 76 fixed by WhiteRabbit (76)
french - 7 fixed, 1 changed by glx (8)
greek - 9 fixed, 2 changed by doukas (11)
indonesian - 13 changed by fanioz (13)
norwegian_nynorsk - 24 fixed by runarlu (24)
polish - 5 fixed by xaxa (5)
16 years ago
truebrain
91c7cba05b
(svn r15096) -Fix [NoAI]: free memory when no longer needed
...
-Fix [NoAI]: when there are multiple versions of one AI, never randonly pick an older one, but always the latest
16 years ago
truebrain
e436f0218f
(svn r15095) -Add [NoAI]: allow AI Libraries to be in .tar files (subdir required, as with AIs
...
-Add [NoAI]: allow multiple versions of the same AI co-exist
-Change [NoAI]: updated the whole method of AI (Library) finding and loading; it is now much more clear and transparent
-Change [NoAI]: the name of the AI is now the name used by CreateInstance()
-Change [NoAI]: make the AI finder a bit more clever, mostly related to version finding
16 years ago
peter1138
31a586dc6f
(svn r15094) -Feature: Add support for IP range bans using CIDR notation.
16 years ago
truebrain
fe7997e95f
(svn r15093) -Fix [NoAI]: check if a tile is valid before using IsTileType (bug found by Zuu, patch by Yexo)
16 years ago
truebrain
ae5c8a8b35
(svn r15091) -Add [NoAI] [API CHANGE]: introduce GetCategory() as a requirement for every library.nut, to indicate in which category it belongs. Currently the directory indicates the category, but this doesn't allow planned future additions
16 years ago
truebrain
e84138af22
(svn r15090) -Add [NoAI] [API CHANGE]: info.nut/library.nut now requires a function GetShortName(), which should return a 4 (four) character string, unique throughout the world. This id is simular to a GRFid.
16 years ago
peter1138
cb760eff4c
(svn r15088) -Fix [FS#2536]: Resize company list in town authority window if required.
16 years ago
peter1138
9b9a0fed8d
(svn r15087) -Codechange: Less hardcoding of y positions in town authority window.
16 years ago
truebrain
1e1cdd01b4
(svn r15086) -Fix: start AIs after 6 months on hard, 12 months on medium, and 24 months on easy. The current values were a bit .. too long waiting period ;)
16 years ago
peter1138
c4c32692df
(svn r15085) -Fix (r14164): Clearing a settings group did not delete old items nor reset the last_item pointer, causing lists to not be saved unless they started blank.
16 years ago
truebrain
61093eb211
(svn r15084) -Fix [NoAI] (r15027): by removing the threads for NoAIs, it is no longer possible to use DoCommand (even indirect) in AIAbstractList::Valuator().
16 years ago
truebrain
a45b3c4304
(svn r15083) -Add [NoAI]: added a console command to reload an AI (requested by Zuu)
16 years ago
rubidium
eb19b0abf9
(svn r15082) -Codechange: make the AI library path also a searchdir instead of manually manufacturing it into a searchdir.
16 years ago
smatz
514cf26325
(svn r15081) -Fix (r15080): of course it's about southern border, not northern...
16 years ago
smatz
9d6a7127f6
(svn r15080) -Fix: terraforming at the northern border failed without any visible reason
16 years ago
rubidium
850a2735cc
(svn r15079) -Codechange: split tcp 'backend' and in-game handling like it is for UDP.
16 years ago
truebrain
9724a986c8
(svn r15078) -Fix [NoAI]: AIMap didn't filter its input (Yexo)
16 years ago
smatz
ca45774160
(svn r15077) -Codechange: enumify DAYS_IN_YEAR and DAYS_IN_LEAP_YEAR
...
-Change: when computing daily running cost, divide by 365 (instead of 364). Since r12134, the rounding errors don't need this correction anymore
16 years ago
truebrain
5b4da28594
(svn r15076) -Fix: a start_date of 0 would never start an AI .. so don't allow it (Yexo)
16 years ago
truebrain
e05d2ef453
(svn r15075) -Fix: store _next_competitor_start as uint32, else it might overflow for values > 2.4 years
16 years ago
truebrain
d5a599f5e5
(svn r15074) -Fix: make Rubidium happy
16 years ago
peter1138
4585d9785d
(svn r15073) -Fix (r15067) [FS#2532]: Default copy constructors don't necessarily do what you want. Instead of creating one, we now pass a pointer around as that avoids additional allocations.
16 years ago
frosch
f70b4c5ae4
(svn r15072) -Fix (r14919): Distant-join search-area was determined inconsistently.
16 years ago
frosch
bc06145d24
(svn r15071) -Fix (r14919): When drag&dropping rail-stations with X orientation, distant-join scanned a wrong area for stations.
16 years ago
translators
fa31824a5f
(svn r15070) -Update: WebTranslator2 update to 2009-01-13 18:42:22
...
brazilian_portuguese - 16 fixed by tucalipe (16)
catalan - 8 fixed by arnaullv (8)
croatian - 24 fixed by tifached (24)
czech - 8 fixed by Hadez (8)
dutch - 2 fixed by Excel20 (2)
finnish - 7 fixed, 1 changed by UltimateSephiroth (8)
hungarian - 7 fixed, 2 changed by IPG (2), alyr (7)
indonesian - 23 fixed, 2 changed by fanioz (25)
italian - 7 fixed, 1 changed by lorenzodv (8)
japanese - 59 fixed by ickoonite (59)
polish - 3 fixed by xaxa (3)
romanian - 23 fixed, 1 changed by kkmic (24)
slovak - 59 fixed by James (59)
spanish - 58 fixed by Dominus (30), eusebio (28)
turkish - 7 fixed, 1 changed by Emin (8)
16 years ago
frosch
da29e853b1
(svn r15069) -Change (r14919): Make distant-join less intelligent but more transparent to the user by always showing the selection window, even if there is only one option to choose from. (PhilSophus)
16 years ago
truebrain
ec4bdfe611
(svn r15068) -Add [NoAI]: introducing 'step_size' for AIConfig, for future AIGUI (Yexo)
16 years ago
peter1138
afb94c252d
(svn r15067) -Fix [FS#2531]: Possible compiler bug, alleviated by using SmallVector instead of using std::set. SmallVector does everything needed anyway.
16 years ago
truebrain
f293bff01b
(svn r15066) -Change: start_date is now in days, instead of in months (Yexo)
16 years ago
frosch
7014833641
(svn r15065) -Change (r14919): Allow to select a new station location by ctrl-clicking while distant-join window is open. (PhilSophus)
16 years ago
truebrain
39cec4c65f
(svn r15063) -Fix [NoAI]: starting companies now listen correctly to 'start_date' set to the AI slot (Yexo)
...
-Add [NoAI]: add a 'deviation' value for all settings, giving a slight deviation of the value of a setting (Yexo)
16 years ago
smatz
638411c087
(svn r15062) -Fix: further forgotten svn properties and headers
16 years ago
smatz
c30ce23866
(svn r15061) -Fix (r15027): three files were missing the Id header
16 years ago
truebrain
ee17e1e7b8
(svn r15059) -Add [NoAI]: use 'start_date' from the AI configure to see when an AI should start next
16 years ago
truebrain
60d4900381
(svn r15058) -Fix [NoAI]: when using start_ai in console, start the next configured one, not a random (Yexo)
16 years ago
truebrain
bf1acb6772
(svn r15057) -Fix [NoAI]: clamp the values of a setting between the ones allowed by info.nut
16 years ago
truebrain
f29941a043
(svn r15056) -Add [NoAI]: when starting a game, give a random value to the setting marked with AICONFIG_RANDOM (Yexo)
16 years ago
truebrain
53d28d24b5
(svn r15055) -Add [NoAI]: add the AICONFIG_RANDOM and AICONFIG_BOOLEAN consts (Yexo)
16 years ago
rubidium
737c187f79
(svn r15053) -Cleanup: remove some unneeded includes
16 years ago
rubidium
01e92ac32a
(svn r15052) -Codechange: move the implementation of Send_CompanyInformation to network_server.cpp as the server's the one that sends that information
16 years ago
peter1138
c26fd4eacc
(svn r15051) -Fix: Only allow creation or deletion of an AI when in a game.
16 years ago
peter1138
f382c2381b
(svn r15050) -Codechange: Use one absolute SpriteID with offsets to draw track fences.
16 years ago
glx
55db451a32
(svn r15049) -Fix (r15045): MSVC performance warning
16 years ago
truebrain
81157e3d91
(svn r15048) -Fix (r15047): the one time you don't compile a patch of someone, it contains a warning .. ;)
16 years ago
truebrain
08591d8643
(svn r15047) -Fix [NoAI]: AICONFIG_BOOLEAN (in AddSetting) doesn't require (or even allow) a min/max setting .. it is always 0/1 (Yexo)
16 years ago
truebrain
75b8afc136
(svn r15046) -Fix (r15045): in case CanLoadFromRevision does not exist, only allow savedata from the same version as we are now
16 years ago
truebrain
5573d9a459
(svn r15045) -Add [NoAI API CHANGE]: in info.nut you can now have (optional) a CanLoadFromVersion(version), which should return true/false, to indicate if you can load a savegame made with your AI of version 'version'
...
-Add [NoAI API CHANGE]: in main.nut the Load() function now should be Load(version, data), where 'version' is the version of your AI which made the savegame
-Codechange [NoAI]: various of function renames to make things more sane
-Add [NoAI]: push the 'version' of the AI through various of layers
-Codechange [NoAI]: various of code cleanups
-Add [NoAI]: store the version of the AI in the savegame too
16 years ago
truebrain
27c0a4c801
(svn r15044) -Add [NoAI]: AIConfig::GetVersion(), to get the version of the current AI
16 years ago
truebrain
a2b24a8362
(svn r15043) -Fix: just try to change the AI, and see if that succeeded, instead of hoping you understand the internals of a change AI routine (to avoid possible mistakes in the future)
16 years ago
truebrain
c8f9cbca53
(svn r15042) -Fix (r15027): don't leak memory in AIInfo (Yexo)
16 years ago
truebrain
8823f796ea
(svn r15041) -Fix (r15038): use the ctor auto thing how it is meant to be used (tnx to SmatZ for pointing that out)
16 years ago
smatz
d286e1df4b
(svn r15039) -Codechange: fix comments regarding old AI, remove one old AI hack
16 years ago
truebrain
4c1e61997a
(svn r15038) -Fix (r15027): loading older savegames failed
16 years ago
smatz
96529b2f0c
(svn r15037) -Cleanup: remove unused file src/table/ai_rail.h
16 years ago
truebrain
03725c057f
(svn r15036) -Fix: use the same value for 'random' through-out the code for PlantTree
16 years ago
truebrain
dcae208dfe
(svn r15033) -Fix (r15027): silent a warning when compiling without network
16 years ago
truebrain
cb53184db4
(svn r15032) -Fix (r15030): Rubidium was too script-happy ;)
16 years ago
smatz
f528593a40
(svn r15031) -Fix (r15027): merge reverted r15026, so do it once again
16 years ago
rubidium
a5433f2e2b
(svn r15030) -Update (r15029): and from the other languages too (yay for WT2)
16 years ago
rubidium
4cc0bae6f8
(svn r15029) -Cleanup (r15027): remove strings that aren't needed anymore
16 years ago
truebrain
c2406cd42d
(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see.
...
NoAI is an API (a framework) to build your own AIs in. See:
http://wiki.openttd.org/wiki/index.php/AI:Main_Page
With many thanks to:
- glx and Rubidium for their syncing, feedback and hard work
- Yexo for his feedback, patches, and AIs which tested the system very deep
- Morloth for his feedback and patches
- TJIP for hosting a challenge which kept NoAI on track
- All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
16 years ago
smatz
ec97e1fd0d
(svn r15026) -Codechange: use SpriteTypeByte instead of SpriteType in the SpriteCache struct in order to make it smaller
16 years ago
frosch
9d659c306d
(svn r15019) -Fix (r14919): Close station selection window, when disabling distant-join setting. (PhilSophus)
16 years ago
frosch
9d0e2ffefb
(svn r15015) -Fix (r14919): Distant-join always failed for docks. Based on patch by PhilSophus.
16 years ago
frosch
5dcb9e63e3
(svn r15014) -Codechange: Add a helper function to get the needed DC_xxx flags from the result of GetCommandFlags().
16 years ago
truebrain
5477af10b5
(svn r15011) -Documentation: Nuclear, not Nucleair
16 years ago
frosch
69877b356f
(svn r15009) -Fix [FS#2528]: No need to extent the reserved path when the vehicle is still loading.
16 years ago
glx
cc7a0939e0
(svn r15008) -Revert (r12706): remove fibers
16 years ago
truebrain
546d1b7580
(svn r15006) -Codechange: throw a real instance of a class, instead of '0' (which can also be a throw from within a thread for what ever reason)
16 years ago
rubidium
537a8b8342
(svn r14999) -Change [FS#2523]: move service at helipad to the servicing options
16 years ago
smatz
f84b1e6970
(svn r14998) -Codechange: warn once about misuse of each sprite, not once about misuse of any sprite
16 years ago
smatz
b181bb9d25
(svn r14997) -Fix [FS#2524](r14223): when handling invalid sprites, entry in spritecache data could lose its parent
16 years ago
translators
f1f3d1387d
(svn r14996) -Update: WebTranslator2 update to 2009-01-11 18:44:49
...
afrikaans - 22 fixed by burgerd (22)
arabic_egypt - 18 fixed by khaloofah (18)
catalan - 16 fixed by arnaullv (16)
czech - 12 fixed by Hadez (12)
dutch - 13 fixed by Excel20 (13)
finnish - 1 fixed by UltimateSephiroth (1)
french - 1 fixed, 1 changed by glx (2)
greek - 8 fixed by paolitotas (8)
hungarian - 16 fixed by alyr (16)
italian - 16 fixed, 8 changed by lorenzodv (24)
lithuanian - 21 fixed by Enternald (21)
polish - 11 fixed by xaxa (11)
slovenian - 41 fixed by Necrolyte (41)
turkish - 22 fixed by Emin (22)
16 years ago
frosch
83467061b7
(svn r14994) -Fix [FS#Aali]: Better handling of OT_LOADING and OT_LEAVESTATION in ChooseTrainTrack.
16 years ago
frosch
5719596ce2
(svn r14993) -Fix (r14957, r14975): Do not reverse the train with OT_LEAVESTATION as that breaks PBS prediction.
16 years ago
frosch
b58cdfc294
(svn r14992) -Codechange: Rename 'CheckIfAuthorityAllows' to 'CheckIfAuthorityAllowsNewStation' and unduplicate a tiny bit of code.
16 years ago
frosch
0c23420998
(svn r14991) -Fix: Command-flags is an uint32.
16 years ago
rubidium
c305a35e45
(svn r14990) -Codechange: handle articulated RVs and trams more strictly in GetStationTileForVehicle and CanVehicleUseStation (based on idea by Swallow)
16 years ago
rubidium
9e9af7f561
(svn r14989) -Codechange: remove a lookup table by reordering some items in english.txt (Swallow)
16 years ago
rubidium
9f74d89c58
(svn r14986) -Doc: small error in a comment (PhilSophus)
16 years ago
rubidium
3a7c62022d
(svn r14980) -Change: shuffle around some more settings to make them more logically grouped/ordered
16 years ago
peter1138
94e3f9dbac
(svn r14979) -Fix: Disable a NewGRF from loading if it contains multiple Action 8s
16 years ago
rubidium
bf744ec651
(svn r14978) -Codechange: simplify the control flow of the OnClick of the settings window
16 years ago
translators
ab2ad42023
(svn r14977) -Update: WebTranslator2 update to 2009-01-10 18:44:17
...
arabic_egypt - 4 fixed by khaloofah (4)
brazilian_portuguese - 26 fixed by tucalipe (26)
bulgarian - 3 fixed by Ar4i (3)
catalan - 3 fixed by arnaullv (3)
croatian - 35 fixed by tifached (35)
czech - 52 fixed, 10 changed by Hadez (62)
danish - 4 fixed by ThomasA (4)
dutch - 6 fixed by Excel20 (4), habell (2)
finnish - 15 fixed by UltimateSephiroth (15)
french - 15 fixed by glx (15)
hungarian - 6 fixed by alyr (6)
indonesian - 6 fixed, 64 changed by fanioz (70)
italian - 3 fixed, 1 changed by lorenzodv (4)
portuguese - 6 fixed by rmrebelo (6)
romanian - 6 fixed by kkmic (6)
16 years ago
frosch
1fdd53e428
(svn r14975) -Fix (r14957): Do not immediatelly move the train when leaving the station and the destination is not yet known.
16 years ago
rubidium
6ef631d590
(svn r14974) -Change: reorder/reorganise the entries of the settings window (Alberth)
16 years ago
rubidium
ffa31d118d
(svn r14973) -Codechange: recursively fold subpages (Alberth)
16 years ago
rubidium
e3b7f14183
(svn r14972) -Update: do r14971 also for the non-English strings (Alberth)
16 years ago
rubidium
d56ee67c29
(svn r14971) -Change: the colour of the patch page text so it becomes more visible as it changed background (Alberth)
16 years ago
rubidium
0120505763
(svn r14970) -Change: move all (patch) settings to a single "page" (Alberth)
16 years ago
rubidium
7642fd7b34
(svn r14969) -Codechange: make drawing trees possible (Alberth)
16 years ago
rubidium
097fddc454
(svn r14967) -Codechange: split the drawing of the window into several smaller functions (Alberth)
16 years ago
rubidium
5b6489e2d3
(svn r14966) -Codechange: simplify and generalise finding patch entries (Alberth)
16 years ago
rubidium
75a776770b
(svn r14965) -Codechange: remember the patch entry instead of the page and index of the entry for handling the "input box" (Alberth)
16 years ago
rubidium
b467902e65
(svn r14964) -Codechange: hide the length of a patch page behind a function (Alberth)
16 years ago
rubidium
58c5b6106e
(svn r14963) -Codechange: remember what entry was clicked instead of the index (Alberth)
16 years ago
rubidium
c91930e94c
(svn r14962) -Codechange: add the concept of patch entries and patch (sub) pages
16 years ago
rubidium
bc8d1d7b0d
(svn r14961) -Update: remove the string from r14960 from the other languages too.
16 years ago
rubidium
a54e957416
(svn r14960) -Codechange: add some this where appropriate (Alberth)
16 years ago
rubidium
88e3815176
(svn r14959) -Fix [FS#2508]: wrong defaults for service interval when switching between service interval in days and service interval in percentages.
16 years ago
smatz
c5db2ea181
(svn r14958) -Codechange [FS#1923]: when checking for unique names, compare only with manually set names
...
There are situations that aren't solvable (because of different language files), so if the user really wants to have duplicated name, allow him to do so. It solves desyncs between server and clients using different languages. It behaves the same in SP and MP, so users won't see the different behaviour as a bug (and even checking in SP could be worked around by the user).
16 years ago
frosch
818b162b35
(svn r14957) -Fix [FS#2516]: Do not abort train movement, when we are just about to reach the end of the platform.
16 years ago
rubidium
70b434355d
(svn r14956) -Fix [FS#1832]: building new station parts didn't allocate a new station spec effectively breaking variable 41. This was due to the limited number of station specs that we can have per station. This fix makes newly build station parts create a new spec until one cannot allocate new station specs anymore and it'll revert to the old behaviour (sharing station specs).
16 years ago
rubidium
2887ff3077
(svn r14955) -Fix: newgrf station specs didn't get deallocated when building a new station part over them.
16 years ago
rubidium
905631d9df
(svn r14954) -Fix [FS#1890]: sharing/cloning/inserting of orders that the/a vehicle (in the shared list) can't go to (wrong station type etc)
16 years ago
rubidium
de9b394557
(svn r14953) -Fix (r14952): the "available aircraft" list caused a crash
16 years ago
rubidium
0543f50181
(svn r14952) -Codechange: unify the "can vehicle go to station" tests
16 years ago
rubidium
28ea38ae55
(svn r14949) -Cleanup: pointer coding style
16 years ago
smatz
86d50b6415
(svn r14948) -Codechange: enumification and more comments in the statusbar code
16 years ago
rubidium
66876e890f
(svn r14947) -Fix [FS#2519]: vehicle following did not update the location from where to smooth scroll, thus any new viewport center would smooth scroll from the location where you were just before you started following the vehicle
16 years ago
rubidium
48c97558f7
(svn r14946) -Fix: copying a location from the extra viewport to the main viewport did not cancel vehicle following
16 years ago
frosch
e13dc4d99d
(svn r14945) -Feature(ette): Support var 0x45 (curvature info) also for road vehicles.
16 years ago
rubidium
c0e7434f38
(svn r14944) -Cleanup: add spaces around some operators
16 years ago
rubidium
054787f082
(svn r14943) -Cleanup: remove some rogue spaces/replace some rogue tabs with spaces
16 years ago
smatz
11822aa8ef
(svn r14940) -Fix: let the statusbar know the current news are invalid or bad things will happen
16 years ago
peter1138
7175ff116e
(svn r14939) -Codechange: Follow standard *ChangeInfo() pattern for global variables during reservation. Whilst not strictly necessary for global variables, following the same pattern makes it easier to follow. This also solves the long standing ChangeInfoResult/bool warning for MSVC.
16 years ago
rubidium
f902e3097d
(svn r14938) -Fix: some small inconsistencies w.r.t. "0 is disabled" setting handling
16 years ago
frosch
b0b6285c26
(svn r14936) -Fix: INDUSTRYBEH_ONLY_NEARTOWN bypassed the clear-test and could e.g. result in incomplete clearing of protected houses.
16 years ago
rubidium
ee45f0fb03
(svn r14935) -Fix [FS#2498]: the new operator may not return NULL, so don't.
16 years ago
rubidium
a5e835ab89
(svn r14934) -Fix: in (extreme) cases CanAllocateItem could return true when there's not enough space.
16 years ago
rubidium
d197060137
(svn r14933) -Codechange: check the whether a pool item can be constructed instead of trying to make it and check for NULL.
16 years ago
rubidium
de9413454e
(svn r14931) -Fix [FS#2512]: the "animation state" of the bubbles was stored in a variable that was not stored in the savegame. Using a variable that gets saved in the savegame solves the desync and makes it a bit clearer.
16 years ago
belugas
f0033f8003
(svn r14927) -Codechange: constify widget numbers in network chat gui.
16 years ago
peter1138
544e04fe62
(svn r14926) -Feature: Automatically set last engine ageing year to the last 'introduction year plus half model life', to allow engines later than 2050 to appear.
16 years ago
frosch
eec8c04586
(svn r14925) -Fix [FS#2500]: Abort dragging of vehicles in the group window when they are deleted.
16 years ago
frosch
10b664dbac
(svn r14924) -Fix (r7403): Do not unnecessarily reset the cursor, when a different vehicle is dragged.
16 years ago
translators
ffd7b75fb7
(svn r14922) -Update: WebTranslator2 update to 2009-01-08 18:49:15
...
afrikaans - 20 fixed, 52 changed by wpduplessis (72)
bulgarian - 46 fixed, 1 changed by Ar4i (47)
catalan - 6 fixed by arnaullv (6)
dutch - 3 fixed, 1 changed by habell (4)
finnish - 10 fixed by jpx_ (10)
french - 3 fixed by glx (3)
indonesian - 1 changed by fanioz (1)
italian - 3 fixed by lorenzodv (3)
korean - 23 fixed by leejaeuk5 (23)
norwegian_bokmal - 3 fixed by khh (3)
polish - 3 fixed by xaxa (3)
ukrainian - 21 fixed by znikoz (21)
16 years ago
frosch
fc381496b7
(svn r14921) -Fix [FS#2507]: Do not try to calculate a center of a train-station, when there is none.
16 years ago
rubidium
7a5798695d
(svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus)
16 years ago
rubidium
d29dc478dd
(svn r14918) -Cleanup: remove unused constant.
16 years ago
rubidium
78c43297e2
(svn r14916) -Codechange: make it possible to send CommandContainers directly to DoCommand(P).
16 years ago
rubidium
0e1127e8b5
(svn r14915) -Codechange: unify the receiving and sending of commands, and thus unifying most of the validity checking too.
16 years ago
belugas
da7da4c1c8
(svn r14914) -Documentation: Correct doxygen comment for file name. <nitpicked> by Swallow
16 years ago
peter1138
384e6c764d
(svn r14912) -Codechange: Autoprobe 'null' blitter when built as dedicated-only.
16 years ago
peter1138
2ef54545c7
(svn r14911) -Fix (r14909): -D did not work
16 years ago
rubidium
4df86694a7
(svn r14910) -Codechange: merge the command queue handling into a single location
16 years ago
peter1138
8591ff41cc
(svn r14909) -Codechange: Remove global option for the extmidi driver and make it a driver parameter with the name cmd instead. This means if you have an "extmidi = ..." line in your config you must change it to "musicdriver = extmidi:cmd=...", in the [misc] section.
16 years ago
peter1138
91866a381d
(svn r14908) -Codechange: Add support for text parameters.
16 years ago
peter1138
553d65f584
(svn r14907) -Codechange: Remove 32 character limit from driver/blitter selection and parameters.
16 years ago
rubidium
7b4fba0f89
(svn r14905) -Fix (r14899): in some corner cases already freed memory could be read.
16 years ago
translators
f9e50a9e4d
(svn r14904) -Update: WebTranslator2 update to 2009-01-07 18:44:43
...
catalan - 19 fixed, 6 changed by arnaullv (25)
danish - 3 fixed by beruic (3)
finnish - 15 fixed by UltimateSephiroth (15)
french - 4 fixed by glx (4)
indonesian - 15 fixed by fanioz (12), rindu (3)
norwegian_bokmal - 37 fixed, 12 changed by khh (49)
norwegian_nynorsk - 8 fixed by Grilldyret (8)
polish - 14 fixed by xaxa (14)
romanian - 29 fixed by kkmic (29)
thai - 10 fixed by angelix (10)
turkish - 29 fixed by Emin (29)
16 years ago
frosch
62f3aa89f2
(svn r14903) -Fix: First create all articulated parts of roadvehicles, then call callback 36 capacity, also call it for all articulated parts.
16 years ago
frosch
eb6df17b1a
(svn r14902) -Feature: Advanced setting to keep various building tools active, which are usually closed after placing an object. (planetmaker)
16 years ago
rubidium
567b262901
(svn r14899) -Feature: remove the window limit, but leave a configurable limit on the number of non-sticky non-vital windows.
...
-Fix [FS#2499]: crashes/misbehaviours when (almost) all windows are stickied.
16 years ago
rubidium
32d65845d4
(svn r14898) -Fix (r14897): ccache's caching seems to be a bit too agressive or so.
16 years ago
rubidium
4231c3ee82
(svn r14897) -Codechange: don't allow a few command flags to be sent over the network as it's bogus information anyway; e.g. the "do not send over network" flag as it will be set whenever the command is received from the server/client.
...
-Codechange: test earlier whether the command (send from the server) is actually valid.
16 years ago
rubidium
5056418336
(svn r14896) -Codechange: remove an unused constant and the related dead code.
16 years ago
rubidium
ac5c5fc2db
(svn r14895) -Change: move CMD_NO_WATER from all DoCommandPs to the command table
16 years ago
rubidium
131ffc3196
(svn r14890) -Codechange: move the notest information into the command table.
16 years ago
rubidium
71df085954
(svn r14889) -Codechange: replace some magic numbers with constants.
16 years ago
rubidium
41129edc78
(svn r14886) -Fix: remove (3) strings with non-UTF8 characters in Afrikaans.
...
-Fix: using non-ASCII characters in Afrikaans and Icelandic when there's an equivalent ASCII character, thus not needing a font to display all characters.
16 years ago
rubidium
ac0e2e6d5a
(svn r14885) -Fix: if settings minimum != 1 and 0-is-disabled is enabled, one could set the setting in-game to an out-of-valid-range value.
16 years ago
smatz
a1d3c90af9
(svn r14884) -Codechange: simplify code responsible for opening vehicle view windows
16 years ago
rubidium
4a204fbf96
(svn r14881) -Fix (r14880): somehow make didn't think that widgets/dropdown.cpp did depend on window_gui.h...
16 years ago
rubidium
aa6c7e8574
(svn r14880) -Codechange: make it clear which way the FOR_ALL_WINDOWS goes (from back to front or vice versa) and make it iterate over the Window* instead of Window**.
16 years ago
michi_cc
8f5354f2df
(svn r14876) -Fix [FS#2509] (r14849): Reserved path loop detection was broken for stations.
...
Don't set the test tile to the tile the very first iteration handles. Update the test tile instead in the loop.
16 years ago
peter1138
bd803696b3
(svn r14869) -Feature: Allow road vehicles to move multiple steps in a tick (code based on train movement code) and add support for RV prop 15. This gives RVs a maximum speed of 318mph instead 79mph. This only implements higher speeds, not 'realistic acceleration'.
16 years ago
peter1138
4fcf28d9ed
(svn r14862) -Fix (r14421): min_players became min_active_clients, not min_clients
16 years ago
belugas
1a12ec4387
(svn r14855) -Documentation: Apply some widget naming to the widget arrays. Based on Yorick's work
16 years ago
rubidium
9f7cab0e0e
(svn r14853) -Codechange: rename GetClosestStationFromTile to GetClosestDeletedStation as that's what it does instead of finding non-deleted stations.
16 years ago
michi_cc
b201fb1226
(svn r14852) -Feature: Automatic reversing in front of block signals can now be disabled by setting pf.wait_oneway_signal respectively pf.wait_twoway_signal to 255.
16 years ago
michi_cc
fc9b6b8872
(svn r14851) -Fix: A train reversing in a non-PBS block can't be stuck.
16 years ago
michi_cc
b4289b40f4
(svn r14850) -Fix [FS#2503]: Reversing a stuck train that is then not stuck anymore did not always reset the waiting timer.
16 years ago
michi_cc
cca22794d1
(svn r14849) -Fix [FS#2478]: A train meeting its end could lead to an endless loop.
16 years ago
translators
9ebe6eacc6
(svn r14848) -Update: WebTranslator2 update to 2009-01-05 18:44:14
...
afrikaans - 11 fixed by Alrich (11)
arabic_egypt - 19 fixed, 21 changed by khaloofah (40)
danish - 40 fixed, 1 changed by ThomasA (41)
dutch - 2 fixed, 25 changed by Excel20 (27)
hebrew - 8 fixed by EScake (8)
hungarian - 18 fixed by alyr (18)
italian - 18 fixed by lorenzodv (18)
norwegian_bokmal - 3 fixed, 11 changed by khh (14)
norwegian_nynorsk - 8 fixed by Grilldyret (8)
polish - 3 fixed by xaxa (3)
portuguese - 7 fixed by SnowFlake (7)
urdu - 9 fixed by yasirniazkhan (9)
16 years ago
rubidium
9682126d28
(svn r14847) -Codechange: generalise the circular search to search around a rectangle (PhilSophus)
16 years ago
glx
c61674221c
(svn r14840) -Cleanup: remove duplicate includes
16 years ago
smatz
65a40146f2
(svn r14839) -Fix [FS#2496](r14835): one occurence of train_income_warn wasn't updated
16 years ago
smatz
e8e6bd8625
(svn r14838) -Fix: race condition between me and WT2's translators
16 years ago
translators
d66ec09f9b
(svn r14837) -Update: WebTranslator2 update to 2009-01-04 18:46:20
...
afrikaans - 39 changed by TrueTenacity (39)
arabic_egypt - 1 fixed, 13 changed by khaloofah (14)
catalan - 10 fixed by arnaullv (10)
dutch - 19 fixed, 2 changed by Excel20 (21)
finnish - 10 fixed by jpx_ (10)
french - 19 fixed by glx (19)
hebrew - 31 fixed, 7 changed by EScake (38)
hungarian - 2 fixed, 2 changed by IPG (3), alyr (1)
indonesian - 14 fixed by fanioz (14)
italian - 2 fixed by lorenzodv (2)
polish - 5 fixed by xaxa (5)
serbian - 31 fixed, 1 changed by nummer (32)
thai - 22 fixed by vetbook (22)
16 years ago
smatz
bb1c789793
(svn r14836) -Update (r14835): remove changed string from other languages
16 years ago
smatz
ec7ebf2170
(svn r14835) -Change: apply the 'warn if train's income is negative' setting to other vehicle types, too
16 years ago
rubidium
87b71b3872
(svn r14834) -Fix: some strings (in unfinished/) were forgotten when removed/updated
16 years ago
smatz
fd89415cb5
(svn r14833) -Update (r14831): remove changed strings from other languages
16 years ago
smatz
b1f7ef7076
(svn r14831) -Codechange: use {VEHICLE} instead of Train/Ship/Road veh/Aircraft/{STRING} {COMMA} in lang files (part by Swallow)
16 years ago
rubidium
8252bc59e3
(svn r14830) -Fix [FS#2495]: overflow of number of orders per vehicle (based on patch by Swallow)
16 years ago
smatz
30884396e6
(svn r14829) -Fix (r14828): forgot CH_LAST
16 years ago
smatz
91233ea596
(svn r14828) -Codechange: move most of save/load-specific code to separate files
16 years ago
rubidium
e62e12e7f5
(svn r14827) -Feature [FS#1984]: few (optional) optimisations to making (initial) orders (sulai)
16 years ago
rubidium
183f8df552
(svn r14826) -Fix [FS#2494]: infinite loop in order lookahead when reserving a path (Swallow)
16 years ago
rubidium
1900ba908b
(svn r14825) -Fix: pay the correct amount of interest instead of a few percent too little a year
16 years ago
rubidium
57570c7d7c
(svn r14824) -Fix [FS#1725]: mouse events could be treated twice (illogict)
16 years ago
rubidium
f16427fbe0
(svn r14823) -Document: some variables/structs (Alberth)
16 years ago
rubidium
a41e60d255
(svn r14822) -Change: save 'build station' settings in the config file, like drag'n'drop and and show coverage area (Rexxars)
16 years ago
rubidium
d44ba26cd7
(svn r14821) -Change [FS#2390]: make the road grids of town match, when all are using the same road layout ofcourse (cirdan)
16 years ago
rubidium
c27460e29c
(svn r14820) -Codechange: use (the correct) enum-type instead of just int (Zuu)
16 years ago
rubidium
99eae02c9d
(svn r14819) -Change: make details and order menu stickyable, like the timetable window. Also let the detail/order/timetable window close eachther, like the detail and order windows already did, when not stickied.
16 years ago
smatz
80551450f7
(svn r14817) -Cleanup: unify the place where the @file header is placed
16 years ago
glx
06519a56f2
(svn r14816) -Fix: signed/unsigned warnings (MSVC)
16 years ago
smatz
7869c4ba66
(svn r14815) -Codechange: separate 'highscore' code from 'company' code
16 years ago
translators
c73159f3e9
(svn r14814) -Update: WebTranslator2 update to 2009-01-03 18:29:54
...
arabic_egypt - 9 fixed by khaloofah (9)
brazilian_portuguese - 9 fixed by tucalipe (9)
dutch - 9 fixed by Excel20 (9)
french - 10 fixed, 1 changed by glx (11)
hebrew - 31 fixed by EScake (31)
hungarian - 9 fixed by alyr (9)
indonesian - 32 changed by fanioz (32)
italian - 9 fixed by lorenzodv (9)
korean - 9 fixed by dlunch (9)
polish - 10 fixed by xaxa (10)
slovenian - 24 fixed by Necrolyte (24)
spanish - 14 fixed by eusebio (14)
thai - 95 fixed, 1 changed by vetbook (96)
ukrainian - 1 fixed, 6 changed by mad (7)
16 years ago
rubidium
3ac0875cf6
(svn r14813) -Codechange: use uint instead of 'just' unsigned.
16 years ago
smatz
cd88a7590a
(svn r14812) -Codechange: use INVALID_TILE instead of 0 to mark company without HQ
16 years ago
rubidium
ca4b7b2046
(svn r14811) -Fix: off-by-one causing possible out-of-bounds reads.
16 years ago
rubidium
7b29620e0c
(svn r14810) -Codechange: use the proper style for global variables.
16 years ago
rubidium
05dd711363
(svn r14809) -Fix (r14802): forgotten !
16 years ago
smatz
5ba7c672da
(svn r14808) -Fix (r1): coal mine subsidence could wrap around map edges
16 years ago
smatz
b00e510140
(svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid depots, industries, towns and waypoints
16 years ago
smatz
7a2adef859
(svn r14806) -Fix: MarkAllViewportsDirty() didn't mark dirty whole area when zoomed out, visible by aircraft leaving trails sometimes
16 years ago
rubidium
5b324104f4
(svn r14805) -Feature [FS#2238]: pressing CTRL while dragging to build a bridge build the last built bridge type if possible (planetmaker)
16 years ago
rubidium
72d89337ee
(svn r14804) -Codechange: unify opening the OSK (Zuu)
16 years ago
rubidium
f316796629
(svn r14803) -Codechange: move order list management into it's own class and remove the order count from the savegame as we can easily count that (PhilSophus)
16 years ago
rubidium
14fcd4b302
(svn r14802) -Fix [FS#2490]: "(undefined string)" in default savegame/screenshot names when there's no company in the game.
16 years ago
rubidium
abd3b8e0d7
(svn r14801) -Codechange: don't reference Vehicle::num_orders directly but through a method GetNumOrders() (PhilSophus)
16 years ago
rubidium
f08fe262af
(svn r14800) -Codechange: make the advanced settings window resizeable and scrollable (most by Alberth)
16 years ago
rubidium
8150319cb2
(svn r14799) -Codechange: move drawing a single settings entry to it's own function (Alberth)
16 years ago
rubidium
74f403b408
(svn r14798) -Codechange: move variable declaration to first use of variable (Alberth)
16 years ago
rubidium
82087f04ec
(svn r14797) -Codechange: replace even more magic numbers with constants (Alberth)
16 years ago
rubidium
a8f73dbb84
(svn r14796) -Fix: if using variable, use it everywhere instead of hardcoding it's value sometimes (Alberth)
16 years ago
rubidium
183990de30
(svn r14795) -Codechange: replace a magic number with a constant (Alberth)
16 years ago
rubidium
1bc6b7a7a5
(svn r14794) -Document: a few functions/variables (Alberth)
16 years ago
rubidium
2352b1ca68
(svn r14793) -Update (r14792): replace a string parameter in the other languages too
16 years ago
rubidium
4c1c6cd8e8
(svn r14792) -Feature: make the date format for default savegame/screenshot names configurable
16 years ago
rubidium
761a3037c3
(svn r14791) -Add: the ability to make ISO dates with the string system (PhilSophus)
16 years ago
rubidium
741f0a86fe
(svn r14790) -Codechange: unify generation of default savegame/screenshot names (PhilSophus)
16 years ago
rubidium
d3144b6f04
(svn r14789) -Feature: allow scrolling with the left mouse button pressed (if enabled). Primarily useful for systems with touch screen (aapo)
16 years ago
rubidium
ac74654d8f
(svn r14788) -Fix [FS#2489]: some TTDPatch flags were wrong (Swallow)
16 years ago
rubidium
c331426ce0
(svn r14787) -Fix: landscape toolbar getting closed when rail/road/water/airport toolbar gets closed with linked toolbars turned on.
16 years ago
rubidium
5130369301
(svn r14786) -Fix: road/rail/water/airport toolbar opened over terraform toolbar when toolbar linking is turned on.
16 years ago
rubidium
d91baac764
(svn r14785) -Fix [FS#2132]: vehicle list for station gets closed when station view is closed even when the vehicle list is stickied. Other vehicle lists are not deleted when their 'opening' window gets closed so do the same with the station view.
16 years ago
rubidium
80a35db52c
(svn r14784) -Change: don't close and reopen the vehicle order/detail windows, just refocus them instead.
16 years ago
rubidium
7ab7c4e6ff
(svn r14783) -Fix (r12661): don't add vehicles with "go to nearest depot" to the vehicle list of the depot with index 0.
16 years ago
translators
9ee341b5a8
(svn r14782) -Update: WebTranslator2 update to 2009-01-02 18:38:20
...
arabic_egypt - 7 fixed by khaloofah (7)
brazilian_portuguese - 14 fixed, 5 changed by tucalipe (19)
catalan - 14 fixed by arnaullv (14)
finnish - 14 fixed by jpx_ (14)
hungarian - 14 fixed by alyr (14)
indonesian - 6 changed by fanioz (6)
korean - 13 fixed by dlunch (13)
malay - 8 fixed by tombakemas (8)
serbian - 29 fixed, 2 changed by nummer (31)
thai - 2 fixed by chat9780 (2)
ukrainian - 13 fixed by mad (1), znikoz (12)
urdu - 20 fixed by yasirniazkhan (20)
16 years ago
rubidium
c00e21dc34
(svn r14781) -Change: someone changed _cur_year; so update it in a few hardcoded places... happy new year!
...
-Fix (r11790): a few instances were forgotten.
16 years ago
rubidium
56d108edf8
(svn r14779) -Fix (r14747) [FS#2485]: selling an articulated vehicle removed only the first part and not the rest.
16 years ago
glx
3ad50741c1
(svn r14778) -Change: completely hide 'Submit report' button on crash dialog (MSVC)
16 years ago