summaryrefslogtreecommitdiff
path: root/main_gui.c
AgeCommit message (Collapse)Author
2005-01-22(svn r1594) Convert all undefined parameter lists to (void) and add the ↵tron
appropriate warning flags in the Makefile
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-19(svn r1568) made an enum of train subtypes to make the code more readablebjarni
2005-01-16(svn r1545) Add TileHeight() which returns the height (not multiplied by 8)tron
Replace some direct references to _map_type_and_height with TileHeight()/IsTileType()
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-15(svn r1520) Trim 134 (!) lines with trailing whitespace ):tron
2005-01-15(svn r1515) -Removed the 'close ALL windows' from the toolbar since ↵darkvater
shift+del does this.
2005-01-14(svn r1514) -Fix: [1092474] little red box in scenario editor (Celestar). ↵darkvater
Error box is also shown in scenario editor for terraforming, thus solving the eternally-pulsating-tile problem.
2005-01-13(svn r1502) -Fix: [1101889] Crash under windows... stupid typo in ↵darkvater
player_gui.c ^ should've been & -Fix: in multiplayer clientlist can only be opened once
2005-01-13(svn r1497) -Fix: [1101179] Crash if generating land while industry window ↵darkvater
is open. This also happened for towns and the land information window -Added DeleteWindowByClass() function that deletes all windows of a given class
2005-01-12(svn r1487) -Fix: [1100736] wrong tooltip for place desert buttondarkvater
2005-01-12(svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared ↵truelight
it for dynamic arrays
2005-01-11(svn r1479) -Added highscore chart (accessible from the difficulty window) ↵darkvater
with top5 companies for a given difficulty (select the difficulty in the menu) -Added endgame score on 1 jan 2051 where you are added to the highscore if sufficiently large points have been accumulated. Game is paused while -These values are saved in hs.dat; added read/write functions for it -Added code to delete all windows to show charts. There is one issue left: somehow a news-gui pops up in front of the the chart at the end of the game.
2005-01-10(svn r1465) -Fix: [1099101] starting year patch goes out of range. Clamped ↵darkvater
year between 1920-2090 as wel as adding defines for it.
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-03(svn r1353) -Fix: [1092707] placing rocks in scenario editor. You can place ↵darkvater
rocks on trees and vice versa
2005-01-03(svn r1349) -Fix: [1093485] Dissappearing rocks in Scenario Editordarkvater
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
2004-12-28(svn r1286) -Fix: oeps, I clamp'd some numbers wrong :$truelight
2004-12-28(svn r1284) -Fix: Fixed 'money-cheat' (read: bug which could give people a ↵truelight
lot of money)
2004-12-23(svn r1263) -Fix: [Network] Client-names are limited (serverside) to 25 charstruelight
-Fix: You can enter some more chars in the chatbox
2004-12-23(svn r1240) -Fix: OpenTTD once again compiles if ENABLE_NETWORK is disabled.darkvater
-Fix: removed some warnings -Enabled ENABLE_NETWORK on windows again which I accidentally commented out.
2004-12-22(svn r1225) -Feature: SHIFT+DEL now deletes all non-vital windows (only ↵darkvater
status bar and main bar remain) -Fix: For everyone who tried to crash the game by opening a huge amount of windows and stickying all of them; bad luck. It's fixed now (thanks Tron for the helpful criticism). First all normal windows are a candidate for replacement, then if none are found, sticky windows. Then..well that should not happen :)
2004-12-22(svn r1214) -Feature: Stickified Industries (list & window), Smallmaps (all ↵darkvater
three), Stations (list & window) and Towns (list & window). I hope I didn't forget to update a widget somewhere :O -Feature: With the sticky windows on and some unfortunate resizing of your game it the 'close' button might go outside of the playing field, making it impossible to close. Added an option to the Options menu that closes all windows, even if they are stickified ("Close ALL windows")
2004-12-19(svn r1176) -Fix: [Network] PlayerBasedMenu's caused crashes when a company ↵truelight
went bankrupt
2004-12-19(svn r1174) -Fix: [Network] All strings can now be translated (no more ↵truelight
hardcoded strings)
2004-12-17(svn r1146) -Fix: You can no longer change waypoints whom are owned by ↵truelight
somebody else
2004-12-15(svn r1121) -Feature: Added sticky windows feature. A small pin allows the ↵darkvater
user to set the window as undeletable and can only be closed by hand. As an example the viewport window has been stickied (thanks to Neko-San) -To use the feature add WDF_STICKY_BUTTON to the widget description and update all widget-ID's since sticky button will be widget 2.
2004-12-15(svn r1117) Move map arrays and some related macros into their own files ↵tron
map.c and map.h
2004-12-15(svn r1108) -Fix: [Network] Fixed problem around slow clients:truelight
They joined, they got the map, but it took some time before the new player was created. In this time a player could do stuff, causing a player-id-mismatch, and the player was kicked out. Now a player get's a nice GUI which says: registering.. When that is gone, the player is joined and can play safely. Tnx to Moriarty for bugging me with this bug ;)
2004-12-14(svn r1092) Fix: Autorail can be accessed with the 'a' hotkey againdominik
2004-12-14(svn r1082) Feature: Chat toolbardominik
- to chat with all players press Return (or Shift-T) and type in the message - Press Return again to send the message
2004-12-12(svn r1040) Fix: All character hotkeys are disabled now when a window for ↵dominik
typing is open
2004-12-12(svn r1035) Fix: Added a line that I accidentally deleted in r1033dominik
2004-12-12(svn r1033) -Add: 'l' openes the landscaping toolbar globallydominik
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-12(svn r1022) -Fix: [Network] [ 1083690 ] The password dialog made the network truelight
disconnect without cleaning up.
2004-12-10(svn r1009) -Feature: per-station vehicle liststron
This adds a little button per vehicle class to the station window which opens a list of all vehicles that have this station on their schedule. As side effect this gets rid of some global variables.
2004-12-09(svn r1002) -Fixed the placement of the OpenTTD logo a bit (thx Jango).darkvater
2004-12-09(svn r1001) -Changed the title name to OpenTTD. Don't know how this was ↵darkvater
missed all this time; but is fixed now.
2004-12-04(svn r945) -Fix: [Network] Terraform callback went wrong in mergetruelight
-Fix: Some settings went wrong in merge
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-12-02(svn r901) Small step in the process to clean up the DPARAM mess:tron
- reduce to 2 sizes (*DParam64 for 64bit values, *DParam for the rest) - use inline functions instead of macros - add assert()s to check for buffer overruns
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-23(svn r787) Invert the sense of the DO_TRANS_BUILDINGS flag to be consistent ↵tron
with its own name and all other DO_* flags. Now it is active-true.
2004-11-21(svn r745) Added newgrf GUI (in options menu)\nThe interface currently only ↵dominik
displays the installed grf sets, you can't (de)activate them through the gui yet
2004-11-15(svn r623) -Feature: [ 1066504 ] Pause key pauses the gametron
2004-11-14(svn r607) -Patch: [ 985102 ] static cleanuptron
Thanks to lvoge
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).