summaryrefslogtreecommitdiff
path: root/rail_gui.c
AgeCommit message (Collapse)Author
2005-03-24(svn r2046) -Codechange: moved all waypoint code to waypoint.c/waypoint.htruelight
-Codechange: rewrote some functions while moving waypoint-stuff -Add: added support for 64k waypoints -Fix: made the waypoint struct a bit more logic (no bit-fucking)
2005-02-13(svn r1867) Include tables/sprites.h only in files which need ittron
2005-01-30(svn r1731) - Fix: [ 1106930 ] BugFix: placing signals with 2x1 drags ↵darkvater
workaround is completely rewritten. Also features checks for hacked/modified clients. Thanks a lot Hackykid!
2005-01-29(svn r1713) Split off several functions which query/set information about a ↵tron
single tile from map.h and put them into a seperate file tile.h
2005-01-23(svn r1624) -Fix: [1106930] BugFix: placing signals with 2x1 drags is ↵darkvater
treated as placing a single signal thus providing an easy fix for a nasty problem.
2005-01-23(svn r1617) -Fix: Ugly hack to only call ResetObjectToPlaceon childwindows ↵darkvater
of build-toolbar if the window is closed manually (with 'X'); if not checked ResetObjectToPlace is called twice resulting in undesired actions (eg. clicked button is unclicked immediately).
2005-01-22(svn r1594) Convert all undefined parameter lists to (void) and add the ↵tron
appropriate warning flags in the Makefile
2005-01-20(svn r1575) -Fix: Forgot to exit the construction phase for the waypoint ↵Celestar
window (if you have newgrfs loaded)
2005-01-20(svn r1573) -Fix: Station and depot building mode is now terminated if thecelestar
corresponding windows are closed [ 1104277 ]
2005-01-19(svn r1572) Remove dead code from ludde's autorail implementation which was ↵tron
left over by revision 1571
2005-01-19(svn r1571) Feature: Visually enhanced autorail placingdominik
When using the autorail tool, the rail pieces which are going to be build are highlighted. If a piece is shown in red, this indicates that the slope/rail combination is impossible. It does not tell you if the rail line construction might not be possible because of other obstacles, e.g. houses or water.
2005-01-16(svn r1536) Move GET_TILEHEIGHT, GET_TILETYPE and IS_TILETYPE to map.h, turn ↵tron
them into inline functions and add some asserts
2005-01-10(svn r1476) -Fix: [1099209] Catchment area with drag&drop stations (Celestar)darkvater
2005-01-08(svn r1435) Fix: [ 1094092 ] Toolbars accessible via keyboard in spectator modedominik
2005-01-07(svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn ↵tron
the latter into inline functions names Tile[XY]
2005-01-06(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDifftron
2005-01-05(svn r1386) Move TileIndexDiff to map.htron
Move _tileoffs_by_dir to map.[ch] and encapsulate it in TileOffsByDir()
2005-01-05(svn r1382) Make automatic placement of rails in front of train depots map ↵tron
size agnostic
2005-01-04(svn r1380) -Fix: missed widget fixes; thanks Jango and TestMan57darkvater
2005-01-03(svn r1348) -Feature: resizable windows. Read the comment in window.h to ↵truelight
find out how the system works. All useful windows are already made resizable. Enjoy :) -Fix: fixed some GUI-glitches and flaws along the way
2005-01-03(svn r1336) Fix: Correct landscaping buttons in monorail and maglev toolbarsdominik
2004-12-23(svn r1254) - Fix: [ 993500 ] High bridge rendering errordominik
- Changed button to open landscaping toolbar
2004-12-22(svn r1212) -Feature: sticky windows all build-toolbarsdarkvater
2004-12-15(svn r1117) Move map arrays and some related macros into their own files ↵tron
map.c and map.h
2004-12-14(svn r1084) Generalized hotkey catching when textfield windows are open. Now ↵dominik
only hotkeys attached to the main toolbar are working if you have a textfield open.
2004-12-12(svn r1040) Fix: All character hotkeys are disabled now when a window for ↵dominik
typing is open
2004-12-12(svn r1030) Some toolbar icons are arranged differently:dominik
- Landscaping buttons have to be accessed from the landscaping toolbar - Landscaping toolbar can be opened from all other toolbars - The order of buttons in the docks toolbar now matches the other toolbars - Landscaping toolbar has new keyboard shortcuts
2004-12-08(svn r979) Allow more realistically sized catchment areasCelestar
2004-12-04(svn r942) -Merged branch/network back into the trunktruelight
2004-12-04(svn r925) Use sound enumstron
Also play the correct sound when a toyland road vehicle breaks down
2004-11-26(svn r829) Fix small glitch: Immediately redraw the tile selection square ↵tron
when using the hotkey to toggle removal
2004-11-25(svn r815) Include strings.h only in the files which need it.tron
This should reduce the compile time after altering english.txt by about 1/3, because "only" 62 instead of 90 .c files must be recompiled.
2004-11-17(svn r659) Support for cutomized TTDPatch-style new stations (no selector ↵tron
GUI yet) (pasky)
2004-11-17(svn r647) Cleanup custom station classes handling. (pasky)miham
2004-11-14(svn r614) [newgrf] Some minor code fixesdominik
2004-11-14(svn r612) [newgrf] Fix: custom waypoints on monorail/maglev are displayed ↵dominik
correctly
2004-11-14(svn r608) [newgrf] enabled possibility to build default waypoint when ↵dominik
custom waypoints are enabled
2004-11-14(svn r607) -Patch: [ 985102 ] static cleanuptron
Thanks to lvoge
2004-11-14(svn r606) -newgrf: Fixed waypoint scrollbardominik
2004-11-14(svn r587) -newgrf: Rename all /Checkpoint/i tokens to 'Waypoint's. The name ↵darkvater
actually makes some sense and is also compatible with TTDPatch (pasky).
2004-11-14(svn r585) -newgrf: GUI for selecting custom waypoint graphics to use. Patch ↵darkvater
by dominik81 and pasky.
2004-11-14(svn r581) -newgrf: Basic support for new stations - only waypoints ↵celestar
supported now and only the first custom one can be placed (no selector GUI, coming soon). This also moves some global variables to {struct GRFFile} and reorders which actions are processed in what stage, to get it all working together -- (pasky)
2004-11-05(svn r513) Merge revisions 402, 416, 417, 478, 479, 511, 512 from map to trunktron
This includes 2 fixes -Fix: [1048596] Monorail and Maglev sounds are swapped (r511) -Add special case to load the jackhammer sound (r478) The rest are cleanups und enumeration to make merging possible/easier
2004-09-18(svn r294) -Fix: autorail always builds rail, instead of occasional rail ↵darkvater
removal (on pressing hotkey after pressing 'bulldozer') -Fix: network fixes (Tron) -Some textfile changes, mainly URL's
2004-09-11(svn r202) -Codechange: I missed some files with trailing spaces.. this ↵truelight
should be all ;)
2004-09-07(svn r180) -Fix: some more warning fixes for C99 (Tron)darkvater
2004-09-07(svn r177) -Fix: padded out Widget code to solve warnings on C99 compiler (Tron)darkvater
-Fix: added WIDGETS_END macro for WWT_LAST which does this for all last widget-types
2004-09-05(svn r160) -Codechange: made GetTileTrackStatus more readable (blathijs)truelight
-Fix: some minor fixes around GetTileTrackStatus (blathijs)
2004-08-15(svn r60) -Fix: signal_density is given as a parameter to autosignal. This ↵darkvater
means all players can define it for themselves. -Fix a few warnings
2004-08-15(svn r59) -Feature: Added Autosignals, just like Autorail. Can copy signal ↵darkvater
style, convert signal<->semaphore, etc. Big thanks to betatesters Dribbel and Testman57 (Darkvater)