Commit Graph

69 Commits (dbaad927d7a2cb57ddf46731b4c4d790f8c8964f)

Author SHA1 Message Date
frosch 336a93a9d8 (svn r24846) -Add: Advanced settings to disable certain sound effects. 12 years ago
planetmaker 7ef670b1fb (svn r23535) -Codechange: unify widget naming of transparency toolbar 13 years ago
truebrain 49e88dcbf0 (svn r23528) -Codechange: move widget enums to widgets/NNN_type.h 13 years ago
rubidium 87272273b5 (svn r22405) -Document: some more "random-ish" tidbits 13 years ago
frosch 4b4a40a72e (svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData(). 13 years ago
frosch eeeb70a82e (svn r22133) -Fix: some coding style. 14 years ago
rubidium 1f2276b785 (svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable. 14 years ago
alberth 137e2b64c9 (svn r20211) -Codechange: Indented code should have curly braces around it. 14 years ago
rubidium 3744fda3c1 (svn r20189) -Codechange: unVARDEF _display_opt and move it to a more logical location 14 years ago
frosch 94a5c917a5 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 15 years ago
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium 21f2acfd01 (svn r18324) -Codechange: there's no need for a default size when the window isn't resizable 15 years ago
rubidium 45eb0be570 (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 15 years ago
rubidium 0b31433eea (svn r18320) -Codechange: make the terraform and transparency window not use absolute location but manually calculate based on toolbar size etc. 15 years ago
rubidium ab417c6c06 (svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input 15 years ago
rubidium 50359b2d08 (svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions 15 years ago
rubidium f8b79068e6 (svn r18274) -Codechange: remove the unused WDF flags 15 years ago
alberth 18b33fde83 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 15 years ago
rubidium 8e11cd3a42 (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 15 years ago
peter1138 6053e90334 (svn r18107) -Codechange: Add spacer panel to end of transparency window, to fill space if title is too long. 15 years ago
rubidium b01251092e (svn r18086) -Codechange: remove 'widget' from WindowDesc 15 years ago
rubidium 982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
alberth d54028fde8 (svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array. 15 years ago
frosch 0e36260337 (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 15 years ago
rubidium d4a98be94a (svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium d61be2637e (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
alberth a1d236f3b8 (svn r16970) -Codechange: Transparency window uses nested widgets only. 15 years ago
alberth 1d180848d6 (svn r16969) -Codechange: Normalizing transparency gui widget numbers. 15 years ago
smatz 85043a1fb7 (svn r16373) -Codechange: use () instead of (void) for functions without parameters 15 years ago
rubidium 5c5b357043 (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 15 years ago
alberth 7025440aff (svn r16017) -Codechange: Added nested widgets to transparency settings window. 15 years ago
alberth 9aa6570faa (svn r16016) -Codechange: Moving the TransparencyToolbarWidgets outside the window class. 15 years ago
alberth 0a5f781ea6 (svn r16015) -Codechange: Completing the TransparencyToolbarWidgets enum. 15 years ago
rubidium 7f468dc142 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 15 years ago
smatz 9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 16 years ago
rubidium f56e630e5c (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 16 years ago
belugas 12218ae7d2 (svn r14419) -Codechange: adding two digits for no obvious reason (nor comment), plus code style Infringement. 16 years ago
peter1138 7672a90972 (svn r13890) -Codechange: Simplify drawing of invisibilty buttons in the transparency gui -- the real widgets above already have coordinates so there is no need to hardcode them again. As an added bonus the invisibility buttons now line up properly. 16 years ago
belugas 434493b660 (svn r13889) -Codechange: Replace numbers with Colours enum on transparency gui.
-Fix: "true" is not a color.  COLOUR_PALE_GREEN should look better, at least in the code ;)
16 years ago
rubidium 162e2e074b (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 16 years ago
rubidium a89b5721a8 (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. 16 years ago
rubidium a7db265bb6 (svn r13069) -Codechange: it is no longer needed to pass a void *data pointer with the WE_CREATE message because nothing uses it anymore. 16 years ago
belugas d283521782 (svn r13063) -Fix(13062): Removal of old handler was not followed by removal in descriptor 16 years ago
belugas 27b3767b79 (svn r13062) -Codechange: make a class of the TransparencyToolbar. 16 years ago
rubidium 92aac531c2 (svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window. 16 years ago
rubidium 9db77e3808 (svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL. 16 years ago
rubidium 1ce0b03bf0 (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 16 years ago
smatz fcf4a7067d (svn r12547) -Feature: invisibility options to make objects invisible instead of transparent 16 years ago
peter1138 5eb431661f (svn r12319) -Cleanup: Comment fixes (Roujin) 17 years ago