michi_cc
|
bd2f7e998c
|
(svn r20352) -Add: [NewGRF] Support for property 09, feature 05, i.e alternate canal sprite layout.
|
2010-08-03 17:48:03 +00:00 |
|
michi_cc
|
f67c727c68
|
(svn r20351) -Codechange: Uncouple water lock and depot drawing.
|
2010-08-03 17:47:43 +00:00 |
|
terkhen
|
80c43f52e8
|
(svn r20289) -Codechange: Unify fall through coding style.
|
2010-08-01 20:52:11 +00:00 |
|
frosch
|
ed4f806f1d
|
(svn r20283) -Codechange: Unify start of doygen comments.
|
2010-08-01 19:22:34 +00:00 |
|
rubidium
|
e356cb9405
|
(svn r20281) -Codechange: unify case scope closure + break coding style
|
2010-08-01 18:53:30 +00:00 |
|
alberth
|
7e0e7fb0e5
|
(svn r20109) -Codechange: Make GetFloodingBehaviour() globally usable.
|
2010-07-10 12:45:34 +00:00 |
|
yexo
|
9cfb61adf5
|
(svn r20003) -Feature [FS#3886]: [NewGRF] var 43 depot build date for railtypes
|
2010-06-20 19:13:02 +00:00 |
|
frosch
|
1d3adb2b66
|
(svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
|
2010-06-05 12:16:12 +00:00 |
|
frosch
|
9db3cde73a
|
(svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration.
|
2010-05-31 20:22:57 +00:00 |
|
rubidium
|
93ff7d78e1
|
(svn r19799) -Change: give depots an unique name in the same manner buoys and waypoints are named
|
2010-05-12 19:21:00 +00:00 |
|
rubidium
|
be504a6ef0
|
(svn r19788) -Codechange: make FOR_EACH_SET_BIT not change the value of the passed bit variable, i.e. allow expressions as parameter
|
2010-05-11 20:48:06 +00:00 |
|
terkhen
|
52ab1c7d40
|
(svn r19720) -Feature: New base costs for building/clearing canals, building/clearing aqueducts and building/clearing locks.
|
2010-04-25 13:56:51 +00:00 |
|
terkhen
|
a2b03e54e0
|
(svn r19719) -Codechange: When building a lock, do not add the cost of building canals if they are already built.
|
2010-04-25 13:52:08 +00:00 |
|
terkhen
|
e83797d2e0
|
(svn r19718) -Fix: The cost of clearing tiles was not taken into account when building locks.
|
2010-04-25 13:50:15 +00:00 |
|
terkhen
|
28a57ee3f8
|
(svn r19716) -Documentation: Add comments for lock building and removal functions.
|
2010-04-25 13:44:49 +00:00 |
|
terkhen
|
1d60eac168
|
(svn r19715) -Codechange: Rename all appareances of shiplift to lock.
|
2010-04-24 21:03:40 +00:00 |
|
frosch
|
893e405af0
|
(svn r19668) -Codechange: Use WaterClass in parameters of CMD_BUILD_CANAL.
|
2010-04-17 23:34:00 +00:00 |
|
frosch
|
75d4bc947d
|
(svn r19654) -Codechange: Use Extract<> in more places.
|
2010-04-17 13:31:41 +00:00 |
|
frosch
|
b76f0185d4
|
(svn r19616) -Codechange: Increase transparency of 'Extract' by passing also the number of used bits.
|
2010-04-13 17:29:19 +00:00 |
|
alberth
|
05d705e077
|
(svn r19494) -Codechange: Remove _error_message.
|
2010-03-20 17:58:24 +00:00 |
|
yexo
|
c4a88ce022
|
(svn r19455) -Codechange: split all airport information in Station to a seperate class
|
2010-03-18 21:02:20 +00:00 |
|
alberth
|
5bac5a5be6
|
(svn r19416) -Codechange: Code style, move variable declarations to their first use.
|
2010-03-14 13:49:23 +00:00 |
|
alberth
|
3b367ab708
|
(svn r19415) -Codechange: Forward CommandCost with an error back to the caller.
|
2010-03-14 12:58:51 +00:00 |
|
terkhen
|
e6de669bf2
|
(svn r19373) -Fix (r19372): Missing variable declaration.
|
2010-03-07 22:31:18 +00:00 |
|
alberth
|
40f106ba7c
|
(svn r19372) -Codechange: CheckTileOwnership() returns a CommandCost.
|
2010-03-07 20:44:05 +00:00 |
|
alberth
|
c395b93acd
|
(svn r19319) -Codechange: EnsureNoVehicleOnGround() returns a CommandCost.
|
2010-03-05 21:20:22 +00:00 |
|
smatz
|
077fa11b3e
|
(svn r19203) -Codechange: silence some gcc warnings
|
2010-02-22 16:02:37 +00:00 |
|
yexo
|
698737f485
|
(svn r19198) -Codechange: store the size of stations in savegames
|
2010-02-22 14:17:07 +00:00 |
|
rubidium
|
f94c83a387
|
(svn r18872) -Codechange: introduce PaletteID and use it
|
2010-01-21 01:38:13 +00:00 |
|
rubidium
|
4d93b704d9
|
(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions
|
2010-01-18 22:57:21 +00:00 |
|
yexo
|
bcec00fdbd
|
(svn r18858) -Codechange: use IsAirportTile where possible
|
2010-01-18 12:36:08 +00:00 |
|
rubidium
|
82fc28f77f
|
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
|
2010-01-15 16:41:15 +00:00 |
|
yexo
|
d669801f1d
|
(svn r18807) -Codechange: introduce AirportSpec and move several non-statemachine-related variables to there
|
2010-01-15 12:08:08 +00:00 |
|
rubidium
|
740585c219
|
(svn r18720) -Codechange: simplify looping and validation of CmdBuildCanal
|
2010-01-04 18:37:47 +00:00 |
|
rubidium
|
3e131e2fec
|
(svn r18718) -Codechange: make a wrapper macro for looping TileAreas
|
2010-01-04 18:30:10 +00:00 |
|
rubidium
|
19fa38601d
|
(svn r18402) -Codechange: unify/centralise the code for crashing vehicles
|
2009-12-04 20:29:46 +00:00 |
|
rubidium
|
3817153a8e
|
(svn r18399) -Codechange: bail out early in FloodVehicle instead of a massive if (...) { } else { return }
|
2009-12-04 18:38:09 +00:00 |
|
frosch
|
ba1fc280e3
|
(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.
|
2009-11-07 22:47:54 +00:00 |
|
frosch
|
79627b4f89
|
(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up including of newgrf_cargo.h
|
2009-11-05 19:46:17 +00:00 |
|
rubidium
|
06c55863ca
|
(svn r17817) -Codechange: MakeWater actually made sea tiles, so rename it to MakeSea and unduplicate the code to make sea, rivers and canals.
|
2009-10-20 12:31:11 +00:00 |
|
rubidium
|
d6cded5380
|
(svn r17693) -Cleanup: remove some unneeded includes
|
2009-10-04 17:16:41 +00:00 |
|
smatz
|
32cbe57178
|
(svn r17692) -Codechange: minor coding style fixes
|
2009-10-04 17:10:57 +00:00 |
|
rubidium
|
04d5b67eb6
|
(svn r17567) -Fix: some doxygen warnings
|
2009-09-18 14:23:58 +00:00 |
|
frosch
|
ebd916be3d
|
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
|
2009-09-13 19:15:59 +00:00 |
|
rubidium
|
860a538adc
|
(svn r17495) -Codechange: replace 'Depot::Get(GetDepotIndex(tile))->index' with GetDepotIndex(tile)
|
2009-09-10 14:37:55 +00:00 |
|
rubidium
|
55ddce8da2
|
(svn r17493) -Codechange: store the depot index on the map
|
2009-09-10 14:33:07 +00:00 |
|
smatz
|
ee685c8287
|
(svn r17316) -Codechange: use Industry::GetByTile() instead of GetIndustryByTile()
|
2009-08-30 11:47:41 +00:00 |
|
rubidium
|
7fbc33dae1
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
2009-08-21 20:21:05 +00:00 |
|
michi_cc
|
b84e93487f
|
(svn r17152) -Fix: A stuck train could free the reservation of another train if it was reversed or did crash.
|
2009-08-10 23:52:44 +00:00 |
|
rubidium
|
1fe3ad3288
|
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
|
2009-08-05 17:59:21 +00:00 |
|
rubidium
|
097e79a86d
|
(svn r17001) -Codechange: replace some more assert(0)s to NOT_REACHED() and document why they (assert(0)) have to stay for the remaining cases.
|
2009-07-31 13:25:20 +00:00 |
|
rubidium
|
2ec12a3f58
|
(svn r16966) -Codechange: BEGIN_TILE_LOOP and END_TILE_LOOP reworked into TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP
|
2009-07-26 21:50:30 +00:00 |
|
rubidium
|
7440ec7a73
|
(svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and trainst_h.
|
2009-07-25 08:54:19 +00:00 |
|
rubidium
|
61e735ba4c
|
(svn r16721) -Codechange: make Is/SetRoadVehicleFront, Is/Set/HasArticulatedPart member of RoadVehicle.
|
2009-07-02 08:59:27 +00:00 |
|
smatz
|
adc5363202
|
(svn r16717) -Codechange: make IsFrontEngine() member of Train
|
2009-07-01 22:22:01 +00:00 |
|
smatz
|
50b5678e26
|
(svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() and change its behaviour accordingly
|
2009-06-27 17:05:20 +00:00 |
|
smatz
|
c0ac230e3e
|
(svn r16660) -Codechange: get rid of more dummy tile_type_procs
|
2009-06-25 20:08:59 +00:00 |
|
smatz
|
c30a87758f
|
(svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() and change its behaviour accordingly
-Codechange: remove dummy GetAcceptedCargo_*() handlers
|
2009-06-25 19:23:09 +00:00 |
|
smatz
|
05c695a647
|
(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()
|
2009-06-24 19:26:41 +00:00 |
|
smatz
|
8343340acb
|
(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
|
2009-06-24 17:39:54 +00:00 |
|
smatz
|
0c10006907
|
(svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check
|
2009-06-06 16:54:22 +00:00 |
|
frosch
|
a4557c7da4
|
(svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced vehicles/stations/industries are deleted.
|
2009-05-24 16:52:42 +00:00 |
|
rubidium
|
c4b627af42
|
(svn r16392) -Codechange: move some variables (the ones that aren't caches) from VehicleRail to Train
|
2009-05-22 22:33:05 +00:00 |
|
rubidium
|
80e94b9bb1
|
(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.
|
2009-05-22 22:22:46 +00:00 |
|
rubidium
|
7a37220881
|
(svn r16390) -Codechange: move u.road to RoadVehicle.
|
2009-05-22 20:22:20 +00:00 |
|
rubidium
|
c882248348
|
(svn r16388) -Codechange: move u.air to Aircraft
|
2009-05-22 20:07:26 +00:00 |
|
smatz
|
0af27062c4
|
(svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), introduce shiny new IsPlainRailTile()
|
2009-05-18 01:26:23 +00:00 |
|
rubidium
|
59d45a04d6
|
(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible.
|
2009-04-21 23:40:56 +00:00 |
|
rubidium
|
b25a4f8231
|
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
|
2009-03-15 00:32:18 +00:00 |
|
frosch
|
15789a76c1
|
(svn r15534) -Codechange: Rename some variables.
|
2009-02-20 23:21:04 +00:00 |
|
rubidium
|
d846eef0b6
|
(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.
|
2009-02-09 21:20:05 +00:00 |
|
rubidium
|
c0a8d09ca7
|
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
|
2009-02-09 02:57:15 +00:00 |
|
frosch
|
324e92f879
|
(svn r15360) -Fix: Flooding vehicles did not trigger an AI event.
|
2009-02-05 17:48:08 +00:00 |
|
smatz
|
0d3f5e6e74
|
(svn r15299) -Cleanup: remove many redundant includes
|
2009-01-31 20:16:06 +00:00 |
|
Yexo
|
db3ee34b44
|
(svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map.
|
2009-01-21 02:31:55 +00:00 |
|
smatz
|
7368c740a6
|
(svn r14828) -Codechange: move most of save/load-specific code to separate files
|
2009-01-04 15:32:25 +00:00 |
|
rubidium
|
1357b0a4c2
|
(svn r14789) -Feature: allow scrolling with the left mouse button pressed (if enabled). Primarily useful for systems with touch screen (aapo)
|
2009-01-02 22:42:05 +00:00 |
|
rubidium
|
87e5a8b52b
|
(svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter.
|
2008-12-28 14:37:19 +00:00 |
|
rubidium
|
272b2ef0e9
|
(svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus)
|
2008-10-14 18:38:51 +00:00 |
|
rubidium
|
b650a86e58
|
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
|
2008-09-30 20:51:04 +00:00 |
|
rubidium
|
3b798599b6
|
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
|
2008-09-30 20:39:50 +00:00 |
|
rubidium
|
9474db5cb6
|
(svn r14258) -Codechange: rework the way to query the vehicle hash to make sure it always results in the same irregardless of the order of the hash-linked-list.
-Fix: desync in PBS reservation following, vehicle flooding and road vehicle overtake/follow code.
|
2008-09-07 11:23:10 +00:00 |
|
smatz
|
bd6ef958e7
|
(svn r14103) -Fix [YAPP]: flooded trains didn't free their reservation
|
2008-08-19 10:55:33 +00:00 |
|
rubidium
|
d06fb949ff
|
(svn r13953) -Add [YAPP]: Free track reservations of crashed trains. (michi_cc)
|
2008-08-02 22:54:07 +00:00 |
|
frosch
|
2cec059248
|
(svn r13846) -Fix (r13838): Do not draw water borders inside of industries.
|
2008-07-27 09:16:23 +00:00 |
|
frosch
|
74c63ac9e2
|
(svn r13845) -Fix (r13838): When adding a WaterClass to oilrig station tiles, also make use of it.
|
2008-07-27 09:12:18 +00:00 |
|
frosch
|
16c80d031c
|
(svn r13838) -Codechange: Make industry tiles aware of WaterClasses.
|
2008-07-26 16:14:10 +00:00 |
|
belugas
|
bcb71a011e
|
(svn r13513) -Codechange: Give proper message when building a river fails.
Give proper description of a river tile with the Query Tool.
Extracted (in part) from FS#1884, by Ammler
|
2008-06-14 01:08:59 +00:00 |
|
rubidium
|
232a2a8e3c
|
(svn r13476) -Fix: draw canal borders for locks and when directly next to a aquaduct entrace but under the aqueduct.
|
2008-06-11 16:22:07 +00:00 |
|
rubidium
|
7f6382badd
|
(svn r13464) -Codechange: support NewGRF Action 0x05, type 12.
|
2008-06-11 13:54:01 +00:00 |
|
rubidium
|
923e21129c
|
(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.
|
2008-05-29 15:13:28 +00:00 |
|
rubidium
|
4625695653
|
(svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
|
2008-05-25 19:17:03 +00:00 |
|
frosch
|
eca692ef90
|
(svn r13206) -Feature(ette): Display all owners of a tile in the tile-info-window.
|
2008-05-21 22:15:39 +00:00 |
|
peter1138
|
510c0acb4a
|
(svn r13205) -Codechange: Remove unnecessary code-style-buggering-up macro.
|
2008-05-21 12:06:05 +00:00 |
|
rubidium
|
9defec7876
|
(svn r13165) -Codechange: replace some RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData.
|
2008-05-18 16:51:44 +00:00 |
|
rubidium
|
76b8970a33
|
(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.
|
2008-05-15 13:39:36 +00:00 |
|
smatz
|
ec627dedf8
|
(svn r13090) -Codechange: add functions for direct conversion from DiagDirection to Track and Trackbits
|
2008-05-14 18:31:21 +00:00 |
|
rubidium
|
d03994098b
|
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
|
2008-05-06 15:11:33 +00:00 |
|
rubidium
|
dce1b33196
|
(svn r12857) -Fix [FS#1948]: remove the last uses of AutoPtr in the station code.
|
2008-04-23 22:16:41 +00:00 |
|
rubidium
|
6939569362
|
(svn r12855) -Codechange: do not use autoptr's for testing whether certain objects can be build, but check it directly in the pool so we do not have to call destructors in the testing phase. Stations still use the autoptr though.
|
2008-04-23 20:56:08 +00:00 |
|