|
tron
|
r926:fcf36609eb94
|
20 years ago
|
|
|
|
truelight
|
r919:57ef81f1ba8e
|
20 years ago
|
|
(svn r1407) -Codechange: changed a lot around _stations, _vehicles, _towns and _industries (in prepare of dynamic arrays): - DEREF_XXX is changed into GetXXX - All direct call are directed via GetXXX - struct Industry has now an index-field - ENUM'd some stuff - Replaced home built loops with FOR_ALL_XXX - Added _stations_size, _vehicles_size, ... which gives the length of the array (which will be dynamic in the near future) - Changed lengtof(XXX) to _XXX_size (e.g. _stations_size) - Removed all endof(XXX) (because mostly it was part of a FOR_ALL_XXX) - Made the sort-functions of all 4 dynamic - Made all 4 Initialize functions more of the same - Some minor tab-fixing and stuff (tnx to Tron for proof-reading my 100kb patch ;))
Note for all: please do NOT directly call _stations, _vehicles, _towns and _industries, but use the right wrapper to access them. Thank you. Ps: please also do not use 'v++', where v is of type Vehicle *.
|
|
tron
|
r915:dabba47e3ed1
|
20 years ago
|
|
|
|
tron
|
r900:6c526ed4f41b
|
20 years ago
|
|
(svn r1386) Move TileIndexDiff to map.h Move _tileoffs_by_dir to map.[ch] and encapsulate it in TileOffsByDir()
|
|
darkvater
|
r880:5f13b1583bf3
|
20 years ago
|
|
|
|
darkvater
|
r865:3d421850c788
|
20 years ago
|
|
(svn r1346) -Fix: fix signed/unsigned warnings -Fix: latent removal of 2 lines from ttd.c which I forgot because the file was not saved :O
|
|
tron
|
r863:a3262138da98
|
20 years ago
|
|
|
|
tron
|
r856:e23ff9905ff0
|
20 years ago
|
|
(svn r1337) Use MapMax[XY]() (or MapSize[XY]() if appropriate) instead of TILE_MAX_[XY] While here replace one erroneous TILE_MAX_X with MapMaxY()
|
|
bjarni
|
r842:96908cec3367
|
20 years ago
|
|
(svn r1323) Adding autoreplace feature This feature works much like autorenew, but it will get you a new engine type instead of a new one of the same type. Once ordered, it will automatically replace the engines while they visits a depot. The GUI for setting this up have been added on the vehicle overview windows Note: autorenew is now autoreplace, but to the same engine type Nice new features, that was added to make this possible - windows can now have two independant vertical scrollbars - CMD_SHOW_NO_ERROR have been added as a flag for DoCommandP. It will make it do the action instead of showing the red box with estimated costs even if shift is pressed - fixed problem where enginetypes where not initialized when loading a game. It's now done in InitializeGame()
|
|
miham
|
r826:aad8f888bce1
|
20 years ago
|
|
|
|
truelight
|
r817:5620a6b29ae5
|
20 years ago
|
|
(svn r1288) -Codechange: changed _map2 to an uint16. It is still saved and loaded as an uint8 till the savegame version is bumped to version 5. Then it works automaticly as a fully uint16. So _stations[] can not be increased till after the bump!!
|
|
truelight
|
r785:98d70fb62afe
|
20 years ago
|
|
(svn r1252) -Add: [Network] With 'set restart_game_date' you can set the date for in which year the server must restart hisself. (0 = disabled, default value)
|
|
bjarni
|
r770:be3f6b12cf89
|
20 years ago
|
|
(svn r1236) MorphOS: added make release like in OSX (tokai) MorphOS: cleaned up the code telling the difference between AmigaOS and MorphOS (tokai)
|
|
truelight
|
r764:b278ee9c19c0
|
20 years ago
|
|
(svn r1227) -Add: Ingame Server-list (select Internet, then Find Servers) -Fix: UDPListener was launched wrongly -Fix: Not all sockets have broadcast enabled anymore -Fix: Server-advertise retries 3 times before giving up
|
|
tron
|
r695:3e7d09303a5c
|
20 years ago
|
|
|
|
truelight
|
r690:f69eb4b03951
|
20 years ago
|
|
(svn r1131) -Add: [Network] Autoclean_companies (set it with 'set autoclean_companies on/off'). When enabled, empty companies (companies with no active clients) with no password are declared bankrupt after 1 year of emptyness. For empty companies with password, the password is removed after 3 years of emptyness. The delay of removing company/password can be configured via: - 'set autoclean_protected <months>' - 'set autoclean_unprotected <months>'
|
|
tron
|
r679:3a7b08cc8504
|
20 years ago
|
|
|
|
truelight
|
r543:efdb197f91ad
|
20 years ago
|
|
|
|
tron
|
r507:b1b0a0a3c313
|
20 years ago
|
|
(svn r815) Include strings.h only in the files which need it. This should reduce the compile time after altering english.txt by about 1/3, because "only" 62 instead of 90 .c files must be recompiled.
|
|
tron
|
r500:64773fd93d93
|
20 years ago
|
|
|
|
tron
|
r410:6458c1253cb1
|
20 years ago
|
|
(svn r607) -Patch: [ 985102 ] static cleanup Thanks to lvoge
|
|
darkvater
|
r395:9c19f4df13fc
|
20 years ago
|
|
|
|
tron
|
r387:b66e8bc66817
|
20 years ago
|
|
|
|
darkvater
|
r286:b65597fa489b
|
20 years ago
|
|
|
|
signde
|
r271:f8e755e5ee69
|
20 years ago
|
|
|
|
truelight
|
r260:7496fb3ef851
|
20 years ago
|
|
(svn r266) -Fix: hopefully fixed the desync problem nicely (and reverted the workaround for it)
|
|
signde
|
r256:33dbb6e50819
|
20 years ago
|
|
|
|
signde
|
r239:0103bf045d04
|
20 years ago
|
|
(svn r240) -Fix: desync on subsidy generation -Fix: sometimes commands got executed to early on some clients -Feature: universal event packets for transmitting subsidys
|
|
signde
|
r206:895fc6ea678b
|
20 years ago
|
|
(svn r207) -Codechange: randomizer handling -Fix: desync problem fixes -Fix: server doesnt hang anymore when a client timed out -Feature: low latency connection enhancements [*net_sync_freq, *net_ready_ahead]
|
|
truelight
|
r201:9dbb80b71da5
|
20 years ago
|
|
(svn r202) -Codechange: I missed some files with trailing spaces.. this should be all ;)
|
|
darkvater
|
r179:a6c2cb1ce7db
|
20 years ago
|
|
|
|
darkvater
|
r164:32c72e637930
|
20 years ago
|
|
(svn r165) -Feature: Option to sort vehicles in vehicle-list window by different criteria. Total independent sort for all types and players. Periodic resort of list every 10 TTD days. Thank you for your graphical inspiration follow and buxo (since none of you provided any code). -Fix: Sorter icon pointing down 'v' sorts in every window lowest value first, '^' highest value first -CodeChange: move Dropdownlist from settings_gui.c to widget.c. More in place there.
|
|
dominik
|
r116:e56e45d1abc8
|
20 years ago
|
|
|
|
dominik
|
r105:9609297bc621
|
20 years ago
|
|
(svn r106) New network core (by sign_de)
Features: * network core is dynamicly loaded when needed (-n isn't needed anymore) for easy switching between single and multiplayer. But commandline shortcuts are still enabled: -n = autodetect network server -n [ip] = connect to the server * udp now uses 2 different ports - you can run 1 server and serveral clients on one pc - the clients udp-socket gets unloaded when the network game starts - the servers udp-sockets remains online to allow the network gui to detect itself * new gameinfo structure this struct is available for every online/lan game * dynamic NetworkGameList
|
|
truelight
|
r0:d63b455452f6
|
20 years ago
|
|
|