peter1138
3d404c2927
(svn r15236) -Codechange: Rename realistic_acceleration patch option to train_acceleration_model, and change from boolean to value. Don't forget to update your settings.
16 years ago
translators
1879319f66
(svn r15235) -Update: WebTranslator2 update to 2009-01-23 18:47:35
...
arabic_egypt - 46 fixed by khaloofah (46)
dutch - 12 fixed by habell (12)
finnish - 12 fixed by jpx_ (12)
french - 12 fixed by glx (12)
greek - 70 changed by doukas (70)
hungarian - 12 fixed, 1 changed by oklmernok (13)
italian - 1 fixed by lorenzodv (1)
korean - 11 fixed, 3 changed by dlunch (14)
latvian - 44 fixed by waste (44)
norwegian_nynorsk - 34 fixed by wollollo (34)
polish - 30 fixed by xaxa (30)
romanian - 12 fixed by kkmic (12)
simplified_chinese - 9 fixed by ww9980 (9)
spanish - 12 fixed by Dominus (12)
turkish - 12 fixed by Emin (12)
16 years ago
Yexo
c5332eb161
(svn r15234) -Fix (r15176): Crash if you pressed space in the content download window before selecting an item.
16 years ago
glx
a3dc092ebc
(svn r15233) -Fix (r15231): compilation with SDL broken on win32
16 years ago
rubidium
48125a6d5f
(svn r15232) -Codechange: sprinklin' of coding style
16 years ago
rubidium
4ba90f6887
(svn r15231) -Change: (sdl) check the full screen resolutions to determine what 'valid' resolutions we've got
16 years ago
smatz
789fa42f52
(svn r15230) -Fix (r1): aircraft could have zero speed while in air after loading old savegame
16 years ago
rubidium
93b1202576
(svn r15229) -Fix (r14712): passwords weren't reset when creating a new company.
16 years ago
glx
4fe58bc303
(svn r15228) -Fix [FS#2571]: possible crash when an AI/Library doesn't have a required function
16 years ago
smatz
e3cc807c7a
(svn r15227) -Fix [FS#2571](r1): aircraft could be 'loading in the air' after converting old savegames
16 years ago
glx
ceb60b426e
(svn r15226) -Fix (r15214): broken AI content download
16 years ago
rubidium
aaad553233
(svn r15225) -Fix (r15126): searching for 'missing' NewGRFs gave the 'compatability loaded' NewGRF instead of the one that we're actually looking for
16 years ago
smatz
042d7800d0
(svn r15223) -Codechange: move GetOldTownName to oldloader_sl.cpp as it is specific to loading of TTO/TTD savegames
16 years ago
Yexo
decd0c51e4
(svn r15222) -Fix: The squirrel stack was corrupted if an AI called any C++ function during Save().
16 years ago
rubidium
8382b76b0f
(svn r15221) -Change [FS#2574]: only show missing NewGRFs when opening the content download window from a NewGRF list and there are missing NewGRFs, otherwise show just all NewGRFs the system knows.
16 years ago
rubidium
67a2dd12e8
(svn r15220) -Fix (r15216): signedness warning
16 years ago
Yexo
c8cbdc17d3
(svn r15219) -Fix (r15216): MSVC failed to find the proper casts.
16 years ago
rubidium
8ecdbf216d
(svn r15218) -Fix: base graphics detection did mark too much as duplicate
16 years ago
rubidium
6f5078b555
(svn r15217) -Fix [FS#2573] (r15176): more corner cases when removing things from iterated vectors
16 years ago
smatz
6dffd8ae82
(svn r15216) -Feature: native support for Transport Tycoon (Original) savegames. Based on SVXConverter's source code and documentation by Roman Vetter
16 years ago
rubidium
83e1288c6a
(svn r15215) -Fix: various MSVC x64 compiler warnings
16 years ago
glx
92f5c6b1da
(svn r15214) -Fix [NoAI]: ignore case for ai/library main script path on windows
16 years ago
Yexo
08670da54a
(svn r15212) -Feature [FS#2566]: Change the dropdown box where you can chose which edges will be water to 4 pushbuttons (based on patch by planetmaker).
16 years ago
smatz
3852ae1264
(svn r15211) -Fix (r15190): loading of TTD savegames was broken
16 years ago
glx
c5f0fe7c40
(svn r15210) -Fix: Vehicle::GetRunningCost() was wrong for ships and aircraft
16 years ago
translators
b2d0e14848
(svn r15209) -Update: WebTranslator2 update to 2009-01-22 18:42:44
...
arabic_egypt - 1 fixed by khaloofah (1)
catalan - 20 fixed by arnaullv (20)
dutch - 1 changed by Excel20 (1)
finnish - 10 fixed by jpx_ (10)
french - 1 changed by glx (1)
galician - 5 fixed by Condex (5)
greek - 2 changed by tek1979 (2)
hungarian - 2 changed by alyr (1), IPG (1)
indonesian - 20 fixed, 22 changed by fanioz (42)
italian - 20 fixed, 1 changed by lorenzodv (21)
korean - 20 fixed by darkttd (20)
norwegian_bokmal - 22 fixed by khh (22)
norwegian_nynorsk - 5 changed by wollollo (5)
romanian - 1 changed by kkmic (1)
russian - 44 fixed by Smoky555 (44)
simplified_chinese - 18 fixed, 7 changed by ww9980 (25)
spanish - 20 fixed by eusebio (19), Dominus (1)
turkish - 31 fixed, 1 changed by Emin (32)
16 years ago
peter1138
c1622b04ab
(svn r15208) -Codechange: Remove some kind (undocumented, so who really knows) of original attempt to limit maximum tractive effort from 'realistic' acceleration.
16 years ago
rubidium
8ef066baee
(svn r15207) -Add: sorting to the content list.
16 years ago
rubidium
4f5a8b15ed
(svn r15206) -Fix [FS#2567]: memory corruption due to not properly cleanup up the mess when cancelling a download
16 years ago
peter1138
92b9ff3f96
(svn r15205) -Revert (r7421, partial): Support for MaxTE solves problem in a better way
16 years ago
Yexo
0d52f3b417
(svn r15204) -Fix (r15167): The check was a bit too restrictive, the top of the stack needs to be resetted if another function is called while the AI is running but not suspended.
16 years ago
Yexo
cb7449b83c
(svn r15203) -Fix (r15190): CmdTerraformLand didn't check it's parameters good enough.
16 years ago
rubidium
a89e63f672
(svn r15202) -Fix (r14827): only make quick goto active for your own company
16 years ago
Yexo
01cc5234dc
(svn r15201) -Fix [FS#2565] (r15190): The smallmap tried to get the owner of invalid tiles.
16 years ago
rubidium
f2777cd02d
(svn r15200) -Feature: give server admins a tool to combat profanity in nick names (based on patch by dihedral)
16 years ago
Yexo
0fa6e050e4
(svn r15199) -Fix (r15190): The south point of the south-most tile wasn't highlighted during terraforming.
16 years ago
frosch
3f38615af1
(svn r15198) -Fix (r15190): Advanced setting was missing the 'on'/'off' part.
16 years ago
translators
0877b58ba6
(svn r15197) -Update: WebTranslator2 update to 2009-01-21 20:22:27
...
catalan - 21 fixed by arnaullv (21)
croatian - 25 fixed by knovak (25)
czech - 41 fixed by Hadez (41)
dutch - 20 fixed, 3 changed by habell (23)
finnish - 31 fixed by UltimateSephiroth (21), jpx_ (10)
french - 20 fixed by glx (20)
german - 146 fixed by chu (146)
greek - 46 fixed, 8 changed by doukas (54)
hungarian - 41 fixed, 2 changed by alyr (43)
indonesian - 22 fixed by fanioz (22)
italian - 21 fixed, 1 changed by lorenzodv (22)
korean - 21 fixed, 1 changed by darkttd (19), dlunch (3)
norwegian_bokmal - 2 changed by wollollo (2)
norwegian_nynorsk - 19 fixed, 1 changed by wollollo (20)
romanian - 20 fixed by kkmic (20)
simplified_chinese - 6 fixed by ww9980 (6)
spanish - 21 fixed by Dominus (21)
traditional_chinese - 2 fixed by ww9980 (2)
ukrainian - 76 fixed by mad (76)
16 years ago
rubidium
86c1d49c08
(svn r15196) -Fix (r15195): != != == :(
16 years ago
rubidium
4bf2326bd1
(svn r15195) -Fix: don't crash when removing from something you're iterating over
16 years ago
peter1138
727ffeedc9
(svn r15194) -Fix: Don't count dedicated server as a spectator
16 years ago
rubidium
c8a7135d6c
(svn r15193) -Feature: content server/bananas access via the console
16 years ago
rubidium
59d61e5d9d
(svn r15192) -Cleanup: remove unused include
16 years ago
glx
b44390bf39
(svn r15191) -Fix (r15188): -1 is not a bool (MSVC warning)
16 years ago
Yexo
db3ee34b44
(svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map.
16 years ago
smatz
5e7669b539
(svn r15189) -Cleanup: remove unused includes
16 years ago
Yexo
ddcaf2f4cc
(svn r15188) -Feature: You can now change the number of AIs from the AI config window.
16 years ago
Yexo
2307adf8d2
(svn r15187) -Fix: assert when an AI called AIRoad::GetNeighbourRoadCount on a tile at the north edge (bug found by SmatZ).
16 years ago
Yexo
e395533632
(svn r15186) -Fix: Select the currently selected AI instead of the second on in the list.
...
-Feature: Double clicking on a slot in the AI config window results in opening the list of AIs.
16 years ago
Yexo
c3b7917da1
(svn r15185) -Fix (r15175): It was impossible to select AIs that had a different instance name then their name.
16 years ago
glx
a4d3c76093
(svn r15184) -Cleanup: remove extra spaces
16 years ago
smatz
376edabb65
(svn r15183) -Fix: stand-alone rail tiles with invalid owner were not removed. Also, make the whole check a bit more intelligent.
16 years ago
Yexo
3c757724e9
(svn r15182) -Fix: After updating an AI select the latest version for the next game.
16 years ago
smatz
3511218e37
(svn r15181) -Fix (r15180): of course it is enough to update aircraft once...
16 years ago
smatz
90381d5d63
(svn r15180) -Fix [FS#2560](r8498): old aircraft have to be updated after updating airport_type of oil rigs
16 years ago
smatz
5aa1171988
(svn r15179) -Fix [FS#2560](r12096): removing of leftover level crossings (from very old savegames) failed
16 years ago
rubidium
ff328bf68b
(svn r15178) -Change: rename 'update' to 'upgrade' as that's a bit more clear
16 years ago
translators
052c957a94
(svn r15177) -Update: WebTranslator2 update to 2009-01-20 18:49:46
...
arabic_egypt - 21 fixed by khaloofah (21)
catalan - 52 fixed by arnaullv (52)
dutch - 21 fixed by Excel20 (21)
french - 21 fixed by glx (21)
italian - 1 fixed, 2 changed by lorenzodv (3)
korean - 2 fixed, 12 changed by dlunch (14)
malay - 91 fixed, 1 changed by kev (92)
norwegian_nynorsk - 16 fixed by wollollo (16)
romanian - 21 fixed, 18 changed by kkmic (39)
russian - 123 fixed by Smoky555 (123)
simplified_chinese - 9 fixed by ww9980 (9)
slovak - 30 fixed by James (30)
spanish - 31 fixed by Dominus (30), eusebio (1)
traditional_chinese - 23 fixed by ww9980 (23)
turkish - 9 fixed by Emin (9)
16 years ago
rubidium
eeb38a8e3a
(svn r15176) -Fix [FS#2554]: querying the content server could free when resolving the hostname or connecting takes long/is timing out.
16 years ago
Yexo
3d35b3c2cc
(svn r15175) -Feature: Add the option to select the AIs to start in a new game and configure them via the gui.
16 years ago
smatz
49c5c71348
(svn r15174) -Codechange: split oldloader.cpp
16 years ago
smatz
c8e26be649
(svn r15173) -Codechange: shuffle a few lines of code in oldloader.cpp
16 years ago
belugas
cef4103137
(svn r15172) -Feature: Allow a grf to customize house name via callback 0x14D, during Tile Inquiry process
16 years ago
Yexo
61ee8ca42a
(svn r15171) -Fix (r15027): Buffer underflow in case there are no settings to save for an AI.
16 years ago
smatz
38afe1fe3f
(svn r15170) -Fix: vehicle value is 64bit now, oldloader was reading it as 32bit
16 years ago
smatz
091d82470b
(svn r15169) -Revert (r11271): it was broken by r12924, and the issue is fixed again in r12948 in a cleaner way
16 years ago
smatz
7a13ade405
(svn r15168) -Codechange: use only really basic map accessors in oldloader.cpp, shuffle the code a bit
16 years ago
Yexo
eab990901b
(svn r15167) -Fix [FS#2558]: The top of the stack was resetted after executing the first Ai tick causing random AI crashes.
16 years ago
smatz
a9a8bb3590
(svn r15166) -Codechange: reduce number of includes in afterload.cpp
16 years ago
rubidium
196085eb0f
(svn r15164) -Fix: don't list patches/settings with list_patches that are not valid anymore
16 years ago
rubidium
28a641066e
(svn r15163) -Change/Fix: use a non-blocking method to resolve the hostname and connect to game servers.
16 years ago
rubidium
c9436c8d88
(svn r15162) -Fix: the join status window didn't get properly created
16 years ago
rubidium
99b1f1a8f4
(svn r15161) -Change: bump url to 96 bytes
16 years ago
glx
24351416f6
(svn r15160) -Fix (r15157): port != IP
16 years ago
rubidium
6a3aaef486
(svn r15159) -Fix: move the UDP queries that resolve a hostname into threads so they don't freeze OpenTTD when for example the network connection got severed. Thanks to glx for writing the mutex implementation for Windows.
16 years ago
rubidium
bb77071749
(svn r15158) -Cleanup: remove some unused/unneeded cruft from the thread generalisation.
16 years ago
rubidium
5f3772a42c
(svn r15157) -Codechange: wrap the hostname/ip and port into a single structure so we can pass either one of them and not convert an ip to a string and then back again.
16 years ago
rubidium
6e1af6a051
(svn r15156) -Fix: add scrollwheel support to allegro
16 years ago
rubidium
9b463c26de
(svn r15155) -Codechange: remove unused return value
16 years ago
rubidium
7205a8f9f4
(svn r15154) -Fix [FS#2555] (r15126): wrong tooltip for the matrix
16 years ago
rubidium
914073a30a
(svn r15153) -Fix (r15126): the scrollbar's "count" wasn't always correctly set
16 years ago
translators
537112fcb1
(svn r15152) -Update: WebTranslator2 update to 2009-01-19 18:47:48
...
arabic_egypt - 30 fixed by khaloofah (30)
czech - 1 fixed by Hadez (1)
dutch - 22 fixed by Excel20 (4), habell (18)
finnish - 1 fixed by UltimateSephiroth (1)
french - 1 fixed by glx (1)
hungarian - 1 fixed, 3 changed by alyr (2), oklmernok (2)
korean - 2 fixed by darkttd (2)
polish - 1 fixed by xaxa (1)
romanian - 1 fixed, 1 changed by kkmic (2)
simplified_chinese - 110 fixed by ww9980 (110)
spanish - 21 fixed by eusebio (21)
traditional_chinese - 8 fixed by ww9980 (8)
turkish - 1 fixed by Emin (1)
16 years ago
Yexo
8b04787d09
(svn r15151) -Fix: tile 0 can now be highlighted as error tile
16 years ago
Yexo
49e69399a6
(svn r15150) -Fix: Don't highlight tiles outside the visible map.
16 years ago
peter1138
481c2164d0
(svn r15149) -Codechange: GetMaskOfTownActions() is used by a Cmd handler, therefore it does not belong in _gui.
16 years ago
Yexo
8fabd3982d
(svn r15148) -Cleanup: Remove the options "competitor start time" and "competitor intelligence" from the difficulty options because they already were unused.
16 years ago
glx
ee1331bb46
(svn r15147) -Fix (r15146): compile before commit
16 years ago
smatz
0e83fb37c0
(svn r15146) -Fix: show savegame name even when opening it failed
16 years ago
smatz
a337c47d4f
(svn r15145) -Fix: crash when one tried to load a TTO savegame
...
-Fix (r15144): it wasn't safe at all, but the code broken code isn't needed anymore
16 years ago
smatz
3bceaf41b4
(svn r15144) -Codechange: make sure we don't run out of bounds while determining old savegame name
...
Note this can't happen in current code
16 years ago
rubidium
a46245f21f
(svn r15142) -Fix (r15126): missing NewGRFs cause a crash when getting the content list.
16 years ago
translators
790499376f
(svn r15141) -Update: WebTranslator2 update to 2009-01-18 18:46:25
...
czech - 51 fixed by Hadez (51)
dutch - 30 fixed by Excel20 (30)
finnish - 51 fixed by jpx_ (51)
french - 51 fixed by glx (51)
hebrew - 50 fixed by tarkil (50)
hungarian - 51 fixed by alyr (51)
indonesian - 51 fixed by adjayanto (45), fanioz (6)
italian - 51 fixed by lorenzodv (51)
korean - 54 fixed, 3 changed by darkttd (57)
polish - 15 fixed by xaxa (15)
romanian - 51 fixed by kkmic (51)
turkish - 51 fixed by Emin (51)
16 years ago
rubidium
67ac7124b1
(svn r15139) -Fix [NoAI]: a wrong tile got returned for hangar tiles when the station sign isn't over st->airport_tile.
16 years ago
rubidium
331d4d2d45
(svn r15138) -Fix [FS#2542]: tile error location not reset when leveling land causing a tile to be highlighted when there was nothing to flatten.
16 years ago
smatz
52e0c6fd35
(svn r15137) -Fix (r11822)(r14340): signs with sign 'Sign' were lost when converting from TTD savegames
16 years ago
rubidium
d793439f43
(svn r15136) -Fix (r15126): (file) name could occasionally be wider than the download window causing glitches.
16 years ago
rubidium
07e135547e
(svn r15135) -Fix/Change: allow str_validate (part of receiving strings from the network) to pass newlines instead of replacing them with question marks, but only when asked to do so.
16 years ago
rubidium
b8219eb7a1
(svn r15134) -Fix (r15126): not selecting dependencies when pressing "select update"
16 years ago
peter1138
dba9d60d3a
(svn r15133) -Fix: Crash if no NoAIs are present.
16 years ago
peter1138
3deb373c60
(svn r15131) -Fix: Indentifluxation combobulated
16 years ago
translators
61156d6d61
(svn r15130) -Update: WebTranslator2 update to 2009-01-17 18:48:58
...
dutch - 3 changed by Excel20 (3)
hebrew - 62 fixed, 103 changed by tarkil (165)
indonesian - 15 changed by fanioz (15)
korean - 21 fixed, 23 changed by darkttd (44)
norwegian_bokmal - 16 fixed, 9 changed by khh (25)
slovenian - 8 fixed by Necrolyte (8)
spanish - 2 changed by Dominus (2)
thai - 19 fixed by vetbook (19)
ukrainian - 36 fixed by mad (36)
16 years ago
rubidium
3a13b75e37
(svn r15126) -Feature: downloading content from a central server (content.openttd.org) where authors can upload they NewGRFS/AI etc. This should make joining servers that use only NewGRFs that are distributed via this system easier as the players can download the NewGRFs from in the game. It should also make it easier to see whether there are updates for NewGRFs and make the necessary updates.
16 years ago
frosch
2850bf9e00
(svn r15125) -Fix [FS#2544]: Do not try to determine the next order destination, if there are no orders.
16 years ago
truebrain
4bc7afae41
(svn r15124) -Fix: last memory leak related to NoAI
16 years ago
truebrain
3abb8abd07
(svn r15123) -Fix [NoAI]: 'const char *' implies that the return value should not be free'd, which is should .. so make them 'char *'
16 years ago
truebrain
7e8d9a3e66
(svn r15122) -Codechange: add a security assert, to make sure something never happens
16 years ago
truebrain
27717e1b6d
(svn r15121) -Fix: more mem-leak fixes (this should make SmatZ so happy ;) :p)
16 years ago
truebrain
fe90077681
(svn r15120) -Fix: more mem-leak fixes
16 years ago
frosch
2cc217cabf
(svn r15119) -Fix: several issues with result 0x4 (standard production change of primary industries) of callbacks 0x29 and 0x35.
16 years ago
truebrain
7eae652302
(svn r15118) -Fix: fix a minor mem-leak
16 years ago
belugas
6b25bc0e0c
(svn r15117) -Codechange: enlarge a few text boxes in the Create Scenario window, allowing them to be more visible.
16 years ago
smatz
e77462a866
(svn r15116) -Fix (r1): company money weren't correctly converted from TTD(P) savegames
16 years ago
belugas
c9fab1c314
(svn r15115) -Documentation: Add some widget enums to the widget array definition (Terkhen).
16 years ago
peter1138
f8d65b4865
(svn r15114) -Codechange: Add support for 8 byte action7/9 data, used as a mask for GRFID checks.
16 years ago
rubidium
102cc11ee9
(svn r15113) -Codechange: unify calling ScanForTarFiles when determining the paths.
16 years ago
rubidium
c333790dd8
(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
2adcaa576f
(svn r15111) -Fix: when scanning a path and saying it should ignore tars, it didn't do so
16 years ago
rubidium
3db8b544ba
(svn r15110) -Fix: reading the shortname of graphicssets always missed the first character.
16 years ago
truebrain
8510afe233
(svn r15109) -Add [NoAI]: add AITile::LevelTiles (Yexo)
16 years ago
truebrain
a43cd3456b
(svn r15108) -Fix: TarAddLink didn't lowercase strings, breaking tar-loading when using uppercase files
16 years ago
truebrain
7f851eaeb9
(svn r15107) -Fix [NoAI]: don't use so much explicit string copies if it is not required
16 years ago
rubidium
95fa33157f
(svn r15106) -Fix [NoAI]: printf-ing of garbage.
16 years ago
smatz
4a53ba1886
(svn r15105) -Fix (r15104): signed/unsigned warning
16 years ago
rubidium
b1a33a494f
(svn r15104) -Codechange: unify the resolving of the xyz kbytes/megabytes strings.
16 years ago
frosch
cdd3676478
(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
b8d2049bc4
(svn r15102) -Fix (r15101): somehow makedepend fucked up (patch by Yexo)
16 years ago
truebrain
94dd36d1ec
(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
5119132dda
(svn r15100) -Add [NoAI]: introduce TILE_INVALID as const
16 years ago
truebrain
e9437c2b2b
(svn r15099) -Fix (r15078): GetTileIndex(0, -1) is perfectly fine
16 years ago
translators
555037b623
(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
6cfb9a24e0
(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
ef62688522
(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
a039ec0d21
(svn r15094) -Feature: Add support for IP range bans using CIDR notation.
16 years ago
truebrain
3e7c2bbacc
(svn r15093) -Fix [NoAI]: check if a tile is valid before using IsTileType (bug found by Zuu, patch by Yexo)
16 years ago
truebrain
103cd2a5ed
(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
d62a85f2ce
(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
1ee0c4caf4
(svn r15088) -Fix [FS#2536]: Resize company list in town authority window if required.
16 years ago
peter1138
4f4408f37e
(svn r15087) -Codechange: Less hardcoding of y positions in town authority window.
16 years ago
truebrain
ae29148565
(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
7d70f0cd14
(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
3cd6bf0ead
(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
a483ddf7ae
(svn r15083) -Add [NoAI]: added a console command to reload an AI (requested by Zuu)
16 years ago
rubidium
ea5457d831
(svn r15082) -Codechange: make the AI library path also a searchdir instead of manually manufacturing it into a searchdir.
16 years ago
smatz
ff4fcdb03c
(svn r15081) -Fix (r15080): of course it's about southern border, not northern...
16 years ago
smatz
66213d8e4b
(svn r15080) -Fix: terraforming at the northern border failed without any visible reason
16 years ago
rubidium
e18c24cdb5
(svn r15079) -Codechange: split tcp 'backend' and in-game handling like it is for UDP.
16 years ago
truebrain
6fe54a2d1a
(svn r15078) -Fix [NoAI]: AIMap didn't filter its input (Yexo)
16 years ago
smatz
e00cf92f47
(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
cb221d9996
(svn r15076) -Fix: a start_date of 0 would never start an AI .. so don't allow it (Yexo)
16 years ago
truebrain
89da8820e5
(svn r15075) -Fix: store _next_competitor_start as uint32, else it might overflow for values > 2.4 years
16 years ago
truebrain
2d3fc8141d
(svn r15074) -Fix: make Rubidium happy
16 years ago
peter1138
792d1bd883
(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
dab9de2e61
(svn r15072) -Fix (r14919): Distant-join search-area was determined inconsistently.
16 years ago
frosch
b8963032e7
(svn r15071) -Fix (r14919): When drag&dropping rail-stations with X orientation, distant-join scanned a wrong area for stations.
16 years ago
translators
10f7525277
(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
9ca1e15f51
(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
2e30efb530
(svn r15068) -Add [NoAI]: introducing 'step_size' for AIConfig, for future AIGUI (Yexo)
16 years ago
peter1138
02bda12599
(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
e1f64922c5
(svn r15066) -Change: start_date is now in days, instead of in months (Yexo)
16 years ago
frosch
4780c73224
(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
890074a03e
(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
0a357c0ac1
(svn r15062) -Fix: further forgotten svn properties and headers
16 years ago
smatz
7cea618fcc
(svn r15061) -Fix (r15027): three files were missing the Id header
16 years ago
truebrain
c3249d599f
(svn r15059) -Add [NoAI]: use 'start_date' from the AI configure to see when an AI should start next
16 years ago
truebrain
405239758e
(svn r15058) -Fix [NoAI]: when using start_ai in console, start the next configured one, not a random (Yexo)
16 years ago
truebrain
07f2afa635
(svn r15057) -Fix [NoAI]: clamp the values of a setting between the ones allowed by info.nut
16 years ago
truebrain
1bd2867715
(svn r15056) -Add [NoAI]: when starting a game, give a random value to the setting marked with AICONFIG_RANDOM (Yexo)
16 years ago
truebrain
e6543c2776
(svn r15055) -Add [NoAI]: add the AICONFIG_RANDOM and AICONFIG_BOOLEAN consts (Yexo)
16 years ago
rubidium
04ea0b9316
(svn r15053) -Cleanup: remove some unneeded includes
16 years ago
rubidium
fc696a7e29
(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
f0e6eeb57d
(svn r15051) -Fix: Only allow creation or deletion of an AI when in a game.
16 years ago
peter1138
56b91b582e
(svn r15050) -Codechange: Use one absolute SpriteID with offsets to draw track fences.
16 years ago
glx
37500a13f6
(svn r15049) -Fix (r15045): MSVC performance warning
16 years ago
truebrain
0adcb5bc2f
(svn r15048) -Fix (r15047): the one time you don't compile a patch of someone, it contains a warning .. ;)
16 years ago
truebrain
c9d20bfd47
(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
e06e372529
(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
bcbbf2c366
(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
e6883c5cc7
(svn r15044) -Add [NoAI]: AIConfig::GetVersion(), to get the version of the current AI
16 years ago
truebrain
2462e8dc9d
(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
695765fde7
(svn r15042) -Fix (r15027): don't leak memory in AIInfo (Yexo)
16 years ago
truebrain
1c3b7ba863
(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
26e5ccb60d
(svn r15039) -Codechange: fix comments regarding old AI, remove one old AI hack
16 years ago
truebrain
2c89bfbc81
(svn r15038) -Fix (r15027): loading older savegames failed
16 years ago
smatz
4a5044e61a
(svn r15037) -Cleanup: remove unused file src/table/ai_rail.h
16 years ago
truebrain
c666cf5a49
(svn r15036) -Fix: use the same value for 'random' through-out the code for PlantTree
16 years ago
truebrain
b7b29d96de
(svn r15033) -Fix (r15027): silent a warning when compiling without network
16 years ago
truebrain
e2d2946007
(svn r15032) -Fix (r15030): Rubidium was too script-happy ;)
16 years ago
smatz
16dfe58e4d
(svn r15031) -Fix (r15027): merge reverted r15026, so do it once again
16 years ago
rubidium
eb22e265f2
(svn r15030) -Update (r15029): and from the other languages too (yay for WT2)
16 years ago
rubidium
221df9bb19
(svn r15029) -Cleanup (r15027): remove strings that aren't needed anymore
16 years ago
truebrain
a3dd7506d3
(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
9294f96168
(svn r15026) -Codechange: use SpriteTypeByte instead of SpriteType in the SpriteCache struct in order to make it smaller
16 years ago
frosch
eb6dc2b8ae
(svn r15019) -Fix (r14919): Close station selection window, when disabling distant-join setting. (PhilSophus)
16 years ago
frosch
9a80c0b1de
(svn r15015) -Fix (r14919): Distant-join always failed for docks. Based on patch by PhilSophus.
16 years ago
frosch
508fc29221
(svn r15014) -Codechange: Add a helper function to get the needed DC_xxx flags from the result of GetCommandFlags().
16 years ago
truebrain
809bf8fb43
(svn r15011) -Documentation: Nuclear, not Nucleair
16 years ago
frosch
2d4c9cda72
(svn r15009) -Fix [FS#2528]: No need to extent the reserved path when the vehicle is still loading.
16 years ago
glx
e99335c085
(svn r15008) -Revert (r12706): remove fibers
16 years ago
truebrain
53ca48efe2
(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
7947e78daa
(svn r14999) -Change [FS#2523]: move service at helipad to the servicing options
16 years ago
smatz
1287fddd8f
(svn r14998) -Codechange: warn once about misuse of each sprite, not once about misuse of any sprite
16 years ago
smatz
720eedf7c5
(svn r14997) -Fix [FS#2524](r14223): when handling invalid sprites, entry in spritecache data could lose its parent
16 years ago
translators
a9e5f9fbe9
(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
5c78d35078
(svn r14994) -Fix [FS#Aali]: Better handling of OT_LOADING and OT_LEAVESTATION in ChooseTrainTrack.
16 years ago
frosch
a6fc079c52
(svn r14993) -Fix (r14957, r14975): Do not reverse the train with OT_LEAVESTATION as that breaks PBS prediction.
16 years ago
frosch
f5cff71284
(svn r14992) -Codechange: Rename 'CheckIfAuthorityAllows' to 'CheckIfAuthorityAllowsNewStation' and unduplicate a tiny bit of code.
16 years ago
frosch
e8796a148f
(svn r14991) -Fix: Command-flags is an uint32.
16 years ago
rubidium
6c880d1c20
(svn r14990) -Codechange: handle articulated RVs and trams more strictly in GetStationTileForVehicle and CanVehicleUseStation (based on idea by Swallow)
16 years ago
rubidium
1ef953e4a5
(svn r14989) -Codechange: remove a lookup table by reordering some items in english.txt (Swallow)
16 years ago
rubidium
78d3fc59b9
(svn r14986) -Doc: small error in a comment (PhilSophus)
16 years ago
rubidium
f6f6f15604
(svn r14980) -Change: shuffle around some more settings to make them more logically grouped/ordered
16 years ago
peter1138
510e0ce083
(svn r14979) -Fix: Disable a NewGRF from loading if it contains multiple Action 8s
16 years ago
rubidium
238c0a5d1f
(svn r14978) -Codechange: simplify the control flow of the OnClick of the settings window
16 years ago
translators
e1a351cb1a
(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
bc786f9e59
(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
496f6aed3c
(svn r14974) -Change: reorder/reorganise the entries of the settings window (Alberth)
16 years ago
rubidium
8e42e20ebe
(svn r14973) -Codechange: recursively fold subpages (Alberth)
16 years ago
rubidium
698fbe891c
(svn r14972) -Update: do r14971 also for the non-English strings (Alberth)
16 years ago
rubidium
7a0d957b05
(svn r14971) -Change: the colour of the patch page text so it becomes more visible as it changed background (Alberth)
16 years ago
rubidium
7039c84c6a
(svn r14970) -Change: move all (patch) settings to a single "page" (Alberth)
16 years ago
rubidium
8ad56c4229
(svn r14969) -Codechange: make drawing trees possible (Alberth)
16 years ago
rubidium
52108959c9
(svn r14967) -Codechange: split the drawing of the window into several smaller functions (Alberth)
16 years ago
rubidium
d6d8411a5f
(svn r14966) -Codechange: simplify and generalise finding patch entries (Alberth)
16 years ago
rubidium
eec72275f1
(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
1fbc41f1fd
(svn r14964) -Codechange: hide the length of a patch page behind a function (Alberth)
16 years ago
rubidium
6a359a586b
(svn r14963) -Codechange: remember what entry was clicked instead of the index (Alberth)
16 years ago
rubidium
32d5369675
(svn r14962) -Codechange: add the concept of patch entries and patch (sub) pages
16 years ago
rubidium
850e45b1f1
(svn r14961) -Update: remove the string from r14960 from the other languages too.
16 years ago
rubidium
3f1da12faf
(svn r14960) -Codechange: add some this where appropriate (Alberth)
16 years ago
rubidium
99337bf4a1
(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
0cd41d1dc6
(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
07d1c28025
(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
db546e607f
(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
1b546505d2
(svn r14955) -Fix: newgrf station specs didn't get deallocated when building a new station part over them.
16 years ago
rubidium
7878405a12
(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
c8f3630e64
(svn r14953) -Fix (r14952): the "available aircraft" list caused a crash
16 years ago
rubidium
3d6c09b38d
(svn r14952) -Codechange: unify the "can vehicle go to station" tests
16 years ago
rubidium
11da45ee55
(svn r14949) -Cleanup: pointer coding style
16 years ago
smatz
c3839648f7
(svn r14948) -Codechange: enumification and more comments in the statusbar code
16 years ago
rubidium
dc1f1664fd
(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
61f19b6e3e
(svn r14946) -Fix: copying a location from the extra viewport to the main viewport did not cancel vehicle following
16 years ago
frosch
3ca73b0c4c
(svn r14945) -Feature(ette): Support var 0x45 (curvature info) also for road vehicles.
16 years ago
rubidium
cda853872a
(svn r14944) -Cleanup: add spaces around some operators
16 years ago
rubidium
c08f520acf
(svn r14943) -Cleanup: remove some rogue spaces/replace some rogue tabs with spaces
16 years ago
smatz
5fc7fe9648
(svn r14940) -Fix: let the statusbar know the current news are invalid or bad things will happen
16 years ago
peter1138
5c666fac14
(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
b26cee21f6
(svn r14938) -Fix: some small inconsistencies w.r.t. "0 is disabled" setting handling
16 years ago
frosch
4fafb723aa
(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
0464e9f864
(svn r14935) -Fix [FS#2498]: the new operator may not return NULL, so don't.
16 years ago
rubidium
07c5fb2a02
(svn r14934) -Fix: in (extreme) cases CanAllocateItem could return true when there's not enough space.
16 years ago