summaryrefslogtreecommitdiff
path: root/order_cmd.c
AgeCommit message (Collapse)Author
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 *.
2004-12-29(svn r1297) Language fixes in the source.. (ln-)miham
2004-12-29(svn r1295) -Fix: [ 1092499 ] Copy order was fucked up, because memcpy said: truelight
sizeof(uint16), instead of sizeof(Order).
2004-12-19(svn r1177) Enable non-stop flag for waypointstron
2004-12-19(svn r1175) -Fix: [ 1086375 ] Backup-order-list was not closed with an ↵truelight
OT_NOTHING, resulting in order-lists mixing together (maybe tnx to Darkvater, not sure though..)
2004-12-19(svn r1164) Redid fix from revision 1163 to work with all patch settingsdominik
2004-12-18(svn r1163) Fix: [ 1087403 ] Crashed trains aren't reported to have too few ↵dominik
orders any more
2004-12-10(svn r1009) -Feature: per-station vehicle liststron
This adds a little button per vehicle class to the station window which opens a list of all vehicles that have this station on their schedule. As side effect this gets rid of some global variables.
2004-12-05(svn r955) Replace uint16 for orders with struct Ordertron
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 r942) -Merged branch/network back into the trunktruelight
2004-12-02(svn r901) Small step in the process to clean up the DPARAM mess:tron
- reduce to 2 sizes (*DParam64 for 64bit values, *DParam for the rest) - use inline functions instead of macros - add assert()s to check for buffer overruns
2004-11-25(svn r815) Include strings.h only in the files which need it.tron
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.
2004-11-06(svn r516) Solved a little bug with the order checker.celestar
2004-09-19(svn r300) Fix: order checker now correctly detects station with invalid ↵dominik
facilities
2004-09-10(svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!truelight
2004-08-15(svn r56) Improved order checker + patch setting for it (celestar)dominik
2004-08-12(svn r30) -Fix [1007272] Copy orders between bus/truck possible. You cannot ↵darkvater
share orders between busses/trucks. You can only copy orders if all the facilities in schedule allow both types to go there (Celestar) -Fix Dutch in dropdown language box is not in BIGFONT
2004-08-11(svn r20) Feature: warning when a vehicle has invalid orders (celestar)dominik
2004-08-09(svn r1) Import of revision 975 of old (crashed) SVNtruelight