summaryrefslogtreecommitdiff
path: root/window.c
AgeCommit message (Collapse)Author
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 r1338) -Fix: fix signed/unsigned warnings introduced when ditching the ↵darkvater
macros for map querying.
2005-01-03(svn r1337) Use MapMax[XY]() (or MapSize[XY]() if appropriate) instead of ↵tron
TILE_MAX_[XY] While here replace one erroneous TILE_MAX_X with MapMaxY()
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-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-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-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-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-14(svn r1080) Improve mini-map scrolling in a similar way as viewport ↵tron
scrolling (r1063): now the centre of the mini-map window is the region of interest instead some arbitrary coordinate.
2004-12-04(svn r942) -Merged branch/network back into the trunktruelight
2004-11-14(svn r607) -Patch: [ 985102 ] static cleanuptron
Thanks to lvoge
2004-11-14(svn r580) Fix latent bug in BringWindowToFrontByID() - a wrong pointer was ↵tron
returned
2004-11-14(svn r578) Simplify BringWindowToFront()tron
2004-11-13(svn r559) Minor simplificationtron
2004-11-13(svn r558) -Fix: [ 1065247 ] Windows can be placed behind toolbartron
While here make clamping against the screen border a bit nicer
2004-11-11(svn r541) Make windows even snappier! ^^tron
Thanks to nzhook, who also proposed the original patch.
2004-11-10(svn r538) -Feature: Windows snap at each othertron
This is inspired by [1063636].
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-12(svn r212) -Fix: Network-gui fixes (sign_de)darkvater
-Fix: any disabled button in a window doesn't receive WE_CLICK events -Added network.h
2004-09-10(svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!truelight
2004-09-07(svn r179) -Fix: [1023971] Fix for MouseWheel assert error in non-zoomable ↵darkvater
viewports. Zooming now will only occur if mousepointer is either in an extra viewport window, or main game-window (Dribbel)
2004-09-05(svn r159) -Fix: w->custom[] was too small for 64bit pointerstruelight
2004-09-03(svn r153) -Feature: [1009710] Extra Viewport. In the minimap dropdown menu, ↵darkvater
open a new viewport to have a quick look at your favorite map-positions. Independent zoom and quick jump to/from viewport (Dribbel)
2004-08-25(svn r137) Fix: console sometime didn't open (sign_de)dominik
2004-08-24(svn r127) New feature: ingame console. (sign_de)dominik
Press tab to open the console, more info in docs/console.txt
2004-08-23(svn r117) Feature: Performance details window in company league menu ↵dominik
(TrueLight)
2004-08-20(svn r87) Fix: rare mousewheel scrolling with scrollbar crashdominik
2004-08-17(svn r78) -Fix: [1010830] Landscape toolbar in scenario editor shown at ↵darkvater
wrong position
2004-08-16(svn r71) -Cheat: [976127] no extra frequent jet crash on small airports ↵darkvater
(truesatan) -Changed some debug messages in aircraft code to DEBUG(misc, 1)
2004-08-16(svn r70) -Fix: typo in english.txtdarkvater
-Add some debug messages for misc=1
2004-08-16(svn r69) -Feature: align toolbar left/center/right patch (TrueLight)darkvater
-Feature: added callback feature to patches options
2004-08-16(svn r68) -Fix: [1009621] build in pause is now a cheat instead of a patch ↵darkvater
(truesatan) -Fix: Placing/editing signs signs is possible in paused mode
2004-08-09(svn r1) Import of revision 975 of old (crashed) SVNtruelight