summaryrefslogtreecommitdiff
path: root/src/rail_gui.cpp
AgeCommit message (Collapse)Author
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
2007-01-15(svn r8151) -Feature: Automatically build semaphores before a configurable ↵maedhros
date, which can be set by each network player seperately.
2007-01-15(svn r8143) Remove the landscaping button from the build toolbars.tron
The landscaping toolbar can be reached at least as easy directly from the main toolbar. Further two of the four toolbars uses 'l' as keyboard shortcut for this button, which plain does not work (The letter has to be uppercase). This was covered by the fact there is a global shortcut 'L' to open the landscaping toolbar, so the individual checks in the four build toolbars were redundant anyway.
2007-01-14(svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit ↵peter1138
values. This lets us increase the sprite width from 14 to up to 29 bits, effectively nulling the old sprite limit. Table changes in next commit.
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)