OpenTTD-patches/table
Darkvater b43331c931 (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.
2005-05-11 00:00:27 +00:00
..
ai_rail.h (svn r1589) Adapt the AI to a slight behavior change of CmdBuildSignals() introduced in r1585 2005-01-22 18:46:30 +00:00
animcursors.h (svn r1) Import of revision 975 of old (crashed) SVN 2004-08-09 17:04:08 +00:00
autorail.h (svn r1571) Feature: Visually enhanced autorail placing 2005-01-19 20:55:23 +00:00
bridge_land.h (svn r2066) - Fix: [ 1164248 ] game crash while AI builds bridge. Also protect bridge building against invalid bridges and some safeguards when drawing. 2005-03-25 17:30:54 +00:00
build_industry.h (svn r2290) - CodeChange: protect the next batch of commands. This brings us to a total of 61, which is 53% :) 2005-05-11 00:00:27 +00:00
clear_land.h (svn r1) Import of revision 975 of old (crashed) SVN 2004-08-09 17:04:08 +00:00
currency.h (svn r1233) Fixed several currency issues. Now currencies should work correctly again. 2004-12-22 19:48:27 +00:00
engines.h (svn r1444) -Fix: fixed weight for double-head trains (and with that the acceleration) 2005-01-09 14:45:19 +00:00
files.h (svn r2229) - Fix: [ 1188777 ] Non-existing sprite #5125 (presignal). The DOS grf file trgi.grf has 6 less sprites than the windows one. This results in some segfaults for certain sprites. Fixed it by added a dummy grf file consisting ofr 6 sprites and loaded when using DOS gfx at the appropiate place. 2005-04-24 21:44:45 +00:00
genland.h (svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff 2005-01-06 11:39:00 +00:00
industry_land.h (svn r1) Import of revision 975 of old (crashed) SVN 2004-08-09 17:04:08 +00:00
landscape_const.h (svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron) 2004-09-12 21:49:38 +00:00
landscape_sprite.h (svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron) 2004-09-12 21:49:38 +00:00
namegen.h (svn r1977) Typedef some enums and struct plus some minor style changes 2005-03-09 19:42:37 +00:00
palettes.h (svn r1038) Feature: OpenTTD runs with the grf files of the DOS version 2004-12-12 20:36:24 +00:00
road_land.h (svn r1902) Replace some casts with proper typing 2005-02-22 15:39:45 +00:00
roadveh.h (svn r1) Import of revision 975 of old (crashed) SVN 2004-08-09 17:04:08 +00:00
sprites.h (svn r2136) - Fix: [ 1174313 ] terrain hotkeys nonfunctional in scenario editor (D,Q,W,E,R,T,Y,U fltr) 2005-04-02 23:05:09 +00:00
station_land.h (svn r1402) Trim trailing whitespace 2005-01-06 18:45:28 +00:00
town_land.h (svn r800) Check if the data tables for houses have the correct number of elements via compile time asserts 2004-11-24 17:19:26 +00:00
track_land.h (svn r2048) -Fix: deleted a word somehow :s (Tnx Tron!) 2005-03-24 17:33:27 +00:00
train_cmd.h (svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron) 2004-09-12 21:49:38 +00:00
tree_land.h (svn r2288) - CodeChange: protected the next batch of commands (41 so far, out of 115). 2005-05-09 22:33:00 +00:00
tunnel_land.h (svn r826) Seperate all bridge related tables from tunnel_land.h into their own file 2004-11-26 20:29:05 +00:00
unmovable_land.h (svn r907) Sprinkle holy ANSI water: 2004-12-03 07:43:00 +00:00
water_land.h (svn r1903) Replace some casts and macro magic with proper typing, similar to r1902 2005-02-22 18:27:57 +00:00