frosch
|
e259fa8ede
|
(svn r14676) -Fix: Do not copy the signal type of parallel vertical/horizontal track, when dragging signals.
|
2008-12-14 19:52:55 +00:00 |
frosch
|
259a073f0c
|
(svn r14606) -Codechange: Unify usage of PALETTE_MODIFIER_TRANSPARENT and PALETTE_MODIFIER_COLOR in spritelayout drawing.
-Fix [FS#2419]: The modifiers were not applied in all cases.
|
2008-11-22 16:04:11 +00:00 |
rubidium
|
ffa3ec54f9
|
(svn r14581) -Fix: make rail, road and canal building behave the same when overbuilding already built stretches.
|
2008-11-16 13:49:57 +00:00 |
rubidium
|
13ee151a69
|
(svn r14567) -Revert (part of 14566): don't commit testing stuff...
|
2008-11-07 18:02:46 +00:00 |
rubidium
|
c7f3935506
|
(svn r14566) -Fix [FS#2397]: RV's go via order would reserve a slot at the 'via' station which it never uses, which makes it unlikely that it reserves a slot for the next station and that makes queueing fail (Aali)
|
2008-11-07 17:59:51 +00:00 |
michi_cc
|
f649496caa
|
(svn r14558) -Fix (r13957): Converting the track type of a tunnel/bridge could cause trains to get stuck.
|
2008-11-02 17:42:28 +00:00 |
rubidium
|
d832626bb9
|
(svn r14491) -Documentation: updates/additions of doxygen docs (Alberth)
|
2008-10-19 15:39:12 +00:00 |
frosch
|
5a1df325e2
|
(svn r14488) -Fix: Synchronize drawing of spritelayouts in DrawTileLayout (Houses), IndustryDrawTileLayout, DrawStationTile, DrawTile_Station and DrawTile_Track (Waypoint).
Now transparency options, PALETTE_MODIFIER_TRANSPARENT and SPRITE_MODIFIER_OPAQUE should work for all of them.
|
2008-10-18 17:21:56 +00:00 |
rubidium
|
272b2ef0e9
|
(svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus)
|
2008-10-14 18:38:51 +00:00 |
rubidium
|
b727f93bbc
|
(svn r14434) -Fix (r14432): compile warning.
|
2008-10-02 22:48:52 +00:00 |
rubidium
|
bdd756b58c
|
(svn r14432) -Fix: tile description of tiles with only one signal that is not the normal signal showing "normal signal and <signal type on tile>".
|
2008-10-02 00:23:30 +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 |
glx
|
c125cfa6cc
|
(svn r14365) -Backport (r14364 from NoAI): add the ability do CmdBuildSingleSignal to directly place the correct signal, instead requiring multiple inputs before doing so
|
2008-09-20 17:43:06 +00:00 |
smatz
|
deaa0725e9
|
(svn r14356) -Fix [FS#2307](r14258): converting of railtype was broken for tunnels and bridges
|
2008-09-17 17:23:57 +00:00 |
smatz
|
97150dcffd
|
(svn r14350) -Fix (r13927): do not draw PBS reservation for NW and NE depots, it is drawn through depot walls
|
2008-09-16 22:56:43 +00:00 |
smatz
|
37edc141e2
|
(svn r14293) -Change: do not show PBS track reservation in the intro game
|
2008-09-11 21:53:59 +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
|
e840aabf8d
|
(svn r14176) -Fix: better 'safe' than ... 'save'
|
2008-08-25 20:54:34 +00:00 |
peter1138
|
c76455be02
|
(svn r14165) -Codechange: When over-building rail with a different type, don't convert the rail if the engines of the new type are powered on the existing type.
|
2008-08-25 10:58:24 +00:00 |
peter1138
|
2f80a277eb
|
(svn r14158) -Codechange: Initialization of rail type data from static source, so data can be changed.
|
2008-08-24 23:00:11 +00:00 |
frosch
|
b03fcdf323
|
(svn r14129) -Fix (r13935) [FS#2247]: Signal state for PBS signals was not updated when cycling the signal side. Patch by michi_cc with a small addition from me.
|
2008-08-22 22:19:23 +00:00 |
belugas
|
77ee099212
|
(svn r14104) -Feature: Add a window for waypoints, allowing to view all the trains having the selected waypoint in their orders.
Changing its name is also supported from the same new window.
Gui based on work done by Satyap, on FS#2025.
|
2008-08-20 01:29:05 +00:00 |
rubidium
|
bf65e7e8f9
|
(svn r14013) -Fix [FS#2202]: do not allow extending signals by dragging in any direction other than the track direction.
|
2008-08-07 13:07:51 +00:00 |
peter1138
|
a993a29b63
|
(svn r14012) -Fix (r13936): Don't copy pre-signal type when dragging signals.
|
2008-08-07 07:48:57 +00:00 |
smatz
|
0eade71bde
|
(svn r14005) -Codechange: minor coding style fix
|
2008-08-06 15:52:04 +00:00 |
smatz
|
9a1958be91
|
(svn r13973) -Codechange [YAPP]: Improve the behavior when changing signals to not cause stale reservations. (michi_cc)
|
2008-08-03 11:28:35 +00:00 |
rubidium
|
753da05bc6
|
(svn r13957) -Codechange [YAPP]: Free the old path reservation on removing some tracks and reroute trains afterwards. (michi_cc)
|
2008-08-02 22:55:08 +00:00 |
rubidium
|
3e055b32bf
|
(svn r13937) -Codechange [YAPP]: Don't cycle through two-sided PBS signals during build. (michi_cc)
|
2008-08-02 22:50:04 +00:00 |
rubidium
|
07a43863c4
|
(svn r13936) -Codechange [YAPP]: Enable the auto-signal tool to build PBS signals and honor the default signal type. (michi_cc)
|
2008-08-02 22:49:39 +00:00 |
rubidium
|
60006ad24c
|
(svn r13935) -Codechange [YAPP]: PBS signals can now be built with the normal signal tools. (michi_cc)
|
2008-08-02 22:49:23 +00:00 |
rubidium
|
d6645818b4
|
(svn r13933) -Codechange [YAPP]: Handle through and PBS signals correctly in the signal code. (michi_cc)
|
2008-08-02 22:48:57 +00:00 |
rubidium
|
fe4f23dba2
|
(svn r13932) -Add [YAPP]: PBS signals added to the map array. The signals are drawn using the old Patch-like PBS sprites. (michi_cc)
|
2008-08-02 22:48:43 +00:00 |
rubidium
|
9295bd3f7c
|
(svn r13930) -Codechange [YAPP]: Clear track reservation when removing a rail track. (michi_cc)
|
2008-08-02 22:48:14 +00:00 |
rubidium
|
df99103a31
|
(svn r13927) -Add [YAPP]: Draw reserved tracks darker, toggeld by a patch setting. (michi_cc)
|
2008-08-02 22:47:34 +00:00 |
rubidium
|
ad36ea6b29
|
(svn r13912) -Codechange: remove some casts by returning the proper type instead of void*.
|
2008-08-01 15:07:31 +00:00 |
rubidium
|
d06529ef4d
|
(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
|
2008-07-17 20:13:01 +00:00 |
smatz
|
7c7e08df59
|
(svn r13626) -Fix (r11871): signals were not updated when player removed signals from nonexistent track sharing bits with existing track
So disallow removing signals from nonexistent track
|
2008-06-24 23:38:10 +00:00 |
smatz
|
29985b768c
|
(svn r13565) -Change [FS#2077]: when invisibility is set, sprite sequences are now drawn until first non-opaque sprite is found (bit 14 not set)
This is to balance performance, code complexity and NewGRF requirements
|
2008-06-18 16:48:58 +00:00 |
smatz
|
39b397438c
|
(svn r13488) -Fix (r13485): track wasn't removed on company bankrupcy when there was a ship on lower halftile
|
2008-06-12 13:40:07 +00:00 |
rubidium
|
43622f95e1
|
(svn r13485) -Fix: let ships also navigate on half-tile sloped watery rail tiles.
|
2008-06-12 11:15:43 +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
|
8c9cc415e3
|
(svn r13255) -Codechange: move _opt to _settings.
|
2008-05-25 22:36:44 +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 |
smatz
|
ec627dedf8
|
(svn r13090) -Codechange: add functions for direct conversion from DiagDirection to Track and Trackbits
|
2008-05-14 18:31:21 +00:00 |
smatz
|
386a3f1d20
|
(svn r13016) -Codechange: unify the detection if rail catenary should be drawn
|
2008-05-08 16:48:29 +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 |
peter1138
|
a00371c8db
|
(svn r12924) -Feature: Introducing the so called 'engine pool' which primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
|
2008-04-29 21:31:29 +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 |
rubidium
|
181b36ca0b
|
(svn r12801) -Codechange: remove the dependency of function.h in town_map.h
|
2008-04-20 08:43:31 +00:00 |
rubidium
|
02cdf01507
|
(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
|
2008-04-17 19:10:30 +00:00 |
smatz
|
059e94e355
|
(svn r12753) -Codechange: do not use IsDepotTypeTile() where simpler function can be used
|
2008-04-17 18:24:45 +00:00 |
smatz
|
9488db56d4
|
(svn r12745) -Codechange: a bit of naming conventions, introduce Is*DepotTile()
|
2008-04-17 00:44:20 +00:00 |
smatz
|
febc5150c9
|
(svn r12547) -Feature: invisibility options to make objects invisible instead of transparent
|
2008-04-03 19:55:40 +00:00 |
rubidium
|
ef2be7d0fc
|
(svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h.
|
2008-03-31 00:17:39 +00:00 |
rubidium
|
2edd403656
|
(svn r12489) -Codechange: split station.h into station_base.h and station_func.h.
|
2008-03-31 00:06:17 +00:00 |
peter1138
|
6184676ec7
|
(svn r12410) -Codechange: abstract out the test for catenary on electric rails
|
2008-03-25 12:10:13 +00:00 |
smatz
|
ac4ec8c2d2
|
(svn r12386) -Fix [FS#1841](r2428): train could break apart when reversed while partially in a depot
|
2008-03-19 20:50:19 +00:00 |
belugas
|
cd411ab75a
|
(svn r12342) -Fix(r12340): In order to avoid confusion, SIGN should be used for signs and SIGNAL for signals :)
Always check your terms with your nearest british ;)
|
2008-03-05 11:41:26 +00:00 |
belugas
|
a6ee46a5a0
|
(svn r12340) -Codechange: Remove some magic numbers (sprite IDs here) with some more meaningful values.
This allows to remove an unnecessary subtraction in the MAYBE_DAW_SIGNAL macro, who was waiting for an offset, at the first place.
|
2008-03-05 02:49:06 +00:00 |
peter1138
|
e1cc80b01c
|
(svn r12334) -Codechange: Don't change road owner without DC_EXEC. Didn't affect anything in this case but is bad form.
|
2008-03-04 12:13:15 +00:00 |
peter1138
|
5049fbb081
|
(svn r12329) -Fix [FS#1819]: Disallow building level crossings over one-way roads as this allowed competitors to remove the one-way state.
|
2008-03-03 19:15:53 +00:00 |
frosch
|
b7993793c8
|
(svn r12199) -Codechange: Remove magic around the results of GetTileTrackStatus().
|
2008-02-20 17:49:50 +00:00 |
smatz
|
509b3a3247
|
(svn r12179) -Codechange: use GetCrossingRailTrack() and GetCrossingRailAxis() to improve code readability
|
2008-02-18 18:35:36 +00:00 |
smatz
|
29125c0e68
|
(svn r12177) -Codechange: use 'side' parameter in GetTileTrackStatus so there can be less checks in pathfinders for depots/stations/tunnels/bridges
|
2008-02-18 16:11:31 +00:00 |
frosch
|
a40d761d7f
|
(svn r12149) -Codechange: Merge 'ground_sprite' and 'ground_pal' of DrawTileSprites into one PalSpriteID
|
2008-02-15 18:40:42 +00:00 |
frosch
|
fd0f57a794
|
(svn r12148) -Codechange: Merge 'image' and 'pal' of DrawTileSeqStruct into one PalSpriteID
|
2008-02-15 18:34:26 +00:00 |
belugas
|
65a13a3022
|
(svn r12145) -Codechange: includes should be at the top of the source file
-Codechange: undefine a defined macro once work is finished, just in case
|
2008-02-15 17:38:18 +00:00 |
frosch
|
43c0f7ea8e
|
(svn r12141) -Codechange: Introduce IsNormalRoad[Tile](), IsRoadDepot[Tile]() and HasTileRoadType(); and use them.
|
2008-02-14 15:59:16 +00:00 |
peter1138
|
63e306006b
|
(svn r12125) -Codechange: Remove redundant signal lookup table, and document why normal electric signals are handled specially.
|
2008-02-12 20:14:14 +00:00 |
smatz
|
9deab65bae
|
(svn r12098) -Fix: make snow appear on rail tiles dependant on track height, not on height of the lowest part of the tile
|
2008-02-10 11:35:05 +00:00 |
smatz
|
802c949755
|
(svn r12094) -Codechange: use DC_BANKRUPT command flag when removing player property to allow further fixes
|
2008-02-09 15:07:31 +00:00 |
frosch
|
b329781ab2
|
(svn r11984) -Fix: Also draw corner shores under rail tracks.
|
2008-01-25 16:51:35 +00:00 |
frosch
|
6f6708e844
|
(svn r11983) -Codechange: Add some helper functions for slopes and use them.
|
2008-01-25 15:47:58 +00:00 |
smatz
|
5a7c903770
|
(svn r11968) -Codechange: remove redundant FindLengthOfTunnel(), use GetTunnelBridgeLength() and/or GetOtherTunnelEnd() instead
|
2008-01-23 22:34:04 +00:00 |
smatz
|
8d077b16d8
|
(svn r11910) -Fix: play 'ding-ding' crossing sound in more cases (except gameload and crossing construction)
-Fix: crossing sound is bound to tile, not to vehicle
|
2008-01-17 20:41:33 +00:00 |
smatz
|
822242f411
|
(svn r11908) -Fix: update crossing when merging a company, when building a crossing and after loading older savegame
|
2008-01-17 19:49:06 +00:00 |
frosch
|
c579bffed2
|
(svn r11898) -Fix: Update neighboured canals + signals when flooding non-flat tiles, too.
|
2008-01-17 17:13:47 +00:00 |
smatz
|
c8178d43c1
|
(svn r11883) -Fix (r11864): assert when trying to remove rail from a house or industry tile
|
2008-01-16 22:26:45 +00:00 |
smatz
|
9556623281
|
(svn r11871) -Fix [FS#1074]: do not update signals after each tile when building/removing a large block of track/signals/station
|
2008-01-16 01:18:15 +00:00 |
smatz
|
245f05a7cc
|
(svn r11864) -Codechange: pass owner whose signals we will update instead of complex detection later
|
2008-01-15 15:00: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 |
smatz
|
f44a9a5d5b
|
(svn r11802) -Fix [FS#716]: do not crash trains when leaving depot to a very long track
-Codechange: use dedicated pathfinder for signal updating, resulting in better performance and possible future improvements
|
2008-01-09 23:00:59 +00:00 |
rubidium
|
998d7644f6
|
(svn r11800) -Codechange: move some functions to a more logical location + some type safety.
|
2008-01-09 21:05:03 +00:00 |
rubidium
|
46650c54b6
|
(svn r11793) -Codechange: pass the expense type via the CommandCost instead of a global variable. Patch by Noldo (FS#1114).
|
2008-01-09 16:55:48 +00:00 |
peter1138
|
a27a240b87
|
(svn r11791) -Cleanup: move railtype data into table/, like other data files.
|
2008-01-09 16:02:13 +00:00 |
rubidium
|
0e517fe023
|
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
|
2008-01-09 09:45:45 +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 |
smatz
|
7302d8c88b
|
(svn r11760) -Codechange: unify the way how other end of a tunnel/bridge is determined at some places
-Fix: adding road/tram to tram/road bridge was cheaper by one tile
|
2008-01-04 19:45:29 +00:00 |
peter1138
|
06d578d07e
|
(svn r11720) -Codechange: [NewGRF] Add support for bit 30 of station tile layouts; forcing a sprite to always be opaque.
|
2007-12-29 21:06:54 +00:00 |
rubidium
|
e5e75bd8f8
|
(svn r11719) -Codechange: split sound.h in a header with types and one with functions.
|
2007-12-29 09:24:26 +00:00 |
smatz
|
8e1f21e29b
|
(svn r11715) -Fix: do not use GetTrackBits() for depots and waypoints while converting railtype
|
2007-12-28 15:27:12 +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
|
2786d789a1
|
(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h).
|
2007-12-26 11:45:43 +00:00 |
rubidium
|
6a9e77e079
|
(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
|
2007-12-21 22:50:51 +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
|
5b49e75453
|
(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h
|
2007-12-19 23:26:02 +00:00 |
rubidium
|
8896bea306
|
(svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
|
2007-12-19 19:44:29 +00:00 |
smatz
|
0b08f7370d
|
(svn r11657) -Fix: show better error message when trying to convert rail
-Codechange: merge DoConvert functions into one, make test and exec runs the same for tunnels/bridges
|
2007-12-17 22:29:27 +00:00 |