smatz
|
9021c20b5e
|
(svn r15299) -Cleanup: remove many redundant includes
|
16 years ago |
rubidium
|
d197060137
|
(svn r14933) -Codechange: check the whether a pool item can be constructed instead of trying to make it and check for NULL.
|
16 years ago |
smatz
|
5ba7c672da
|
(svn r14808) -Fix (r1): coal mine subsidence could wrap around map edges
|
16 years ago |
rubidium
|
931bdb9626
|
(svn r14749) -Codechange: replace a few wrapper functions that only called delete by a direct delete instead.
|
16 years ago |
rubidium
|
c34ce32f26
|
(svn r14747) -Codechange: remove DeleteVehicleChain in favour of the vehicle destructor as that was already doing the same for a few vehicle types.
|
16 years ago |
smatz
|
7fbd5beb0f
|
(svn r14746) -Fix: don't let any disaster vehicle (Helicopter or Airplane) target invalid industry
|
16 years ago |
smatz
|
c88a6199a7
|
(svn r14743) -Codechange: use INVALID_TILE to indicate station doesn't have queried facility (or station/roadstop is invalid) instead of 0 (Yexo)
|
16 years ago |
smatz
|
a59ddd79a1
|
(svn r14694) -Fix (r1): zeppeliner (disaster) should target st->airport_tile, not st->xy
|
16 years ago |
rubidium
|
b5e467978b
|
(svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus)
|
16 years ago |
rubidium
|
e589c7e580
|
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
|
16 years ago |
rubidium
|
f56e630e5c
|
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
|
16 years ago |
smatz
|
8d85d8bf97
|
(svn r14270) -Fix: make small UFO aware of articulated RVs
|
16 years ago |
rubidium
|
e7a501100a
|
(svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
|
17 years ago |
rubidium
|
d289464d69
|
(svn r13255) -Codechange: move _opt to _settings.
|
17 years ago |
rubidium
|
373343cef6
|
(svn r13100) -Codechange: reduce the amount of parameters passed via AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls.
|
17 years ago |
rubidium
|
8186344628
|
(svn r12804) -Codechange: move the effect vehicle handling out of vehicle.cpp
|
17 years ago |
rubidium
|
935b562074
|
(svn r12588) -Codechange: do not access the destination of an order directly.
|
17 years ago |
frosch
|
51155403a4
|
(svn r12531) -Codechange: Rename some variables for consistency.
|
17 years ago |
rubidium
|
c51b81c247
|
(svn r12489) -Codechange: split station.h into station_base.h and station_func.h.
|
17 years ago |
rubidium
|
2426f5342f
|
(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.
|
17 years ago |
frosch
|
7f3d56041b
|
(svn r12199) -Codechange: Remove magic around the results of GetTileTrackStatus().
|
17 years ago |
glx
|
7ce12e50da
|
(svn r12037) -Codechange: replace OnNewDay_(Aircraft|RoadVeh|Ship|Train) with an OnNewDay method in the Vehicle class
|
17 years ago |
smatz
|
91cb42fa73
|
(svn r11913) -Fix (r11871): update signals after company bankrupt and disaster too
|
17 years ago |
smatz
|
fc2895e8c2
|
(svn r11882) -Codechange: introduce MarkSingleVehicleDirty() and simplify the code at some places
|
17 years ago |
rubidium
|
9c0c798dd8
|
(svn r11834) -Codechange: only include settings_type.h if needed.
|
17 years ago |
rubidium
|
90acd52f22
|
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
|
17 years ago |
rubidium
|
2fc62eab05
|
(svn r11818) -Codechange: split player.h into smaller pieces.
|
17 years ago |
rubidium
|
445a733eb6
|
(svn r11719) -Codechange: split sound.h in a header with types and one with functions.
|
17 years ago |
rubidium
|
722613f7f3
|
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
|
17 years ago |
rubidium
|
db73addb43
|
(svn r11702) -Codechange: move all date related stuff to date*.
|
17 years ago |
rubidium
|
f82aeb82c5
|
(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h).
|
17 years ago |
rubidium
|
81bf9f8503
|
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
|
17 years ago |
rubidium
|
1f6043458c
|
(svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type.
|
17 years ago |
rubidium
|
3074bca136
|
(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
|
17 years ago |
rubidium
|
766551b0bc
|
(svn r11677) -Codechange: move price and command related types/functions to their respective places.
|
17 years ago |
rubidium
|
8427b8bad2
|
(svn r11675) -Codechange: split the string types from the string functions.
|
17 years ago |
rubidium
|
be923601bf
|
(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h
|
17 years ago |
skidd13
|
f56579e0d9
|
(svn r11526) -Codechange: Rename the function delta fitting to the naming style
|
17 years ago |
skidd13
|
e36dba227b
|
(svn r11523) -Codechange: Move the CHANCE macros to core/random_func.cpp cause they depend on Random()
-Codechange: Convert the CHANCE macros to functions and rename them fitting to the naming style
|
17 years ago |
skidd13
|
c0a2c0c23e
|
(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
|
17 years ago |
skidd13
|
98f66552be
|
(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style
|
17 years ago |
rubidium
|
8342c18fb5
|
(svn r11303) -Fix: EnsureNoVehicle and EnsureNoVehicleOnGround were both used to check whether there was no vehicle on the ground, except that the former didn't take care of aircraft shadows. So now we only use EnsureNoVehicleOnGround.
|
17 years ago |
rubidium
|
f830699971
|
(svn r11004) -Codechange: some reworks of the saveload mechanism to be able to save and load private and protected variables in the vehicle struct.
|
17 years ago |
rubidium
|
235ad4ab6b
|
(svn r11003) -Codechange: replace Vehicle->next to Vehicle->Next() and Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that.
|
17 years ago |
rubidium
|
b21f29c38f
|
(svn r10770) -Codechange: use the pool item class as super class for the vehicle struct.
-Codechange: do not force "special" vehicles to be allocated in the low 1024 vehicle slots and non "special" vehicles in the rest of the slots.
|
17 years ago |
rubidium
|
a67957866a
|
(svn r10697) -Codechange: give a more sensible names to some of the unkX variables.
|
17 years ago |
rubidium
|
9c9fc1a79e
|
(svn r10672) -Codechange: typify some parameters/variables.
|
17 years ago |
rubidium
|
df009178d4
|
(svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h
|
17 years ago |
rubidium
|
ec137f60ed
|
(svn r10409) -Codechange: replace (Aircraft|RoadVeh|Ship|Train)_Tick with a Tick method in the Vehicle class.
|
18 years ago |
rubidium
|
821e58ac95
|
(svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple road types on a single tile.
|
18 years ago |
rubidium
|
5a46c763f0
|
(svn r9760) -Codechange: remove the need for saving some vehicle variables.
|
18 years ago |
rubidium
|
0def47a3b0
|
(svn r9754) -Codechange: make classes for all vehicle types, so we can make nicer/better maintainable code, i.e. virtual methods instead of switches.
|
18 years ago |
rubidium
|
7577954ced
|
(svn r9672) -Cleanup: lots of coding style fixes around operands.
|
18 years ago |
maedhros
|
3d81de8d7e
|
(svn r9609) -Codechange: Move some function prototypes out of functions.h and into landscape.h, and add a few where they didn't exist.
|
18 years ago |
belugas
|
7a0952a5bc
|
(svn r9520) -Codechange: Add the notion of Industry behaviour. It means what an industry can do (plant fields, cut trees, do not change production), what can be done to it (disasters like mine subsidence, jet/chopper attack), when it can be built etc...
|
18 years ago |
bjarni
|
0ad237611e
|
(svn r9072) -Codechange: [Orders] added methods to orders to free them and check if they are in use
|
18 years ago |
rubidium
|
36cea84b11
|
(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code).
|
18 years ago |
rubidium
|
4169bfba06
|
(svn r9050) -Codechange: Foo(void) -> Foo()
|
18 years ago |
tron
|
05c6e8f883
|
(svn r8897) -Fix
Change the signature of GetNewVehiclePos():
-void GetNewVehiclePos(const Vehicle *v, GetNewVehiclePosResult *gp);
+GetNewVehiclePosResult GetNewVehiclePos(const Vehicle *v);
|
18 years ago |
belugas
|
0f090a0c1d
|
(svn r8862) -Cleanup: doxygen changes, again. Mostly @files missing tags and a few comments style.
Some documentation addition, when i can easily supply them
|
18 years ago |
belugas
|
b1b5aecae9
|
(svn r8853) -Cleanup: doxygen changes. Correct forgotten c files to cpp files with the @file tag as well as a few general comments style
|
18 years ago |
Darkvater
|
9159823500
|
(svn r8164) -Codechange (r8159): Fix up some comments/doxygen for disasters and rename Submarine1/2 to small/big
|
18 years ago |
Darkvater
|
e4d48ab471
|
(svn r8159) -Cleanup: Sprinkle some coding-style and comments on the disaster code.
|
18 years ago |
Darkvater
|
7e69f3f7b1
|
(svn r8158) -Fix: The submarine disaster failed to move at all due to wrong masking of trackbits
|
18 years ago |
Darkvater
|
e28d4aff8f
|
(svn r8140) -Fix [FS#54]: Combat helicopter flies past factory before it shoots. Chopper comes from the north-east, so it looks in +15 direction (forward), not -15 direction. Probably bad copy-paste from airplane-destroys-oil-refinery disaster.
|
18 years ago |
celestar
|
08de6b082a
|
(svn r8055) -Codechange: Replace the different max, dmax, maxu whatever macros by a simple template function max(), that requires two arguments of the same type. While I'm at it change a variable called "max" to "maxval" in a function that calls max().
|
18 years ago |
rubidium
|
a7d0cdf95f
|
(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
|
18 years ago |
KUDr
|
07c30785ab
|
(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp)
|
18 years ago |