rubidium
5c8cf85613
(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.
2009-02-09 21:20:05 +00:00
rubidium
89e1afdaa0
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
2009-02-09 02:57:15 +00:00
rubidium
283b3d16ab
(svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability.
2009-02-08 12:25:13 +00:00
smatz
9021c20b5e
(svn r15299) -Cleanup: remove many redundant includes
2009-01-31 20:16:06 +00:00
peter1138
f382c2381b
(svn r15050) -Codechange: Use one absolute SpriteID with offsets to draw track fences.
2009-01-13 08:39:25 +00:00
smatz
d286e1df4b
(svn r15039) -Codechange: fix comments regarding old AI, remove one old AI hack
2009-01-12 19:49:23 +00:00
truebrain
c2406cd42d
(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see.
...
NoAI is an API (a framework) to build your own AIs in. See:
http://wiki.openttd.org/wiki/index.php/AI:Main_Page
With many thanks to:
- glx and Rubidium for their syncing, feedback and hard work
- Yexo for his feedback, patches, and AIs which tested the system very deep
- Morloth for his feedback and patches
- TJIP for hosting a challenge which kept NoAI on track
- All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
2009-01-12 17:11:45 +00:00
rubidium
28ea38ae55
(svn r14949) -Cleanup: pointer coding style
2009-01-10 00:31:47 +00:00
rubidium
d3144b6f04
(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
e83cca7d13
(svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter.
2008-12-28 14:37:19 +00:00
frosch
38181a23cd
(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
a64298ebb9
(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
9fdac4e1d0
(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
27187e5a69
(svn r14567) -Revert (part of 14566): don't commit testing stuff...
2008-11-07 18:02:46 +00:00
rubidium
0b3706a8d3
(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
297392f3fa
(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
b0537d271f
(svn r14491) -Documentation: updates/additions of doxygen docs (Alberth)
2008-10-19 15:39:12 +00:00
frosch
1505c8f384
(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
b5e467978b
(svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus)
2008-10-14 18:38:51 +00:00
rubidium
3cff83c67e
(svn r14434) -Fix (r14432): compile warning.
2008-10-02 22:48:52 +00:00
rubidium
6ecee6cf3e
(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
f56e630e5c
(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
0b65ce9d46
(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
3f11e731a5
(svn r14356) -Fix [FS#2307](r14258): converting of railtype was broken for tunnels and bridges
2008-09-17 17:23:57 +00:00
smatz
6dd1163594
(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
70525eaa7f
(svn r14293) -Change: do not show PBS track reservation in the intro game
2008-09-11 21:53:59 +00:00
rubidium
6e67ea1f9d
(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
6074de33d0
(svn r14176) -Fix: better 'safe' than ... 'save'
2008-08-25 20:54:34 +00:00
peter1138
243aba268c
(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
e999f189e6
(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
7f5cd0e843
(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
d096431936
(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
6acc3f6e59
(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
f7ea5b51e7
(svn r14012) -Fix (r13936): Don't copy pre-signal type when dragging signals.
2008-08-07 07:48:57 +00:00
smatz
132e7e9b69
(svn r14005) -Codechange: minor coding style fix
2008-08-06 15:52:04 +00:00
smatz
98bb9ffada
(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
f0fdbf9644
(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
64a576b854
(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
aac73d2a04
(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
b29f290816
(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
c34a1db15e
(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
fc47ae96c4
(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
063208a56f
(svn r13930) -Codechange [YAPP]: Clear track reservation when removing a rail track. (michi_cc)
2008-08-02 22:48:14 +00:00
rubidium
bef1770590
(svn r13927) -Add [YAPP]: Draw reserved tracks darker, toggeld by a patch setting. (michi_cc)
2008-08-02 22:47:34 +00:00
rubidium
2b6978e48e
(svn r13912) -Codechange: remove some casts by returning the proper type instead of void*.
2008-08-01 15:07:31 +00:00
rubidium
6898a76c5f
(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
fdc4d1922d
(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
811ae0ac3f
(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
fe6f09e66e
(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
e2bcbd5c50
(svn r13485) -Fix: let ships also navigate on half-tile sloped watery rail tiles.
2008-06-12 11:15:43 +00:00