Commit Graph

33 Commits (d02bdb07688a193face4c9c63d756035e7427b12)

Author SHA1 Message Date
darkvater 920b9eab9d (svn r1338) -Fix: fix signed/unsigned warnings introduced when ditching the macros for map querying. 20 years ago
tron 181e9b6cf9 (svn r1337) Use MapMax[XY]() (or MapSize[XY]() if appropriate) instead of TILE_MAX_[XY]
While here replace one erroneous TILE_MAX_X with MapMaxY()
20 years ago
bjarni 5da75918c0 (svn r1323) Adding autoreplace feature
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()
20 years ago
darkvater 5b701e585d (svn r1225) -Feature: SHIFT+DEL now deletes all non-vital windows (only 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 :)
20 years ago
darkvater 302893f0da (svn r1121) -Feature: Added sticky windows feature. A small pin allows the 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.
20 years ago
tron a148ff4e0d (svn r1117) Move map arrays and some related macros into their own files map.c and map.h 20 years ago
dominik 6189664ad3 (svn r1084) Generalized hotkey catching when textfield windows are open. Now only hotkeys attached to the main toolbar are working if you have a textfield open. 20 years ago
dominik 967425b368 (svn r1082) Feature: Chat toolbar
- to chat with all players press Return (or Shift-T) and type in the message
- Press Return again to send the message
20 years ago
tron cf8e2459e7 (svn r1080) Improve mini-map scrolling in a similar way as viewport scrolling (r1063): now the centre of the mini-map window is the region of interest instead some arbitrary coordinate. 20 years ago
truelight d6a1f3e412 (svn r942) -Merged branch/network back into the trunk 20 years ago
tron 249a170ace (svn r607) -Patch: [ 985102 ] static cleanup
Thanks to lvoge
20 years ago
tron a9a852a4d6 (svn r580) Fix latent bug in BringWindowToFrontByID() - a wrong pointer was returned 20 years ago
tron 84d1041edf (svn r578) Simplify BringWindowToFront() 20 years ago
tron 3df0ff7854 (svn r559) Minor simplification 20 years ago
tron 53116247c3 (svn r558) -Fix: [ 1065247 ] Windows can be placed behind toolbar
While here make clamping against the screen border a bit nicer
20 years ago
tron 7a97e54559 (svn r541) Make windows even snappier! ^^
Thanks to nzhook, who also proposed the original patch.
20 years ago
tron 872f49ae8a (svn r538) -Feature: Windows snap at each other
This is inspired by [1063636].
20 years ago
darkvater e295e46e3e (svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
-CodeLayout: Remove trailing spaces and Windows linebreaks
20 years ago
darkvater 24512d3da5 (svn r212) -Fix: Network-gui fixes (sign_de)
-Fix: any disabled button in a window doesn't receive WE_CLICK events
-Added network.h
20 years ago
truelight eb49a19460 (svn r194) -Codechange: stripping trailing-spaces. Please keep this that way! 20 years ago
darkvater d037ee4c92 (svn r179) -Fix: [1023971] Fix for MouseWheel assert error in non-zoomable viewports. Zooming now will only occur if mousepointer is either in an extra viewport window, or main game-window (Dribbel) 20 years ago
truelight 1846563cf8 (svn r159) -Fix: w->custom[] was too small for 64bit pointers 20 years ago
darkvater 4fec362b32 (svn r153) -Feature: [1009710] Extra Viewport. In the minimap dropdown menu, open a new viewport to have a quick look at your favorite map-positions. Independent zoom and quick jump to/from viewport (Dribbel) 20 years ago
dominik 7701b0a241 (svn r137) Fix: console sometime didn't open (sign_de) 20 years ago
dominik e2f627a22e (svn r127) New feature: ingame console. (sign_de)
Press tab to open the console, more info in docs/console.txt
20 years ago
dominik a6f2257600 (svn r117) Feature: Performance details window in company league menu (TrueLight) 20 years ago
dominik d0fe99d8a2 (svn r87) Fix: rare mousewheel scrolling with scrollbar crash 20 years ago
darkvater 98f1db7b30 (svn r78) -Fix: [1010830] Landscape toolbar in scenario editor shown at wrong position 20 years ago
darkvater b4e9a3d1d4 (svn r71) -Cheat: [976127] no extra frequent jet crash on small airports (truesatan)
-Changed some debug messages in aircraft code to DEBUG(misc, 1)
20 years ago
darkvater 345e2c38ad (svn r70) -Fix: typo in english.txt
-Add some debug messages for misc=1
20 years ago
darkvater 31911a9325 (svn r69) -Feature: align toolbar left/center/right patch (TrueLight)
-Feature: added callback feature to patches options
20 years ago
darkvater 255a1ad941 (svn r68) -Fix: [1009621] build in pause is now a cheat instead of a patch (truesatan)
-Fix: Placing/editing signs signs is possible in paused mode
20 years ago
truelight efaeb275f7 (svn r1) Import of revision 975 of old (crashed) SVN 20 years ago