summaryrefslogtreecommitdiff
path: root/src/rail_gui.cpp
AgeCommit message (Collapse)Author
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)