Commit Graph

52 Commits

Author SHA1 Message Date
rubidium 9444eb4484 (svn r11939) -Codechange: some type fixes and very initial steps into supporting NDS by default. Based on work by Dominik. 2008-01-21 23:55:57 +00:00
rubidium 576f8ad93e (svn r11866) -Codechange: swap OFB_* and OF_* so it conceptually in sync with other cases of *B_* vs *_* like VETSB_* and VETS_*. 2008-01-15 18:44:22 +00:00
rubidium 5c4150d304 (svn r11832) -Codechange: get rid of (quite) some VARDEFs. 2008-01-13 13:36:01 +00:00
rubidium d4e6a6bf57 (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. 2008-01-13 01:21:35 +00:00
peter1138 ab8382c0db (svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
2008-01-12 19:58:06 +00:00
rubidium ac528411df (svn r11818) -Codechange: split player.h into smaller pieces. 2008-01-12 14:10:35 +00:00
rubidium a3ccdcea36 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary. 2008-01-07 14:23:25 +00:00
rubidium b0ac283aec (svn r11774) -Change: do not include variables.h in a header when it is not needed. 2008-01-07 00:57:19 +00:00
rubidium 384503e7d3 (svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes. 2007-12-27 13:35:39 +00:00
rubidium 429521a7d1 (svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h' 2007-12-25 11:26:07 +00:00
rubidium bf98e25e43 (svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed. 2007-12-25 09:48:53 +00:00
rubidium 9e9cfe6e59 (svn r11677) -Codechange: move price and command related types/functions to their respective places. 2007-12-21 21:50:46 +00:00
rubidium 433a9f3c09 (svn r11675) -Codechange: split the string types from the string functions. 2007-12-21 19:49:27 +00:00
smatz 5acc147c1c (svn r11625) -Codechange: add CO_* enum at some places, add includes of order.h too 2007-12-12 14:37:35 +00:00
glx fb1d768924 (svn r11618) -Fix: buoys are just waypoints, so don't allow load/unload/transfert for them 2007-12-11 17:44:55 +00:00
skidd13 a91c2a4c39 (svn r11485) -Codechange: Remove the doubled function ToggleBitT and rename the remaining to fit with the naming style 2007-11-20 14:11:19 +00:00
skidd13 5c31a973a1 (svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style 2007-11-19 21:32:20 +00:00
skidd13 71c4325c50 (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style 2007-11-19 21:02:30 +00:00
rubidium c393a28028 (svn r11370) -Fix [FS1384]: manually replacing a vehicle with shared orders makes it lose it's order index and service interval. Patch by jthill. 2007-11-03 06:20:25 +00:00
glx 8e5480aa16 (svn r11214) -Fix [FS#1296]: planes can't use heliports so refuse these orders 2007-10-05 22:13:35 +00:00
rubidium beeae81f60 (svn r11184) -Codechange: cleanup the code related to backup orders. 2007-09-28 21:15:45 +00:00
rubidium 2dd7a5d296 (svn r10773) -Codechange: use pool.CleanPool instead of CleanPool(&pool) and similarly for AddBlock*. 2007-08-03 20:18:38 +00:00
rubidium d751ce56cb (svn r10760) -Codechange: make the order struct use the pool item class as super class. 2007-08-02 23:40:19 +00:00
peter1138 fc7418d19d (svn r10314) -Codechange: Refer to vehicle names by index 2007-06-24 22:42:11 +00:00
maedhros cf0118ee63 (svn r10236) -Feature: Introduce a form of timetabling for vehicles. 2007-06-20 19:17:22 +00:00
rubidium 49220cc6f1 (svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified. 2007-06-18 19:53:50 +00:00
rubidium 966e2738b9 (svn r10197) -Codechange: replace int32 with CommandCost where appropriate. 2007-06-18 10:48:15 +00:00
rubidium 6b1cb3aaae (svn r10071) -Feature [FS#828]: moving of orders (skidd13). 2007-06-08 18:59:29 +00:00
rubidium c4806955e5 (svn r10033) -Feature [FS#760]: skip to the selected order in the order list when clicking on the "skip" button while pressing CTRL. 2007-06-04 19:32:45 +00:00
rubidium ba24c34f85 (svn r9869) -Codechange: replace some bytes with VehicleType, i.e. more type strictness. 2007-05-18 17:31:41 +00:00
rubidium e72ab0fdf5 (svn r9832) -Fix: leave the station when manually skipping to the next order and we are currently (un)loading. 2007-05-13 22:10:04 +00:00
rubidium b76cc8c96b (svn r9784) -Codechange: remove unused variable. 2007-05-04 22:38:36 +00:00
belugas 607a55f4ec (svn r9662) -Documentation: Doxygen corrections and @file omissions 2007-04-17 20:23:13 +00:00
truelight 9a9e891e0c (svn r9429) -Fix r9338: when deleting a vehicle which has shared orders with one more vehicle and no orders, segfaulted 2007-03-24 15:13:46 +00:00
belugas 57557ba599 (svn r9390) -Documentation : correct Doxygen of comments and @file inclusion. This time, brought to you by the letter O 2007-03-21 15:19:33 +00:00
truelight 58ef6ecc33 (svn r9338) -Fix: close the Shared Order Vehicle List if you remove the shared link with only 2 vehicles 2007-03-19 15:59:23 +00:00
truelight 9435d8cc83 (svn r9337) -Fix [FS#542]: assert() when you removed the orders of a shared list while having the shared order vehicle list open. 2007-03-19 15:36:18 +00:00
peter1138 e485b8f694 (svn r9301) -Codechange: Use cargo class to determine if a road vehicle can stop in bus or truck stops. 2007-03-18 22:07:44 +00:00
bjarni c2b7d0192d (svn r9072) -Codechange: [Orders] added methods to orders to free them and check if they are in use 2007-03-08 21:39:34 +00:00
rubidium ce919e8c71 (svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code). 2007-03-08 16:27:54 +00:00
rubidium 36bb92ae24 (svn r9050) -Codechange: Foo(void) -> Foo() 2007-03-07 11:47:46 +00:00
tron a69c6086e2 (svn r8802) -Fix
-Fix: When inserting an order for a ship while checking the distance between the new order and the order it is inserted after adhere the order types to determine the correct type of destination (i.e. station or depot)
Also do a better job in determining the preceding order
NOTE: 0.5 candidate
2007-02-18 16:24:29 +00:00
tron 46c872b366 (svn r8795) -Fix
Remove the explicit check for buoys when inserting goto station orders.
This is already covered by the preceding OWNER_NONE test.
2007-02-18 08:50:27 +00:00
tron 3c5c64f726 (svn r8778) -Fix
-Codechange: Allow goto station orders to public stations in general, not just oilrigs (though this is the same till now)
2007-02-17 14:54:31 +00:00
tron 87e03c7aa8 (svn r8755) -Fix
Abbreviate GetAirport(st->airport_type) to st->Airport()
2007-02-16 09:38:43 +00:00
tron 6c17cd4c46 (svn r8754) -Fix
Do not handle a special case for goto hangar orders to oilrigs - they do not have a hangar anyway
2007-02-16 07:32:22 +00:00
bjarni 037d636734 (svn r8621) -Codechange: assigned new numbers to the VEH_(type) enum so that VEH_Train is 0, VEH_Road is 1 and so on
This means that "v->type" can be used as array indexes instead of VehTypeToIndex() (or "v->type - VEH_Train/0x10 as the code still used in some places)
  Surprisingly this can be done without changing the savegame format
2007-02-07 19:10:19 +00:00
tron c326ff3795 (svn r8550) -Fix
Building a vehicle does not involve allocating orders, so do not check whether orders could be allocated
2007-02-03 09:05:43 +00:00
celestar 5678febfe2 (svn r8514) -Codechange: Turn IsBuoy into a method of stations 2007-02-01 16:48:38 +00:00
rubidium c8882bd3d2 (svn r8511) -Codechange: make WindowClass an enumerated value. 2007-02-01 15:49:12 +00:00