summaryrefslogtreecommitdiff
path: root/src/cheat_gui.cpp
AgeCommit message (Collapse)Author
2021-01-09Change: remove warning in cheat window and reduce it to a note (#8538)Patric Stout
Although meant as a funny joke towards the player, our social standards have changed since 2004, and such "jokes" are no longer acceptable by the community as a whole. The only value of the message is that people are informed the information is stored in the savegame. This is mostly useful for us, developers, as some of those cheats can have side-effects which people report. While at it, styled the GUI a bit better, as the way the text was presented was odd.
2021-01-08Codechange: Remove min/max functions in favour of STL variants (#8502)Charles Pigott
2020-12-27Codechange: Replace assert_compile macro with static_assertCharles Pigott
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-07-27Fix #7655: Decrease buttons in cheat window do not work properlyTTrebron
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-24Codechange: Use override specifier in Window-derived classes.peter1138
2015-03-07(svn r27178) -Fix [FS#5969]: Data race due to lazy initialisation of objects.frosch
2015-02-14(svn r27151) -Add: Allow changing max heightlevel in scenario editor.frosch
2014-10-04(svn r26956) -Codechange: GUI-scale for cheat window.peter1138
2014-09-27(svn r26928) -Change: scale the heightmap colours over the whole range of ↵rubidium
heights (based on patch by ic111)
2014-09-21(svn r26887) -Add: cheat for changing the height level (mostly due to the ↵rubidium
mess with changing snow levels and such)
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2013-10-15(svn r25867) -Fix [FS#5764]: Shift dates on link graphs when using scenario ↵fonsinchen
editor date tool.
2013-08-23(svn r25741) -Fix: shift join dates of link graph jobs when using the date cheatfonsinchen
2013-06-04(svn r25320) -Fix [FS#5577]: link graph start time was not accounted for ↵rubidium
when cheating dates
2013-05-26(svn r25290) -Add: Assign string names to notable windows.frosch
2013-05-26(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window ↵frosch
after construction.
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-12-08(svn r24801) -Codechange: Add functions to set integral DParams to suitable ↵frosch
values for size computations.
2012-11-11(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.frosch
2012-06-01(svn r24310) -Codechange: Add named constants for the dimensions of settings ↵frosch
buttons, and generally make their usage more consistent.
2012-06-01(svn r24309) -Codechange: Split some functions from gui.h to settings_gui.hfrosch
2012-01-05(svn r23757) -Codechange: Unify the drawing of toggle buttons for boolean ↵frosch
settings.
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2012-01-03(svn r23733) -Fix-ish [FS#4939]: cheating to different climates messes ↵rubidium
things even more up than changing NewGRFs in-game... so guess what happened
2011-12-16(svn r23531) -Codechange: document and rename widgets to be consistent and ↵truebrain
understandable
2011-12-15(svn r23528) -Codechange: move widget enums to widgets/NNN_type.htruebrain
2011-12-15(svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, ↵truebrain
with only values known in WindowFlags (and move out 2 timers to their own variable) -Codechange: rename Window::flags4 to Window::flags -Codechange: move some non-inline functions from .hpp to .cpp
2011-04-17(svn r22343) -Change: Remove pixel limiter for query strings.terkhen
2011-03-05(svn r22193) -Fix: Invalidate the object build window when using the date cheatplanetmaker
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2010-12-07(svn r21431) -Cleanup: remove the build-while-paused cheatrubidium
2010-12-04(svn r21388) -Feature [FS#4289]: Allow entering of the new year in a text ↵alberth
box when cheating the year.
2010-12-04(svn r21387) -Codechange: Add an enum for cheat numbers.alberth
2010-12-04(svn r21386) -Codechange: Use updated value to decide year to cheat to, ↵alberth
instead of increment/decrement.
2010-12-04(svn r21385) -Codechange: Added a missing 'this' prefix, and some ↵alberth
documentation to cheat gui code.
2010-11-26(svn r21331) -Codechange: Make drawing the widgets default behaviour in ↵alberth
OnPaint().
2010-11-13(svn r21157) -Codechange: remove information about the text direction out of ↵rubidium
the language "list"
2010-10-15(svn r20939) -Fix: some MSVC warningsrubidium
2010-10-04(svn r20897) -Codechange: Store the result of IsProductionAlterable() in a ↵frosch
member variable of IndustryViewWindow.
2010-08-22(svn r20591) -Codechange: make sure _date_fract is set when SetDate is ↵rubidium
called. Some places wouldn't reset _date_fract correctly at all
2010-08-01(svn r20281) -Codechange: unify case scope closure + break coding stylerubidium
2010-07-29(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).terkhen
2010-01-30(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a ↵frosch
parameter for OnClick().
2009-12-21(svn r18588) -Feature [FS#2943]: Add shading and unshading of windows.alberth
2009-11-28(svn r18322) -Codechange: remove the WDP duplication; no need to tell the ↵rubidium
same twice.
2009-11-28(svn r18311) -Codechange: no need to hardcode locations of some 'random' windowsrubidium
2009-11-24(svn r18277) -Codechange: remove unneeded widget indices for close, resize ↵rubidium
and sticky boxes and for window captions
2009-11-24(svn r18274) -Codechange: remove the unused WDF flagsrubidium