rubidium
|
e589c7e580
|
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
|
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 |
smatz
|
e543181b12
|
(svn r14334) -Feature: ability to reset name to default/automatic value (for vehicles, engines, towns, groups, stations, waypoints, managers and companies)
|
16 years ago |
smatz
|
ffa39caf3d
|
(svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString()
|
16 years ago |
rubidium
|
c816cc37fd
|
(svn r14063) -Codechange: replace some "magic" constants with enumified constants.
|
16 years ago |
belugas
|
7ef5369306
|
(svn r13919) -Codechange: Replace numbers with Colours enum on osk(forgot 2 assignations), statusbar, subsidy, terraform, timetable, toolbar, town, tree and vehicle guis.
|
16 years ago |
rubidium
|
cde65455ac
|
(svn r13731) -Codechange: make a pool of the array of players.
|
16 years ago |
rubidium
|
6898a76c5f
|
(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
|
16 years ago |
belugas
|
e9a1142e0d
|
(svn r13683) -Codechange: privatize a function that is not used outside of the class who calls it
|
16 years ago |
skidd13
|
96e898699c
|
(svn r13533) -Codechange: Replace direct class member access of GUIList with the appropriate function calls
|
17 years ago |
rubidium
|
e7a501100a
|
(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.
|
17 years ago |
rubidium
|
33e18c236d
|
(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.
|
17 years ago |
peter1138
|
6c7e6861f8
|
(svn r13297) -Codechange: Use GUIList for the town directory window
|
17 years ago |
rubidium
|
dc77647ea4
|
(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.
|
17 years ago |
smatz
|
8d51e95c44
|
(svn r13244) -Fix: allow only one town directory window to be opened
|
17 years ago |
belugas
|
08671d2e78
|
(svn r13226) -Feature: Allow to have more than only two airports per town. The number of airports is now controlled by the noise each of them generates, the distance from town's center and how tolerant the town is.
Initial concept : TTDPatch (moreairpots), Initial code : Pasky
Thanks to BigBB (help coding), Smatz Skidd13 and frosch for bugcatches and advices
|
17 years ago |
peter1138
|
cfc45e97ab
|
(svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() from lots
of windows causing 'two stage' opening effect.
|
17 years ago |
belugas
|
47f1263fd8
|
(svn r13210) -Codechange: make town (previously named t) a private member of the different Town guis and assign it only once, at creation
|
17 years ago |
belugas
|
165df7420b
|
(svn r13209) -Codechange: Privatize what should be private.
|
17 years ago |
rubidium
|
162e2e074b
|
(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.
|
17 years ago |
peter1138
|
b9cfaa6637
|
(svn r13180) -Codechange: make a window class of the TownDirectoryWindow.
|
17 years ago |
smatz
|
1d9ad55eda
|
(svn r13176) -Fix (r13153): town window was glitchy while opening
|
17 years ago |
rubidium
|
4268afe340
|
(svn r13153) -Codechange: make classes of the TownViewWindow and the ScenarioEditorTownGenerationWindow.
|
17 years ago |
rubidium
|
a89b5721a8
|
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
|
17 years ago |
rubidium
|
5b712cf81e
|
(svn r13113) -Codechange: make a class of the TownAuthorityWindow.
|
17 years ago |
rubidium
|
2c96ce4506
|
(svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL.
|
17 years ago |
rubidium
|
0f7d925121
|
(svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, rename WE_4 to something more descriptive and correct some (completely incorrect) comments.
|
17 years ago |
rubidium
|
92aac531c2
|
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
|
17 years ago |
rubidium
|
c28ce39e3c
|
(svn r12987) -Codechange: split viewport and tile selection.
|
17 years ago |
rubidium
|
9db77e3808
|
(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL.
|
17 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.
|
17 years ago |
peter1138
|
78c0929b18
|
(svn r12953) -Feature: Open a new viewport when ctrl-clicking on a 'Location' button, a town/station/industry list, or some news items.
|
17 years ago |
rubidium
|
51c7ba39a4
|
(svn r12789) -Codechange: rename AssignWindowViewport to InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth.
|
17 years ago |
rubidium
|
ca1f8fbe2e
|
(svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators.
|
17 years ago |
belugas
|
aedde3ab4a
|
(svn r12733) -Codechange: Merge two more Widgets arrays (town views ) into one.
|
17 years ago |
belugas
|
bf1d42c23d
|
(svn r12705) -Codechange: enumification of some more widgets
|
17 years ago |
belugas
|
7e601e6bd2
|
(svn r12704) -Codechange: code style cleanup, mostly switch case alignment
|
17 years ago |
rubidium
|
672087ecf6
|
(svn r12398) -Codechange [FS#1770]: Move toolbar related code to it's own little neighbourhood. Based on a patch by Dominik.
|
17 years ago |
maedhros
|
75719795c9
|
(svn r12391) -Feature: Show whether a town is a "city" in the town description title bar.
|
17 years ago |
belugas
|
738491992a
|
(svn r12159) -Codechange: Enumify some widget magical numbers
-Cleanup: apply a bit of code style. Mostly re-indenting switch cases
|
17 years ago |
peter1138
|
04da1e1d45
|
(svn r11915) -Codechange: Add a function to draw a sort button's up/down arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel.
|
17 years ago |
rubidium
|
9c0c798dd8
|
(svn r11834) -Codechange: only include settings_type.h if needed.
|
17 years ago |
rubidium
|
90acd52f22
|
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
|
17 years ago |
rubidium
|
2fc62eab05
|
(svn r11818) -Codechange: split player.h into smaller pieces.
|
17 years ago |
rubidium
|
64d691bacc
|
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
|
17 years ago |
rubidium
|
81bf9f8503
|
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
|
17 years ago |
rubidium
|
00c9d3ef20
|
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
|
17 years ago |
rubidium
|
1f6043458c
|
(svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type.
|
17 years ago |
rubidium
|
766551b0bc
|
(svn r11677) -Codechange: move price and command related types/functions to their respective places.
|
17 years ago |
rubidium
|
8427b8bad2
|
(svn r11675) -Codechange: split the string types from the string functions.
|
17 years ago |
rubidium
|
2cf7d5b2cb
|
(svn r11668) -Codechange: more refactoring aimed at reducing compile time and making it more logic where function definitions can be found.
|
17 years ago |
rubidium
|
8bfbfd0031
|
(svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
|
17 years ago |
rubidium
|
8ce9c5f29b
|
(svn r11643) -Codechange: conform with the coding style for the WP macro uses.
|
17 years ago |
glx
|
bfda3c82f1
|
(svn r11600) -Cleanup: remove extra out-of-memory checks, since it's now done in *allocT functions.
|
17 years ago |
skidd13
|
5d74f2ced4
|
(svn r11564) -Codechange: Increase the usage of the for_each_bit macro and rename it fitting to the naming style
|
17 years ago |
rubidium
|
92cb0e45ca
|
(svn r11555) -Codechange: use the new members introduced in r11551.
|
17 years ago |
skidd13
|
e184495fd4
|
(svn r11538) -Codechange: Rewrite GetNthSetBit in a more uncontroversial way and add its documentation
|
17 years ago |
skidd13
|
815b8d8df1
|
(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style
|
17 years ago |
skidd13
|
c0a2c0c23e
|
(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
|
17 years ago |
belugas
|
e2c0f1faf7
|
(svn r11374) -Codechange: Give meaning to the magical number that specifies the color of the text in a DrawString call.
Patch heavily based on BiBB's work (FS#1383)
|
17 years ago |
rubidium
|
7350b88bf2
|
(svn r11188) -Codechange: rewrite of the town action related code (remove some of the magic).
-Feature: possibility to disable exclusive rights and giving money. Both by skidd13.
|
17 years ago |
rubidium
|
032de036dd
|
(svn r10755) -Codechange: make the town struct use the pool item class as super class.
|
17 years ago |
rubidium
|
13ab17bca8
|
(svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size.
|
17 years ago |
peter1138
|
8ee9e8bf1e
|
(svn r10323) -Codechange: reference company name, number and player (president) name
by index
|
18 years ago |
truelight
|
ffd8662fce
|
(svn r10291) -Fix [FS#920]: double click in town-GUI didn't work as expected
|
18 years ago |
truelight
|
dc82eeb2ae
|
(svn r10265) -Feature: allow double-clicking on certain places: build-vehicle and town-action
|
18 years ago |
rubidium
|
d0fa4eb9de
|
(svn r10258) -Codechange: as we are now using int64 all over the place, it's better to use int64 variables in the string generating too instead of packing them into two int32s.
-Fix: some displays of money were wrong.
|
18 years ago |
rubidium
|
1b27095c83
|
(svn r10247) -Fix (r10210): *always* call SetDParamMoney when you want to place money in some string.
|
18 years ago |
rubidium
|
0d8e82b7d7
|
(svn r10246) -Fix (r10297): some forgotten money conversions and truncation issues. Thanks to benc for providing the patch.
|
18 years ago |
truelight
|
dc191785db
|
(svn r9844) -Codechange: replace zoomlevel with an enum
-Codechange: use predefined enums for viewport zoomlevels
|
18 years ago |
belugas
|
4c4f2a34ef
|
(svn r9558) -Documentation: doxygen and comment changes: 'T' now. Almost done
|
18 years ago |
rubidium
|
4169bfba06
|
(svn r9050) -Codechange: Foo(void) -> Foo()
|
18 years ago |
rubidium
|
2a9851a3ad
|
(svn r8511) -Codechange: make WindowClass an enumerated value.
|
18 years ago |
maedhros
|
cf06eae3bb
|
(svn r8300) -Codechange: Add a prototype for DrawPlayerIcon to players.h and include that
instead of using externs. Also move DrawPlayerIcon from graph_gui.cpp to
players.cpp.
|
18 years ago |
peter1138
|
ca9843424b
|
(svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit values.
This lets us increase the sprite width from 14 to up to 29 bits,
effectively nulling the old sprite limit. Table changes in next commit.
|
18 years ago |
KUDr
|
28e969924b
|
(svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the pointer to allocated memory instead of modifying the pointer given as parameter
|
18 years ago |
rubidium
|
a7d0cdf95f
|
(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
|
18 years ago |
KUDr
|
07c30785ab
|
(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp)
|
18 years ago |