frosch
ebd916be3d
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
15 years ago
rubidium
472ed0dc76
(svn r17473) -Codechange: use the post destructor for destroying companies too instead of complicating the graph GUI invalidate code.
15 years ago
smatz
0bfea0646c
(svn r17420) -Codechange: replace assert() by assert_compile() where possible
15 years ago
rubidium
dcf3719ca1
(svn r17404) -Change (r17379): silence gcc warning caused by inlining of a virtual function
15 years ago
rubidium
b294497f2a
(svn r17400) -Fix [FS#3172] (r17380): total line of performance rating was calculated wrong
15 years ago
rubidium
d8b782365b
(svn r17380) -Codechange: move drawing the performance detail data to DrawWidget
15 years ago
rubidium
efff517449
(svn r17379) -Codechange: make the performance rating window nested, although it still needs some improvements
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
alberth
153cfa8c70
(svn r17126) -Fix [FS#3096]: Initialize graph data from the constructor of the derived class.
15 years ago
rubidium
1fe3ad3288
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
15 years ago
belugas
a2b996106e
(svn r17058) -Codechange: magic numbers removal.
...
Two values used intead of just one, as it gives more possibilities to those who dare...
15 years ago
rubidium
b6cfe4d2fe
(svn r17053) -Codechange: pass a Rect to DrawGraph so it knows where to draw
15 years ago
rubidium
37d4277271
(svn r17052) -Codechange: move state changes out of OnPaint for the graph windows
15 years ago
rubidium
8589fb27a0
(svn r17051) -Codechange: make the graph legend window use nested widgets
15 years ago
rubidium
2675eb4619
(svn r17041) -Fix [FS#3083] (r14735): graphical glitch with graph key
15 years ago
smatz
77d13eae61
(svn r16852) -Codechange: use FOR_ALL_CARGOSPECS for iterating over all valid CargoSpecs
15 years ago
smatz
1f29e38b83
(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()
15 years ago
alberth
92206f2d18
(svn r16837) -Codechange: Collect largest used index while constructing nested widget tree.
15 years ago
alberth
743f12fad0
(svn r16488) -Codechange [FS#2941]: Use widget numbers of base grap window and cargo payment window in the window handling code (erikjanp)
16 years ago
smatz
8808f3beea
(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get()
16 years ago
smatz
871107f529
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
16 years ago
smatz
6221d74644
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
16 years ago
rubidium
2664f2a2d9
(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
16 years ago
rubidium
53887e07bb
(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString.
16 years ago
rubidium
ce171535d1
(svn r16157) -Fix: wrong truncation of refit cost/graph x labels because they were multiline strings being drawn using DrawString instead of DrawStringMultiLine.
16 years ago
alberth
76ccb85660
(svn r16141) -Codechange: Adding nested widgets to remaining graph windows.
16 years ago
alberth
c6d5923d22
(svn r16139) -Codechange: Adding/completing widget number enums of several graph windows.
16 years ago
rubidium
59d45a04d6
(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.
16 years ago
alberth
b5da02ac1c
(svn r16003) -Codechange: Replaced magic widget number constant with enumerated value in graph legend window.
16 years ago
alberth
11f406c0a4
(svn r16002) -Codechange: Added nested widgets for company league window
16 years ago
alberth
4af791e888
(svn r16001) -Codechange: Added nested widgets to cargo payment rates window
16 years ago
alberth
bdf05e797d
(svn r15952) -Codechange: Added nested widgets to operating profit, income, delivered cargo, and company value windows.
16 years ago
alberth
ccd2468eb2
(svn r15943) -Fix: Tooltip of detailed ratings window button showed wrong tip
16 years ago
rubidium
9038733f1a
(svn r15812) -Codechange: use the new DrawString API in another set of GUIs
16 years ago
rubidium
69decac406
(svn r15791) -Codechange: remove the *RightAligned part of the old text drawing API.
16 years ago
rubidium
9003641095
(svn r15790) -Codechange: remove the *Centered part of the old text drawing API.
16 years ago
rubidium
f9def73be6
(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
16 years ago
rubidium
9d018723b7
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
16 years ago
rubidium
9fb19be134
(svn r15457) -Fix: typo in stringid.
16 years ago
rubidium
c0a8d09ca7
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
16 years ago
rubidium
9907742a0f
(svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness.
16 years ago
smatz
0d3f5e6e74
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
rubidium
11da45ee55
(svn r14949) -Cleanup: pointer coding style
16 years ago
rubidium
d1bb5e5f36
(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.
16 years ago
rubidium
c3746a55bb
(svn r14732) -Codechange: replace some magic number with less magic constants and use the proper type for a few variables.
16 years ago
rubidium
b650a86e58
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
16 years ago
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.
16 years ago
rubidium
fd97a89c57
(svn r14219) -Fix (rthebeginning): 10 days != 6*2.5 days, effectively causing the payment graph to show the wrong data.
16 years ago
belugas
8c7a450e98
(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?
16 years ago
belugas
5c3a18fa90
(svn r13994) -Codechange: replace a few rogue magic numbers with Colours enum values
16 years ago