summaryrefslogtreecommitdiff
path: root/src/rail_gui.cpp
AgeCommit message (Collapse)Author
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-23(svn r11689) -Fix: compilation error and most of warnings for gcc 4.3smatz
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-21(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.rubidium
2007-12-21(svn r11677) -Codechange: move price and command related types/functions to ↵rubidium
their respective places.
2007-12-21(svn r11675) -Codechange: split the string types from the string functions.rubidium
2007-12-19(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.hrubidium
2007-12-19(svn r11668) -Codechange: more refactoring aimed at reducing compile time ↵rubidium
and making it more logic where function definitions can be found.
2007-12-19(svn r11667) -Codechange: split window.h into a header that defines some ↵rubidium
'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
2007-12-16(svn r11649) -Codechange: some code can be simplified thanks to changes in ↵smatz
r11642
2007-12-16(svn r11644) -Codechange: merge some functions from tunnel_map.h and ↵smatz
bridge_map.h into tunnelbridge_map.h
2007-12-08(svn r11592) -Codechange: Use the Window member RaiseButtons and remove the ↵belugas
now useless RaiseWindowButtons function
2007-12-07(svn r11588) -Codechange: use the new member introduced in r11551glx
2007-12-02(svn r11555) -Codechange: use the new members introduced in r11551.rubidium
2007-12-01(svn r11547) -Add: signal selection GUI for the ones that really like to use ↵rubidium
that over CTRL. Patch by BigBB.
2007-11-24(svn r11511) -Revert parts of r11505: forgot that CTRL might be used for ↵rubidium
other features, like adjacent stations or signals.
2007-11-24(svn r11505) -Fix/Feature: make CTRL work on all road/rail construction ↵rubidium
options that 'work' with the 'Bulldozer' button instead of only a few.
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-19(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit ↵skidd13
with the coding style
2007-11-18(svn r11455) -Codechange: make autoroad, 'normal' road building and 'normal' ↵rubidium
rail building all react the same on CTRL as autorail.
2007-11-15(svn r11440) -Codechange: replace magic numbers with enumified ↵rubidium
WindowHighlightMode constants. Patch by SmatZ.
2007-11-04(svn r11374) -Codechange: Give meaning to the magical number that specifies ↵belugas
the color of the text in a DrawString call. Patch heavily based on BiBB's work (FS#1383)
2007-10-21(svn r11322) -Codechange: select an allowed station size when drag&drop is ↵rubidium
disabled. Patch by Wolf01.
2007-10-14(svn r11264) -Codechange: replace a lot of magic numbers with enums for the ↵rubidium
rail and road GUIs. Patch by skidd13.
2007-09-04(svn r11040) -Fix [FS#1179]: removing CMD_AUTO from some commands could ↵rubidium
remotely trigger an assertion.
2007-07-27(svn r10704) -Codechange: provide an infrastructure to have resizable ↵rubidium
windows that are smaller than the default window size.
2007-07-16(svn r10601) -Codechange: store (and use) the type of stations instead of ↵rubidium
hardcoding station types by graphics IDs.
2007-07-16(svn r10587) -Codechange: move the string/dparam related stuff from ↵rubidium
variables.h to strings.h
2007-07-12(svn r10522) -Fix: the "build truck station" GUI showed that it would accept ↵rubidium
tourists when it does not, whereas the "build bus station" GUI did not show them when it did accept them.
2007-07-04(svn r10437) -Feature: Automatic signal completion, enabled by pressing ctrl ↵peter1138
when dragging signals. Signals will continue following track until an existing signal, junction or station are reached. This currently replaces the existing use of ctrl-drag for changing existing signal type.
2007-07-01(svn r10405) -Fix [FS#972]: do not try to determine the default railtype in ↵rubidium
the scenario editor.
2007-06-25(svn r10329) -Feature [FS#812]: (patch) option to select the "default" rail ↵rubidium
type when you start a new game or load a game. This is done either static, i.e. rail, electrified rail, monorail and maglev, or dynamic which takes either the first or last available railtype or the railtype that is used most on the map.
2007-06-11(svn r10103) -Fix (r10086): TrackBitsToTrack doesn't cope well with ↵maedhros
TRACK_BIT_NONE (e.g. non-rail tiles), so use FindFirstTrack instead.
2007-06-10(svn r10086) -Codechange: Use more sensible types and functions in ↵maedhros
GenericPlaceSignals.
2007-05-24(svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple ↵rubidium
road types on a single tile.
2007-05-24(svn r9908) -Codechange: prepare the station picker for more road types.rubidium
2007-05-23(svn r9905) -Feature: Allow building new stations adjacent to existing ↵maedhros
stations by holding down control. Based on a patch by Wolf01.
2007-05-23(svn r9901) -Codechange: Decide what to do with selected land areas based on ↵maedhros
the specific variable, not how it was highlighted.
2007-05-23(svn r9900) -Codechange: Separate the variables for how to highlight a land ↵maedhros
area and what to do with it afterwards.
2007-05-07(svn r9810) -Feature: Add drag and drop removal of station tiles (Wolf01)peter1138
2007-04-12(svn r9609) -Codechange: Move some function prototypes out of functions.h ↵maedhros
and into landscape.h, and add a few where they didn't exist.
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-03-03(svn r8999) -Fix [FS#450]: do not select a disabled platform length/number ↵rubidium
of track count when going out of drag-drop mode.
2007-02-23(svn r8853) -Cleanup: doxygen changes. Correct forgotten c files to cpp ↵belugas
files with the @file tag as well as a few general comments style
2007-02-22(svn r8841) -Fixtron
Remove {,u}intswap() and replace them by Swap()
2007-02-01(svn r8511) -Codechange: make WindowClass an enumerated value.rubidium
2007-01-28(svn r8436) -Fixtron
-Feature: When linking the terraform toolbar to the build toolbars place them side by side instead of on top of each other
2007-01-19(svn r8279) -Regression (r8274): Removing signals could fail under certain ↵Darkvater
circumstances (not the proper bits of p1/p2 were set to trackbits). Moved trackbits back to bits 0..2, ctrl to 3, semaphore to 4. Also lower the decision of the ctrl-override of signal/semaphore from the GUI into the cmd function since we are passing the ctrl-bit anyways. Bug(s) found by Frostregen; thanks
2007-01-19(svn r8274) -Codechange (r8151): Move the automatic semaphore/signal checks ↵Darkvater
inside the CMD_ functions where they are supposed to be. Achieve this by adding a seperate bit to p1/p2 to hold the CTRL-modifier. While here, use proper types, and 'unify' the parameter bit-meanings. 0 - ctrl-pressed, 1 - signal/semaphore, 2-4 - trackbits, 5 - remove (internal), 24-31 - drag density.
2007-01-16(svn r8160) -Fix (r8151): Do not use HasSignals on tiles without railways.maedhros