Peter Nelson
|
2a8fa5fef9
|
Change: Split up Window::OnTick into OnGameTick and OnRealtimeTick. Adjust timers to work with milliseconds instead of ticks.
|
2019-01-11 11:56:21 +00:00 |
Alexander Weiss
|
e1a164b531
|
Change: [OSX] Setting mouse-wheel to scroll the map does not disable pinch to zoom
|
2018-05-24 21:31:37 +02:00 |
frosch
|
9aa33862a7
|
(svn r27571) -Codechange: Consistent naming for command callbacks which play a sound effect.
|
2016-05-22 10:07:48 +00:00 |
rubidium
|
0463dbdc9e
|
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
2014-04-23 20:13:33 +00:00 |
fonsinchen
|
4055397915
|
(svn r26338) -Fix [FS#5908]: Don't redraw the link graph overlay if it's empty (MJP)
|
2014-02-15 12:19:46 +00:00 |
frosch
|
5cb174c6b8
|
(svn r25412) -Codechange: Make use of Window::OnHotkey
|
2013-06-15 15:30:44 +00:00 |
frosch
|
1b8b1f3f6c
|
(svn r25410) -Codechange: Put all hotkeys of a window into a static HotkeyList member.
|
2013-06-15 15:28:09 +00:00 |
frosch
|
d9e9710cb3
|
(svn r25408) -Codechange: Simplify hotkeys by removing unused stuff.
|
2013-06-15 15:27:33 +00:00 |
frosch
|
8157a8afd8
|
(svn r25290) -Add: Assign string names to notable windows.
|
2013-05-26 19:25:01 +00:00 |
frosch
|
56e4a8c4d6
|
(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window after construction.
|
2013-05-26 19:23:42 +00:00 |
rubidium
|
ef7befdbd8
|
(svn r25264) -Feature: linkgraph overlay over main viewport (fonsinchen)
|
2013-05-19 14:49:25 +00:00 |
planetmaker
|
c24374f99c
|
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
|
2013-01-08 22:46:42 +00:00 |
frosch
|
3ce8d2ce70
|
(svn r24846) -Add: Advanced settings to disable certain sound effects.
|
2012-12-23 21:09:09 +00:00 |
alberth
|
732e073261
|
(svn r24776) -Doc: Typo fixes, additions, and additional dots collected from various sources (including Eagle_rainbow, MinchinWeb)
|
2012-12-01 13:12:39 +00:00 |
rubidium
|
927734e6ce
|
(svn r24065) -Feature-ish [FS#5101]: debug option for showing the redrawn dirty blocks/rectangles
|
2012-03-25 19:06:59 +00:00 |
truebrain
|
05af1d176b
|
(svn r23536) -Codechange: document and rename widgets to be consistent and understandable
|
2011-12-16 16:49:53 +00:00 |
truebrain
|
2aa774e831
|
(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
|
2011-12-15 22:22:55 +00:00 |
truebrain
|
df0afdf0dc
|
(svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, 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-12-15 19:54:23 +00:00 |
peter1138
|
4e97261315
|
(svn r23314) -Add: Add settings to restrict viewport zoom levels.
|
2011-11-24 12:20:14 +00:00 |
yexo
|
ad232bd497
|
(svn r22932) -Fix [FS#4766]: disable the white border on window creation for several windows (based on patch by monoid)
|
2011-09-15 13:26:27 +00:00 |
rubidium
|
421053a694
|
(svn r22788) -Codechange: move modal progress related functions and variables to progress.cpp/h
|
2011-08-21 12:48:46 +00:00 |
rubidium
|
37415b9cf7
|
(svn r22785) -Codechange: rename IsGeneratingWorld to HasModalProgress
|
2011-08-21 12:46:46 +00:00 |
planetmaker
|
3045c3fd2a
|
(svn r22675) -Change: Add a menu entry for the sprite bounding box debuging feature in the help menu and enable bounding boxes only in conjunction with the newgrf developer tools
|
2011-07-20 16:19:48 +00:00 |
rubidium
|
1a515e6344
|
(svn r22405) -Document: some more "random-ish" tidbits
|
2011-05-01 19:14:12 +00:00 |
rubidium
|
bc9a803ea9
|
(svn r22362) -Codechange: NetworkFindClientInfoFromClientID -> NetworkClientInfo::GetByClientID
|
2011-04-22 15:54:16 +00:00 |
terkhen
|
10caf391a1
|
(svn r22343) -Change: Remove pixel limiter for query strings.
|
2011-04-17 18:42:17 +00:00 |
frosch
|
ec9540a12a
|
(svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData().
|
2011-03-13 21:31:29 +00:00 |
frosch
|
19b7249ade
|
(svn r22135) -Fix [FS#4523]: When commands need to invalidate windows, process these events asynchronously before the next redraw. Calling window code directly from command scope uses wrong _current_company and might issue nested DoCommands() which interfer with the running command.
|
2011-02-23 20:54:55 +00:00 |
rubidium
|
5286de116b
|
(svn r22028) -Cleanup: remove traces of a debugging "feature" that got disabled a long time ago
|
2011-02-08 20:47:48 +00:00 |
rubidium
|
bc3ce1e53b
|
(svn r22018) -Cleanup: remove some (now) unneeded includes of functions.h
|
2011-02-07 22:37:22 +00:00 |
frosch
|
d82475cf88
|
(svn r21988) -Change: Disable smooth scrolling for GHK_CENTER_ZOOM when zooming is also involved.
|
2011-02-05 21:07:25 +00:00 |
frosch
|
9e1695aa1e
|
(svn r21977) -Codechange: Always cal Window::OnMouseWheel(), independent of viewport scroll/zoom settings.
|
2011-02-05 16:36:37 +00:00 |
rubidium
|
849772f0fd
|
(svn r21889) -Fix [FS#4434]: crash when scrolling outside of the main window (with some video backends)
|
2011-01-22 14:51:36 +00:00 |
terkhen
|
679cd3c21b
|
(svn r21803) -Cleanup: Remove unnecessary semicolons.
|
2011-01-15 15:36:58 +00:00 |
alberth
|
852e647bcc
|
(svn r21627) -Codechange: Remove _place_proc global variable.
|
2010-12-24 15:08:19 +00:00 |
planetmaker
|
9336dccee6
|
(svn r21459) -Feature(tte) [FS#3217]: Hotkey Ctrl+W for returning to the main menu
|
2010-12-10 23:38:26 +00:00 |
alberth
|
8f24ec9471
|
(svn r21018) -Doc: Add Doxygen comments to some function.
|
2010-10-23 18:28:20 +00:00 |
rubidium
|
6431055810
|
(svn r21000) -Feature[tte]: chat directly to the server or a bot/admin/irc channel monitoring the server (dihedral)
|
2010-10-20 07:30:15 +00:00 |
smatz
|
ee3d635eb8
|
(svn r20840) -Fix: make write to NULL pointer volatile so it's not optimised away
|
2010-09-24 13:45:02 +00:00 |
rubidium
|
1e0e4b8cb6
|
(svn r20618) -Fix [FS#4081]: drawing the "OpenTTD" text in the intro game caused crashes with very low resolutions
|
2010-08-25 19:02:51 +00:00 |
terkhen
|
2339b34021
|
(svn r20361) -Fix [FS#3989]: Stop vehicle following after zooming out.
|
2010-08-04 08:58:45 +00:00 |
rubidium
|
e356cb9405
|
(svn r20281) -Codechange: unify case scope closure + break coding style
|
2010-08-01 18:53:30 +00:00 |
alberth
|
be6c058424
|
(svn r20211) -Codechange: Indented code should have curly braces around it.
|
2010-07-24 10:14:39 +00:00 |
yexo
|
902cefaa41
|
(svn r20077) -Codechange: remove the space between "open" and "ttd" in the title screen
|
2010-07-04 12:49:51 +00:00 |
yexo
|
063909962a
|
(svn r20074) -Fix (r20065): highscore window should use the same hotkey for quit as the toolbar
|
2010-07-04 11:28:16 +00:00 |
yexo
|
70a35a94b5
|
(svn r20059) -Feature: customizable hotkeys for the main window (the global hotkeys)
|
2010-07-03 13:42:27 +00:00 |
rubidium
|
a2d6961ab3
|
(svn r19813) -Fix (r19807): initialising viewports kinda failed
|
2010-05-13 10:00:51 +00:00 |
rubidium
|
3118292b14
|
(svn r19807) -Codechange: instead of having an unnamed enum and passing it as an int, name the enum and pass that
|
2010-05-13 08:56:01 +00:00 |
smatz
|
0ef33548c2
|
(svn r19614) -Codechange: "it's" => "its" where appropriate
|
2010-04-12 14:12:47 +00:00 |
rubidium
|
82fc28f77f
|
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
|
2010-01-15 16:41:15 +00:00 |
rubidium
|
2b97f38cd1
|
(svn r18781) -Codechange: pass the CommandCost to the callback instead of whether it succeeded or not.
-Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
|
2010-01-11 18:46:09 +00:00 |
rubidium
|
0e78fdb54c
|
(svn r18486) -Fix: when switching language and you're getting a different font, recalculate the coordinates/sizes of the viewport signs. Otherwise it gets glitchy or abbreviated (in the smallmap)
|
2009-12-13 19:33:07 +00:00 |
rubidium
|
293dfd7c3e
|
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
|
2009-11-28 14:42:35 +00:00 |
rubidium
|
458c73aecb
|
(svn r18318) -Codechange: add an enum value for manual window placement
|
2009-11-28 13:54:28 +00:00 |
rubidium
|
5f2ddfbc5a
|
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
|
2009-11-17 19:16:48 +00:00 |
rubidium
|
3d2d7af88f
|
(svn r18086) -Codechange: remove 'widget' from WindowDesc
|
2009-11-15 10:26:01 +00:00 |
rubidium
|
e1f0d0476e
|
(svn r17953) -Fix: when you start giving money (input window for amount), then get moved to spectators and you click 'Ok' a crash would occur
|
2009-11-02 15:39:03 +00:00 |
rubidium
|
ca0521f89f
|
(svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone.
|
2009-10-24 14:53:55 +00:00 |
rubidium
|
d6cded5380
|
(svn r17693) -Cleanup: remove some unneeded includes
|
2009-10-04 17:16:41 +00:00 |
rubidium
|
0032405093
|
(svn r17673) -Codechange: make InvalidateThisWindowData a function of the window class
|
2009-09-30 21:00:35 +00:00 |
alberth
|
116c77c342
|
(svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array.
|
2009-09-19 11:31:12 +00:00 |
rubidium
|
7fbc33dae1
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
2009-08-21 20:21:05 +00:00 |
rubidium
|
1fe3ad3288
|
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
|
2009-08-05 17:59:21 +00:00 |
alberth
|
9734c0922c
|
(svn r17021) -Codechange: Use nested widgets for the main window.
|
2009-08-01 12:42:27 +00:00 |
rubidium
|
e067d4a4b8
|
(svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and UpdateAll[Type]VirtCoords.
|
2009-07-13 22:33:25 +00:00 |
smatz
|
6221d74644
|
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
|
2009-05-16 23:34:14 +00:00 |
rubidium
|
329cabab4f
|
(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing
|
2009-04-19 10:31:30 +00:00 |
smatz
|
af293142fe
|
(svn r15725) -Fix: centering on a vehicle didn't respect its z coordinate
|
2009-03-15 15:25:18 +00:00 |
rubidium
|
b25a4f8231
|
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
|
2009-03-15 00:32:18 +00:00 |
rubidium
|
9d018723b7
|
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
|
2009-03-14 18:16:29 +00:00 |
rubidium
|
c0a8d09ca7
|
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
|
2009-02-09 02:57:15 +00:00 |
rubidium
|
7da743a0dc
|
(svn r15336) -Fix: do not use _current_company in the GUI as there are no guarantees that _current_company is the same as _local_company.
|
2009-02-04 16:45:07 +00:00 |
smatz
|
0d3f5e6e74
|
(svn r15299) -Cleanup: remove many redundant includes
|
2009-01-31 20:16:06 +00:00 |
rubidium
|
cda853872a
|
(svn r14944) -Cleanup: add spaces around some operators
|
2009-01-09 22:56:28 +00:00 |
rubidium
|
a25e3f8d70
|
(svn r14764) -Codechange: make the '***' chat messages like "Game paused (not enough players)" fully translateable.
|
2008-12-29 10:37:53 +00:00 |
rubidium
|
87e5a8b52b
|
(svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter.
|
2008-12-28 14:37:19 +00:00 |
rubidium
|
9476a49763
|
(svn r14723) -Codechange: shuffling some stuff around to reduce indirect #include dependencies.
|
2008-12-23 11:06:52 +00:00 |
rubidium
|
f49cc67f83
|
(svn r14717) -Change: more 'Index' -> ClientID to not confuse ClientID and ClientIndex
|
2008-12-22 21:30:21 +00:00 |
rubidium
|
5b7cd460e9
|
(svn r14715) -Codechange: move some network code from the main gui file into one of the the network files.
|
2008-12-22 21:15:02 +00:00 |
rubidium
|
782b80eff7
|
(svn r14709) -Codechange: make a clearer distinction between 'unique' client identification ids and the indices into the clients/client info arrays.
|
2008-12-22 12:59:31 +00:00 |
rubidium
|
131f9e39d3
|
(svn r14633) -Fix: compile failure when building a debug build without network support.
|
2008-11-25 23:24:38 +00:00 |
rubidium
|
b650a86e58
|
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
|
2008-09-30 20:51:04 +00:00 |
rubidium
|
3b798599b6
|
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
|
2008-09-30 20:39:50 +00:00 |
smatz
|
606f4defdc
|
(svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString()
|
2008-09-15 16:29:40 +00:00 |
rubidium
|
c8e8911ef6
|
(svn r14223) -Codechange: make GetSprite aware of the 4 different types of sprites: fonts, recolour, mapgen and normal sprites.
|
2008-09-02 15:20:38 +00:00 |
rubidium
|
468655c916
|
(svn r14187) -Fix (r14104): silence warning when compiling without networking enabled.
|
2008-08-29 21:11:28 +00:00 |
belugas
|
77ee099212
|
(svn r14104) -Feature: Add a window for waypoints, allowing to view all the trains having the selected waypoint in their orders.
Changing its name is also supported from the same new window.
Gui based on work done by Satyap, on FS#2025.
|
2008-08-20 01:29:05 +00:00 |
rubidium
|
97c184f8f8
|
(svn r14063) -Codechange: replace some "magic" constants with enumified constants.
|
2008-08-13 06:05:01 +00:00 |
rubidium
|
d06529ef4d
|
(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
|
2008-07-17 20:13:01 +00:00 |
smatz
|
2299181c4b
|
(svn r13537) -Fix [FS#2090](r13523): QSortT won't work this way, use Dimension instead of uint16[2] for resolutions
|
2008-06-16 19:38:41 +00:00 |
rubidium
|
657bbf305e
|
(svn r13433) -Codechange: remove a now useless global variable.
-Fix: MP advertising was not advertising.
|
2008-06-09 12:17:01 +00:00 |
rubidium
|
2f3b88ef9a
|
(svn r13343) -Codechange: reorder/move variable/functions in the network headers so that nothing from the network directory needs to include basically all network headers.
|
2008-05-30 18:20:26 +00:00 |
rubidium
|
923e21129c
|
(svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
|
2008-05-29 15:13:28 +00:00 |
rubidium
|
4625695653
|
(svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
|
2008-05-25 19:17:03 +00:00 |
rubidium
|
6c20f77330
|
(svn r13228) -Codechange: split console.h.
|
2008-05-24 10:15:06 +00:00 |
rubidium
|
6da56ee87e
|
(svn r13169) -Codechange: remove a (now) unneeded parameter of one of the Window constructors.
|
2008-05-18 20:40:30 +00:00 |
rubidium
|
f5681547ef
|
(svn r13151) -Codechange: use an enum instead of bool as return type of OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean.
|
2008-05-17 23:11:06 +00:00 |
rubidium
|
8b54212900
|
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
|
2008-05-17 12:48:06 +00:00 |
rubidium
|
7491b792e2
|
(svn r13114) -Codechange: use InvalidateData instead of direct window access to modify the state of the statusbar from outside the statusbar.
|
2008-05-16 07:08:04 +00:00 |
rubidium
|
eeb6381690
|
(svn r13106) -Codechange: rework the toolbar code a little so functions do not have to return the Window they just created.
|
2008-05-15 19:00:20 +00:00 |