|
Darkvater
|
r1875:9ffff2a5d1a2
|
19 years ago
|
|
|
|
Darkvater
|
r1843:5cd79f79be08
|
19 years ago
|
|
|
|
Darkvater
|
r1802:acc0f0bda113
|
19 years ago
|
|
|
|
Darkvater
|
r1786:f4dff9cc496a
|
19 years ago
|
|
(svn r2290) - CodeChange: protect the next batch of commands. This brings us to a total of 61, which is 53% :) - CodeChange: To correctly accept engine-prototypes, the best-player checking has been moved to its own function, I hope it functions the same as before. - CodeChange: Added symbolic types of PlayerID, OrderID and EngineID. For engines also added GetEngine() and IsEngineIndex(), similar to the other such functions. - CodeChange: To correctly build industries, some tables have been moved to build_industry.h. The only way to find out currently if an industry is valid in a climate is by looping all industries and checking if it matches. Also to comply with the patch setting build_rawmaterial_industries, it is assumed that these industries do not accept any cargo of any type. This can and probably should changed in the future to some flag in their struct. Also use _opt_ptr instead of _opt. - CodeChange: implemented the HQ checking code inspired by MarkR2 in "[ 1190944 ] Many commands not checked for security". Unfortunately it is impossible to prevent only deleting a HQ by a modified client atm. - CodeChange: For insert order and modify order their parameters are implicitely truncated to 8 bits, instead of the 16 bits said in the comments.
|
|
matthijs
|
r1752:e339152fbe8d
|
19 years ago
|
|
(svn r2256) - Fix: Trains cannot find a depot when they are in a tunnel. (glx) - Add: GetVehicleTrackdir() helper function. - Codechange: Moved SortStruct from vehicle_gui.h to ttd.h, so the dependency from vehicle.h on vehicle_gui.h could be removed. - Codechange: Typedeffed the VehicleTypes struct so it can be used as the type for Vehicle.type instead of "byte". - Codechange: Removed prototype for VehicleSorter(), which had no implementation anymore and was never called.
|
|
tron
|
r1594:034b1aa8f852
|
20 years ago
|
|
|
|
truelight
|
r1575:506aa37772b0
|
20 years ago
|
|
(svn r2079) -Add: signlist, shows all signs in the map. Clicking on them, and you go to the sign. Very needed for coop. You can find it under World Map.
|
|
Darkvater
|
r1397:0f76b73a5f8b
|
20 years ago
|
|
|
|
tron
|
r1363:a54abce83b4b
|
20 years ago
|
|
|
|
matthijs
|
r1330:62eaa061ec97
|
20 years ago
|
|
(svn r1834) - Fix: NPF does not check the owner of its target, busses try to enter other players' depots. TODO - Add: asserts to find the v->u.rail.track == 0 problem. - Add: IsValidDepot(), IsValidTown(), IsValidSign(), IsValidVehicle(), IsValidStation() - Add: GetTileOwner(), IsTileOwner() - Codechange: Replaced IsShipDepotTile(), IsTrainDepotTile(), IsRoadDepotTile() by IsTileDepotType(). - Codechange: typedeffed the MAP_OWNERS as Owner. Should be used as variable type. - Codechange: Replaced a few uint by TileIndex.
|
|
tron
|
r1214:2ed99b1b4b97
|
20 years ago
|
|
(svn r1718) Use the enum TileType as parameter/return type for [GS]etTileType() instead of plain int. This makes it necessary to rename TileType() to GetTileType() because a type and a function may not share the same name.
|
|
darkvater
|
r1030:35b8947e620d
|
20 years ago
|
|
|
|
miham
|
r1004:0bc78a4d4709
|
20 years ago
|
|
(svn r1503) Added feature: o allows users to setup the production values of the rawmaterial producing industries in the editor
Modified: o ttd.h - added CT_INVALID for 0xFF cargo type o english.txt - added 1 string o industry_gui.c - the feature itself o window.h - added compile asserts to the structs which checks whether their sizes are smaller than WINDOW_CUSTOM_SIZE
Thanks: o Darkvater to bother me to constantly improve the patch o Various users at #openttd for testing
|
|
truelight
|
r988:49007d1ff1d3
|
20 years ago
|
|
(svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared it for dynamic arrays
|
|
darkvater
|
r983:9c58202c20d1
|
20 years ago
|
|
(svn r1479) -Added highscore chart (accessible from the difficulty window) with top5 companies for a given difficulty (select the difficulty in the menu) -Added endgame score on 1 jan 2051 where you are added to the highscore if sufficiently large points have been accumulated. Game is paused while -These values are saved in hs.dat; added read/write functions for it -Added code to delete all windows to show charts. There is one issue left: somehow a news-gui pops up in front of the the chart at the end of the game.
|
|
darkvater
|
r970:a6f7afe85299
|
20 years ago
|
|
|
|
miham
|
r948:1b8b7f85de7a
|
20 years ago
|
|
|
|
dominik
|
r925:6ebc61ffab9f
|
20 years ago
|
|
|
|
celestar
|
r924:d1304efa7d2b
|
20 years ago
|
|
(svn r1412) -Feature/Fix: Aircraft refit options have been restricted to "sane" values. -Feature: aircraft can now be refitted "mail-only" -Feature: Passengers aircraft now ignore the amount of mail for "full load any" options
|
|
tron
|
r849:8924bae789dc
|
20 years ago
|
|
|
|
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()
|
|
dominik
|
r759:e05ead977366
|
20 years ago
|
|
|
|
darkvater
|
r663:a23aa2eec081
|
20 years ago
|
|
|
|
darkvater
|
r659:c4726c05e825
|
20 years ago
|
|
|
|
dominik
|
r606:8ecd7d248197
|
20 years ago
|
|
(svn r1030) Some toolbar icons are arranged differently: - Landscaping buttons have to be accessed from the landscaping toolbar - Landscaping toolbar can be opened from all other toolbars - The order of buttons in the docks toolbar now matches the other toolbars - Landscaping toolbar has new keyboard shortcuts
|
|
truelight
|
r543:efdb197f91ad
|
20 years ago
|
|
|
|
pasky
|
r513:5d6e5eb410c5
|
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
|
r473:f7d76ddceb3a
|
20 years ago
|
|
(svn r724) Remove restriction that a tile can only accept 3 cargo types. This especially enables houses to accept passengers, mail, goods AND food. Add string templates for up to 5 cargo types for the tile info window. If more are needed just add them. Simplify (de-uglify) the logic for cargo acceptence for houses and split the goods/food table into two. The acceptance is unmodified, but accepting goods AND food is now trivially possible. The exact amounts have to be decided. This is based on Celestar's changes in the map branch plus some further bits that will be merged there soon.
|
|
darkvater
|
r395:9c19f4df13fc
|
20 years ago
|
|
|
|
dominik
|
r265:6330eec788b8
|
20 years ago
|
|
|
|
darkvater
|
r241:9d9818d4107d
|
20 years ago
|
|
(svn r242) -Fix: Pathfinding bug for road vehicles introduced in r160 fixed (blathijs) -Fix: Pathfinding under bridges bug for ships introduced in r160 fixed (Darkvater)
|
|
darkvater
|
r240:da729723796c
|
20 years ago
|
|
|
|
darkvater
|
r233:2e962870af3f
|
20 years ago
|
|
(svn r234) -Fix: added missing romanian.txt to VC6, VS.NET and Jamfile project file -Feature: Added romanian town names and currency (Magic_Pixel)
|
|
truelight
|
r193:6aa65dc5a4b4
|
20 years ago
|
|
|
|
darkvater
|
r168:a71deedc43fb
|
20 years ago
|
|
(svn r169) -Fix: move around sort-widgets a bit so it looks more natural -Fix: savegames are sorted with newest date first by default -Codechange: refine sorter functions -Fix: fixed linux warnings (tokai)
|
|
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.
|
|
truelight
|
r159:dfa73da8fbde
|
20 years ago
|
|
(svn r160) -Codechange: made GetTileTrackStatus more readable (blathijs) -Fix: some minor fixes around GetTileTrackStatus (blathijs)
|
|
darkvater
|
r152:def002d7c139
|
20 years ago
|
|
|
|
dominik
|
r126:ddfe1cb69359
|
20 years ago
|
|
(svn r127) New feature: ingame console. (sign_de) Press tab to open the console, more info in docs/console.txt
|
|
dominik
|
r124:791aeb2dce0d
|
20 years ago
|
|
|
|
dominik
|
r116:e56e45d1abc8
|
20 years ago
|
|
|
|
truelight
|
r71:6465372734aa
|
20 years ago
|
|
|
|
dominik
|
r39:c8e54423ac24
|
20 years ago
|
|
|
|
dominik
|
r37:ead8cba1b6f2
|
20 years ago
|
|
|
|
darkvater
|
r22:d13b1ad89539
|
20 years ago
|
|
|
|
darkvater
|
r1:d67833cf1719
|
20 years ago
|
|
(svn r2) -Fix [993829] UDP Fixes (lucaspiller) -Fix change 255/0xFF to OWNER_SPECTATOR for spectator stuff (TrueLight)
|
|
truelight
|
r0:d63b455452f6
|
20 years ago
|
|
|