frosch
523cde0798
(svn r16678) -Codechange: Turn CargoArray into a class, so one does not have to deal with sizeof() wrt. typedef-ed arrays.
2009-06-27 21:06:58 +00:00
alberth
c52fe937d5
(svn r16677) -Codechange: Dimension width and height are unsigned.
2009-06-27 20:53:45 +00:00
frosch
4c3f480f92
(svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its instances to more meaningful names.
2009-06-27 18:26:50 +00:00
smatz
5d301445a2
(svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() and change its behaviour accordingly
...
-Codechange: remove dummy GetAcceptedCargo_*() handlers
2009-06-25 19:23:09 +00:00
alberth
cbf2d24ebb
(svn r16516) -Codechange: Added click and drag handling for nested widgets.
2009-06-04 14:07:05 +00:00
alberth
dd43a1b97f
(svn r16489) -Fix [FS#2937] (r16258): Do not resize a widget twice (erikjanp)
2009-05-31 20:52:35 +00:00
alberth
feaaf78a63
(svn r16463) -Cleanup: Code style fixes.
2009-05-30 11:01:05 +00:00
frosch
6e06e82bc4
(svn r16414) -Change: Make it harder to ignore/close important error messages. Esp. do not close them automatically after some time.
2009-05-24 12:50:58 +00:00
smatz
50624d5c0f
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
2009-05-22 15:13:50 +00:00
smatz
53ae829b0b
(svn r16359) -Codechange: don't abuse company 0 when determining 'cost to clear land' in the LandInfoWindow
2009-05-19 19:26:03 +00:00
smatz
0c10daa243
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
2009-05-17 01:00:56 +00:00
smatz
d495dc5dbc
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
2009-05-16 23:34:14 +00:00
alberth
20dab97717
(svn r16259) -Codechange: Added nested widgets to the load and save dialogue windows.
2009-05-09 13:03:45 +00:00
alberth
904e5dc1d3
(svn r16258) -Codechange: Remove panel with negative height and some small adjustments in the load/save dialogue windows.
2009-05-09 12:56:55 +00:00
alberth
92f7cc590d
(svn r16257) -Codechange: Added empty widgets in load dialogue to move the resize box to the right place in the array.
2009-05-09 12:49:28 +00:00
alberth
ba0cf5ae1b
(svn r16256) -Codechange: Moved load/save dialogue widget numbers outside the window struct.
2009-05-09 12:44:12 +00:00
rubidium
241af768f0
(svn r16242) -Codechange: rework pausing
...
-Fix [FS#2864]: autopause and manual pausing conflict with eachother
-Fix: new game + pause on new game + autopause make the game not unpause on the first join
2009-05-06 15:06:57 +00:00
alberth
a3abbfc204
(svn r16227) -Codechange: Added nested widgets for error windows, tooltip window, and dropdown window.
2009-05-04 18:42:49 +00:00
rubidium
f5335b6aaa
(svn r16183) -Fix [FS#2872]: wrong string alignment for error messages with face
2009-04-29 10:11:46 +00:00
rubidium
4a0301cf29
(svn r16182) -Fix: hardcoded (old sized) MAX_COMPANIES constant
2009-04-29 10:00:58 +00:00
rubidium
650cb3694e
(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString.
2009-04-26 14:52:56 +00:00
rubidium
dd2661bbbd
(svn r16156) -Codechange: make the parameters of DrawStringMultiline the same as for DrawString (except the addition of the bottom parameter)
2009-04-26 10:45:07 +00:00
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.
2009-04-21 23:40:56 +00:00
rubidium
e88cb7f70f
(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing
2009-04-19 10:31:30 +00:00
alberth
4f5bd05db6
(svn r16033) -Codechange: Added nested widgets to about window, land-info window, and both query windows.
2009-04-11 19:14:34 +00:00
alberth
730c6b4e6c
(svn r16032) -Codechange: Completing widget numbers of query windows.
2009-04-11 18:38:10 +00:00
rubidium
11e2ca71e6
(svn r16024) -Codechange: harden string copying on places where it's possible
2009-04-10 20:37:05 +00:00
glx
13b6aaa425
(svn r15907) -Fix (r15841): some strings in save/load dialog were drawn with a 2 pixel offset
2009-03-31 22:55:38 +00:00
alberth
bbd546b792
(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback
2009-03-29 09:49:11 +00:00
rubidium
bce8a0a4fe
(svn r15843) -Codechange: with RTL the caret would always be drawn at the end of the textbox.
2009-03-25 00:28:57 +00:00
rubidium
cfae23076d
(svn r15841) -Fix: the saveload window could draw directory partly outside the window
2009-03-25 00:16:28 +00:00
rubidium
12f1abbce0
(svn r15808) -Codechange: use the new DrawString API in a number of GUIs
2009-03-22 12:01:21 +00:00
rubidium
31a5457c03
(svn r15803) -Codechange: use the new text drawing API for multicenter
...
-Fix (r15800): off-by-one w.r.t. offsets
2009-03-22 09:34:06 +00:00
peter1138
82a535085d
(svn r15801) -Fix (r15797): The new DrawStringMultiLine() now returns the new y position instead of the height, so we don't need to add it on.
2009-03-22 08:10:20 +00:00
rubidium
dcd5ad8b19
(svn r15797) -Codechange: make users of the old DrawStringMultiLine use the new one.
2009-03-21 23:45:34 +00:00
rubidium
a1088869f5
(svn r15794) -Codechange: remove the DoDrawString part of the old text drawing API
2009-03-21 22:46:17 +00:00
rubidium
fa6e82adfa
(svn r15787) -Codechange: enumify the land info and about window widgets and use them.
2009-03-21 20:40:02 +00:00
rubidium
c1aabd9842
(svn r15785) -Codechange: remove the *Truncated part of the old text drawing API.
2009-03-21 20:12:12 +00:00
glx
6d9b2ac76a
(svn r15762) -Codechange: inlined utf8 chars are not handled properly on eastern version of windows so escape them
2009-03-18 17:55:47 +00:00
yexo
6c6e1cccb1
(svn r15753) -Fix (r15702)[FS#2742]: Crash when clicking the small area between the savegame list and the save button in the save game window.
2009-03-17 17:17:52 +00:00
rubidium
7f468dc142
(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
2009-03-15 15:12:06 +00:00
yexo
af5c6f7996
(svn r15719) -Update: the credit section.
2009-03-15 00:32:36 +00:00
rubidium
0bb1fd18ad
(svn r15702) -Feature(tte): direct content download 'links' in the play scenario/heightmap windows.
2009-03-13 21:32:38 +00:00
yexo
fbe159ab9e
(svn r15669) -Change: Key presses that are not handles by an input box are no longer marked as handled but given to other OnKeyPress handlers. This makes the global shortcuts like F1 work again when an input box is open.
2009-03-11 09:21:11 +00:00
rubidium
9e3449ecc9
(svn r15605) -Codechange: constify a function
2009-03-04 00:13:52 +00:00
yexo
b8601d903d
(svn r15584) -Codechange: Move several variables from variables.h to more appropriate headers.
2009-02-25 21:45:14 +00:00
rubidium
a9dd6dc2f5
(svn r15578) -Change: unexternalise squirrel.
2009-02-25 01:21:50 +00:00
rubidium
5c8cf85613
(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.
2009-02-09 21:20:05 +00:00
rubidium
89e1afdaa0
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
2009-02-09 02:57:15 +00:00
rubidium
5080feba0d
(svn r15424) -Codechange: make it possible to have multiple windows with edit box open simultaniously (Zuu).
2009-02-09 01:22:29 +00:00