Commit Graph

121 Commits

Author SHA1 Message Date
rubidium
808a2b06e6 (svn r17379) -Codechange: make the performance rating window nested, although it still needs some improvements 2009-09-02 13:24:36 +00:00
rubidium
99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
alberth
2ed22179a8 (svn r17126) -Fix [FS#3096]: Initialize graph data from the constructor of the derived class. 2009-08-08 22:26:45 +00:00
rubidium
d61be2637e (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 2009-08-05 17:59:21 +00:00
belugas
00338562b9 (svn r17058) -Codechange: magic numbers removal.
Two values used intead of just one, as it gives more possibilities to those who dare...
2009-08-03 20:02:25 +00:00
rubidium
b8df1e048c (svn r17053) -Codechange: pass a Rect to DrawGraph so it knows where to draw 2009-08-03 15:23:49 +00:00
rubidium
ec467bf115 (svn r17052) -Codechange: move state changes out of OnPaint for the graph windows 2009-08-03 14:44:55 +00:00
rubidium
634019bb17 (svn r17051) -Codechange: make the graph legend window use nested widgets 2009-08-03 14:44:08 +00:00
rubidium
a6c4b37fc9 (svn r17041) -Fix [FS#3083] (r14735): graphical glitch with graph key 2009-08-02 16:45:53 +00:00
smatz
cb13cf2543 (svn r16852) -Codechange: use FOR_ALL_CARGOSPECS for iterating over all valid CargoSpecs 2009-07-16 20:40:06 +00:00
smatz
8718babe90 (svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get() 2009-07-16 19:00:13 +00:00
alberth
0dcb1a320d (svn r16837) -Codechange: Collect largest used index while constructing nested widget tree. 2009-07-15 22:17:08 +00:00
alberth
49e253d949 (svn r16488) -Codechange [FS#2941]: Use widget numbers of base grap window and cargo payment window in the window handling code (erikjanp) 2009-05-31 20:33:09 +00:00
smatz
512db5248e (svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get() 2009-05-18 16:21:28 +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
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
rubidium
650cb3694e (svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString. 2009-04-26 14:52:56 +00:00
rubidium
2eddffadbe (svn r16157) -Fix: wrong truncation of refit cost/graph x labels because they were multiline strings being drawn using DrawString instead of DrawStringMultiLine. 2009-04-26 10:48:30 +00:00
alberth
76852d8ff6 (svn r16141) -Codechange: Adding nested widgets to remaining graph windows. 2009-04-25 12:00:54 +00:00
alberth
0e7710f04d (svn r16139) -Codechange: Adding/completing widget number enums of several graph windows. 2009-04-25 10:06:22 +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
alberth
6fecc82c3d (svn r16003) -Codechange: Replaced magic widget number constant with enumerated value in graph legend window. 2009-04-09 11:42:24 +00:00
alberth
fad4eeb2d1 (svn r16002) -Codechange: Added nested widgets for company league window 2009-04-09 11:22:36 +00:00
alberth
f38419ac3c (svn r16001) -Codechange: Added nested widgets to cargo payment rates window 2009-04-09 09:41:10 +00:00
alberth
49cc3085e9 (svn r15952) -Codechange: Added nested widgets to operating profit, income, delivered cargo, and company value windows. 2009-04-04 09:03:28 +00:00
alberth
4e74ba63f9 (svn r15943) -Fix: Tooltip of detailed ratings window button showed wrong tip 2009-04-03 20:41:20 +00:00
rubidium
2e38d7c332 (svn r15812) -Codechange: use the new DrawString API in another set of GUIs 2009-03-22 14:39:20 +00:00
rubidium
2a422e3e95 (svn r15791) -Codechange: remove the *RightAligned part of the old text drawing API. 2009-03-21 22:22:00 +00:00
rubidium
89d614deea (svn r15790) -Codechange: remove the *Centered part of the old text drawing API. 2009-03-21 22:00:00 +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
rubidium
f3e0fd7416 (svn r15711) -Codechange: lots of whitespace cleanup/fixes 2009-03-14 18:16:29 +00:00
rubidium
31f3d5b6d5 (svn r15457) -Fix: typo in stringid. 2009-02-12 15:17:10 +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
66cb1fe1ff (svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness. 2009-02-09 01:06:23 +00:00
smatz
9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 2009-01-31 20:16:06 +00:00
rubidium
28ea38ae55 (svn r14949) -Cleanup: pointer coding style 2009-01-10 00:31:47 +00:00
rubidium
bf6ec8b19f (svn r14735) -Codechange: remove a bit of bit-waste in the map array (without changing the map array) and make the CompanyIDs contiguous.
-Note: 15 should be enough for now... making it any more means adding more bytes to the map array and thus wasting more bits instead of reducing the bit waste.
2008-12-24 09:53:15 +00:00
rubidium
e6ff168508 (svn r14732) -Codechange: replace some magic number with less magic constants and use the proper type for a few variables. 2008-12-23 21:03:43 +00:00
rubidium
e589c7e580 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 2008-09-30 20:51:04 +00:00
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. 2008-09-30 20:39:50 +00:00
rubidium
f5c8513f75 (svn r14219) -Fix (rthebeginning): 10 days != 6*2.5 days, effectively causing the payment graph to show the wrong data. 2008-09-02 08:25:15 +00:00
belugas
d27984b79c (svn r14011) -Codechange: not required to define an enum which was just the representation of another.
If you want to customize it more easily, why not a simple const of said enum value?
2008-08-07 01:28:27 +00:00
belugas
39c92f9068 (svn r13994) -Codechange: replace a few rogue magic numbers with Colours enum values 2008-08-04 17:27:06 +00:00
belugas
755c09a12a (svn r13883) -Codechange: Replace numbers with Colours enum on graph gui 2008-07-30 17:39:26 +00:00
belugas
cfd40cdd54 (svn r13882) -Codechange: Replace widget numbers with appropriate enums 2008-07-30 17:13:55 +00:00
rubidium
cde65455ac (svn r13731) -Codechange: make a pool of the array of players. 2008-07-18 16:40:29 +00:00
skidd13
477f22a6fd (svn r13521) -Codechange: Use GUIList sorting instead of poll & sort for CompanyLeagueWindow 2008-06-15 15:48:33 +00:00
peter1138
cfc45e97ab (svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() from lots
of windows causing 'two stage' opening effect.
2008-05-23 23:02:13 +00:00
rubidium
162e2e074b (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 2008-05-19 09:48:47 +00:00