Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-01-07 | (svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn ↵ | tron | |
the latter into inline functions names Tile[XY] | |||
2005-01-06 | (svn r1407) -Codechange: changed a lot around _stations, _vehicles, _towns ↵ | truelight | |
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 *. | |||
2005-01-06 | (svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff | tron | |
2005-01-05 | (svn r1386) Move TileIndexDiff to map.h | tron | |
Move _tileoffs_by_dir to map.[ch] and encapsulate it in TileOffsByDir() | |||
2004-12-30 | (svn r1301) -Codechange: _industries finally has FOR_ALL_INDUSTRIES too | truelight | |
2004-12-15 | (svn r1117) Move map arrays and some related macros into their own files ↵ | tron | |
map.c and map.h | |||
2004-12-08 | (svn r979) Allow more realistically sized catchment areas | Celestar | |
2004-12-05 | (svn r960) -Fix: forgotten conversion of orders for the AI (Tron) | darkvater | |
2004-12-05 | (svn r955) Replace uint16 for orders with struct Order | tron | |
This adds no functionality, but is a stepping stone for future improvement (like 16bit order indices) and is easier to read. This changes preserves binary compatibility wrt savegames. | |||
2004-12-04 | (svn r923) Forgot s/rail_vehinfo/RailVehInfo/ | tron | |
2004-12-03 | (svn r920) Replace vehicle info macros with inline functions and add asserts ↵ | tron | |
to check limits | |||
2004-12-03 | (svn r907) Sprinkle holy ANSI water: | tron | |
- "inline" must before the return type (and after "static") - Initialise all struct members, not just some of them - Remove (one) spurious semicolon | |||
2004-11-19 | (svn r677) -newgrf: Fix some custom electric trains appearing in maglev ↵ | darkvater | |
depots (pasky). | |||
2004-11-14 | (svn r607) -Patch: [ 985102 ] static cleanup | tron | |
Thanks to lvoge | |||
2004-09-10 | (svn r194) -Codechange: stripping trailing-spaces. Please keep this that way! | truelight | |
2004-09-10 | (svn r193) -Fix: [OldAI] If service-interval is in %, it works correct now. | truelight | |
2004-09-05 | (svn r160) -Codechange: made GetTileTrackStatus more readable (blathijs) | truelight | |
-Fix: some minor fixes around GetTileTrackStatus (blathijs) | |||
2004-08-17 | (svn r77) -Fix: [1010788] AI service interval bug (tnx truesatan) | truelight | |
-Add: AI overrides service interval to 180 days -Fix: AI hanged when all vehicles were disabled in Patch menu | |||
2004-08-11 | (svn r22) Add: Competitors menu under patches | truelight | |
Fix: I forgot to delete a local var from ai.c | |||
2004-08-11 | (svn r21) Remove: PE_BYTE (bit-bools) in favour of PE_BOOL | truelight | |
2004-08-09 | (svn r1) Import of revision 975 of old (crashed) SVN | truelight | |