summaryrefslogtreecommitdiff
path: root/misc_gui.c
AgeCommit message (Collapse)Author
2005-01-22(svn r1596) Add some more staticstron
2005-01-22(svn r1594) Convert all undefined parameter lists to (void) and add the ↵tron
appropriate warning flags in the Makefile
2005-01-14(svn r1508) Remove duplicate declarations and include proper headers where ↵tron
necessary
2005-01-13(svn r1496) -Fix: highscore no longer crashes in network games with a ↵darkvater
dedicated server. At the end of the game (can only be set by the server) the highscore is shown for the top5 companies of that game -Fix: fixed some compiler warnings -Added PF_NETWORK_ONLY flag to settings. Such a setting can only be modified in a network game.
2005-01-10(svn r1476) -Fix: [1099209] Catchment area with drag&drop stations (Celestar)darkvater
2005-01-09(svn r1451) Fix some of the signed/unsigned comparison warningstron
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 r1398) -Feature: CTRL+V (Paste) now works on all editboxes. This ↵darkvater
includes 'Add Server', chat, etc. Feature is Windows only.
2005-01-06(svn r1397) Add missing RESIZE_NONEtron
2005-01-04(svn r1379) -Fix: various GUI glitches. Added default sizes to various ↵darkvater
widgets. Sticky/Resize- and Scrollbar must be 11 pixels wide, Horizontal scrollbar 11 pixels high, caption must be 13 pixels. I hope I didn't forget any widgets, the game will assert for that so report them to me!
2005-01-04(svn r1374) -Feature: Add sticky item to finances window; sticky remains ↵darkvater
when requesting big/small window -Moved resize icon in save dialog to bottom-right
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 r1341) -Fix: fix WWT_FRAME drawing when there is no text there (STR_NULL)darkvater
-Copyright notice is now 2002-2005 for all languages
2005-01-03(svn r1340) -Feature: scrolling credits list...finally! Hope nobody gets ↵darkvater
offended if I forgot them.
2005-01-02(svn r1323) Adding autoreplace featurebjarni
This feature works much like autorenew, but it will get you a new engine type instead of a new one of the same type. Once ordered, it will automatically replace the engines while they visits a depot. The GUI for setting this up have been added on the vehicle overview windows Note: autorenew is now autoreplace, but to the same engine type Nice new features, that was added to make this possible - windows can now have two independant vertical scrollbars - CMD_SHOW_NO_ERROR have been added as a flag for DoCommandP. It will make it do the action instead of showing the red box with estimated costs even if shift is pressed - fixed problem where enginetypes where not initialized when loading a game. It's now done in InitializeGame()
2004-12-21(svn r1211) -Feature: Introduce sticky windows to all vehicle windows...Just ↵darkvater
make sure you do not sticky more than 23 at a time. Also a lot of places in the code invalidated the 'status bar' of the vehicle, referring to it as widget 4. This is now widget 5 and has been #definitized
2004-12-19(svn r1179) Fix: Tooltips for vehicle list sortingdominik
This has gotta be the greatest kick for Moriarty!
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 r1112) -Fix: _decode_parameters was increased to [20], but not all ↵truelight
temp-dparams were
2004-12-13(svn r1066) -Fix: Crash when saving game as spectator (tnx to GeniusDex for ↵truelight
reporting)
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-11(svn r1018) -Fix: Buffer overflow in edit box, because we misuse maxlen for ↵truelight
a flag.. someone should rewrite the editbox!
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-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-22(svn r767) Introduce USERSTRING_LEN (128) and try to make sure we don't ↵pasky
overflow it anywhere (as long as we keep USERSTRING_LEN above 7 or so).
2004-11-21(svn r724) Remove restriction that a tile can only accept 3 cargo types.tron
This especially enables houses to accept passengers, mail, goods AND food. Add string templates for up to 5 cargo types for the tile info window. If more are needed just add them. Simplify (de-uglify) the logic for cargo acceptence for houses and split the goods/food table into two. The acceptance is unmodified, but accepting goods AND food is now trivially possible. The exact amounts have to be decided. This is based on Celestar's changes in the map branch plus some further bits that will be merged there soon.
2004-11-14(svn r607) -Patch: [ 985102 ] static cleanuptron
Thanks to lvoge
2004-11-14(svn r594) -Fix/Feature: [ 1066121 ] Resetting file name after deleting a filetron
Thanks to dannys9 for the patch
2004-11-14(svn r582) -Fix: [ 1034318 ] place sign and blue message boxtron
A name change wasn't possible while an always-on-top window (like news) has been visible
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-17(svn r284) Fix: on opening the saveload dialog the game pauses again in ↵dominik
single player games
2004-09-15(svn r263) -Fix: on_server.scr contained an unneeded ";"signde
-Fix: saving or loading a map doesnt pauses the game anymore
2004-09-13(svn r236) -Fix: random crash when player-face was displayed in error-dialogtruelight
2004-09-12(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron ↵darkvater
for your diligent fixing of warnings (and some possibly bugs) (Tron) -CodeLayout: Remove trailing spaces and Windows linebreaks
2004-09-10(svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!truelight
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-06(svn r173) -Network: [1023231] Debug Code + ErrorBoxes + Load Game/Scenario. ↵darkvater
Added some more desync debug code and replaced some of the error() calls with some better error boxes. Hopefully find desyncs easier (sign_de) -GUI: Change some network GUI stuff (Darkvater)
2004-09-03(svn r156) -Codechange: remove obsolete callback arraysdarkvater
2004-09-01(svn r148) -Feature: Company HQ can now be moved somewhere else (cost 1% of ↵darkvater
company value). Water floods HQ. -Some layout fixes for command.c -Tileinfo debug window in console now shows Tile in decimal numbers
2004-08-25(svn r139) Added MarkWholeScreenDirty() on switch player screendominik
Changed "Max income" string and "station spread patch" string
2004-08-22(svn r109) added/heavily modified patch by truesatan: cheat change datedominik
2004-08-22(svn r105) Switch climate cheat gui enhancementdominik
2004-08-21(svn r101) New cheat: switch climatedominik
2004-08-17(svn r75) -Add proper crediting to graphics artists to about box.darkvater
-Change DEBUG lvl for GRF warnings/errors to 2, lvl 1 is used for copyright notices -Fix show currect filename when debugging grf files
2004-08-17(svn r72) -Add: build_date of station (viewable with Query tool)truelight