Commit Graph

868 Commits (42c8f50551d7a7bdd33dfa68578c6ba45dce2bb9)

Author SHA1 Message Date
belugas e2c0f1faf7 (svn r11374) -Codechange: Give meaning to the magical number that specifies the color of the text in a DrawString call.
Patch heavily based on BiBB's work (FS#1383)
17 years ago
belugas 56e6282f2f (svn r11374) -Codechange: Give meaning to the magical number that specifies the color of the text in a DrawString call.
Patch heavily based on BiBB's work (FS#1383)
17 years ago
rubidium 305d383e99 (svn r11322) -Codechange: select an allowed station size when drag&drop is disabled. Patch by Wolf01. 17 years ago
rubidium c5acd42ccc (svn r11322) -Codechange: select an allowed station size when drag&drop is disabled. Patch by Wolf01. 17 years ago
rubidium 85b56a9c15 (svn r11264) -Codechange: replace a lot of magic numbers with enums for the rail and road GUIs. Patch by skidd13. 17 years ago
rubidium 4276173922 (svn r11264) -Codechange: replace a lot of magic numbers with enums for the rail and road GUIs. Patch by skidd13. 17 years ago
rubidium bd7483ba3c (svn r11040) -Fix [FS#1179]: removing CMD_AUTO from some commands could remotely trigger an assertion. 17 years ago
rubidium 9706c32ed6 (svn r11040) -Fix [FS#1179]: removing CMD_AUTO from some commands could remotely trigger an assertion. 17 years ago
rubidium 13ab17bca8 (svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size. 17 years ago
rubidium c03cb2c8db (svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size. 17 years ago
rubidium 45b0b7755d (svn r10601) -Codechange: store (and use) the type of stations instead of hardcoding station types by graphics IDs. 17 years ago
rubidium 3dd6362bb8 (svn r10601) -Codechange: store (and use) the type of stations instead of hardcoding station types by graphics IDs. 17 years ago
rubidium df009178d4 (svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h 17 years ago
rubidium efc7fdf2fd (svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h 17 years ago
rubidium 690a27f8ce (svn r10522) -Fix: the "build truck station" GUI showed that it would accept tourists when it does not, whereas the "build bus station" GUI did not show them when it did accept them. 17 years ago
rubidium 7cd00468d6 (svn r10522) -Fix: the "build truck station" GUI showed that it would accept tourists when it does not, whereas the "build bus station" GUI did not show them when it did accept them. 17 years ago
peter1138 30de2a0984 (svn r10437) -Feature: Automatic signal completion, enabled by pressing ctrl 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. 17 years ago
peter1138 efef78f786 (svn r10437) -Feature: Automatic signal completion, enabled by pressing ctrl 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. 17 years ago
rubidium b6b78a3f21 (svn r10405) -Fix [FS#972]: do not try to determine the default railtype in the scenario editor. 17 years ago
rubidium 82dbf4b467 (svn r10405) -Fix [FS#972]: do not try to determine the default railtype in the scenario editor. 17 years ago
rubidium f40646bf82 (svn r10329) -Feature [FS#812]: (patch) option to select the "default" rail 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. 17 years ago
rubidium 8b2c8b6164 (svn r10329) -Feature [FS#812]: (patch) option to select the "default" rail 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. 17 years ago
maedhros 1dac46595d (svn r10103) -Fix (r10086): TrackBitsToTrack doesn't cope well with TRACK_BIT_NONE (e.g. non-rail tiles), so use FindFirstTrack instead. 17 years ago
maedhros 560a542354 (svn r10103) -Fix (r10086): TrackBitsToTrack doesn't cope well with TRACK_BIT_NONE (e.g. non-rail tiles), so use FindFirstTrack instead. 17 years ago
maedhros c33e651393 (svn r10086) -Codechange: Use more sensible types and functions in GenericPlaceSignals. 17 years ago
maedhros fe3a7cc5ed (svn r10086) -Codechange: Use more sensible types and functions in GenericPlaceSignals. 17 years ago
rubidium 821e58ac95 (svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple road types on a single tile. 17 years ago
rubidium 440d723d84 (svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple road types on a single tile. 17 years ago
rubidium 29123cf275 (svn r9908) -Codechange: prepare the station picker for more road types. 17 years ago
rubidium 6b176e74c8 (svn r9908) -Codechange: prepare the station picker for more road types. 17 years ago
maedhros 1242bb9a03 (svn r9905) -Feature: Allow building new stations adjacent to existing stations by holding down control. Based on a patch by Wolf01. 17 years ago
maedhros 39016328cc (svn r9905) -Feature: Allow building new stations adjacent to existing stations by holding down control. Based on a patch by Wolf01. 17 years ago
maedhros 3b2a1c1c69 (svn r9901) -Codechange: Decide what to do with selected land areas based on the specific variable, not how it was highlighted. 17 years ago
maedhros 35ce34d55a (svn r9901) -Codechange: Decide what to do with selected land areas based on the specific variable, not how it was highlighted. 17 years ago
maedhros 1a9d43ff40 (svn r9900) -Codechange: Separate the variables for how to highlight a land area and what to do with it afterwards. 17 years ago
maedhros ca5c578d0f (svn r9900) -Codechange: Separate the variables for how to highlight a land area and what to do with it afterwards. 17 years ago
peter1138 1f552686d8 (svn r9810) -Feature: Add drag and drop removal of station tiles (Wolf01) 17 years ago
peter1138 e643aeaed2 (svn r9810) -Feature: Add drag and drop removal of station tiles (Wolf01) 17 years ago
maedhros 3d81de8d7e (svn r9609) -Codechange: Move some function prototypes out of functions.h and into landscape.h, and add a few where they didn't exist. 17 years ago
maedhros ccaaa7d33a (svn r9609) -Codechange: Move some function prototypes out of functions.h and into landscape.h, and add a few where they didn't exist. 17 years ago
rubidium 4169bfba06 (svn r9050) -Codechange: Foo(void) -> Foo() 18 years ago
rubidium 36bb92ae24 (svn r9050) -Codechange: Foo(void) -> Foo() 18 years ago
rubidium 62927d481f (svn r8999) -Fix [FS#450]: do not select a disabled platform length/number of track count when going out of drag-drop mode. 18 years ago
rubidium 2061d6af27 (svn r8999) -Fix [FS#450]: do not select a disabled platform length/number of track count when going out of drag-drop mode. 18 years ago
belugas b1b5aecae9 (svn r8853) -Cleanup: doxygen changes. Correct forgotten c files to cpp files with the @file tag as well as a few general comments style 18 years ago
belugas a723770836 (svn r8853) -Cleanup: doxygen changes. Correct forgotten c files to cpp files with the @file tag as well as a few general comments style 18 years ago
tron 053e2ddda5 (svn r8841) -Fix
Remove {,u}intswap() and replace them by Swap()
18 years ago
tron 103d119c51 (svn r8841) -Fix
Remove {,u}intswap() and replace them by Swap()
18 years ago
rubidium 2a9851a3ad (svn r8511) -Codechange: make WindowClass an enumerated value. 18 years ago
rubidium c8882bd3d2 (svn r8511) -Codechange: make WindowClass an enumerated value. 18 years ago
tron 5052c6609d (svn r8436) -Fix
-Feature: When linking the terraform toolbar to the build toolbars place them side by side instead of on top of each other
18 years ago
tron 508dc154df (svn r8436) -Fix
-Feature: When linking the terraform toolbar to the build toolbars place them side by side instead of on top of each other
18 years ago
Darkvater 7201689a17 (svn r8279) -Regression (r8274): Removing signals could fail under certain 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 18 years ago
Darkvater 97d558760c (svn r8279) -Regression (r8274): Removing signals could fail under certain 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 18 years ago
Darkvater 53457d1acb (svn r8274) -Codechange (r8151): Move the automatic semaphore/signal checks 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. 18 years ago
Darkvater 110c0162df (svn r8274) -Codechange (r8151): Move the automatic semaphore/signal checks 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. 18 years ago
maedhros 1770db53ca (svn r8160) -Fix (r8151): Do not use HasSignals on tiles without railways. 18 years ago
maedhros eeaf5c1f1c (svn r8160) -Fix (r8151): Do not use HasSignals on tiles without railways. 18 years ago
maedhros e91bbdd491 (svn r8151) -Feature: Automatically build semaphores before a configurable date, which can be set by each network player seperately. 18 years ago
maedhros 895cc4fa47 (svn r8151) -Feature: Automatically build semaphores before a configurable date, which can be set by each network player seperately. 18 years ago
tron f8c650fa3a (svn r8143) Remove the landscaping button from the build toolbars.
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.
18 years ago
tron 3b22cfe70d (svn r8143) Remove the landscaping button from the build toolbars.
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.
18 years ago
peter1138 ca9843424b (svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit 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.
18 years ago
peter1138 92d418b031 (svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit 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.
18 years ago
rubidium a7d0cdf95f (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b. 18 years ago
rubidium f35ed4bbc2 (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b. 18 years ago
KUDr 07c30785ab (svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp) 18 years ago
KUDr e373ea7096 (svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp) 18 years ago