rubidium
8c9cc415e3
(svn r13255) -Codechange: move _opt to _settings.
2008-05-25 22:36:44 +00:00
frosch
6e7a7412cd
(svn r13233) -Fix: Replace some (incorrect) evaluations of TileOwner by RoadOwner.
...
-Fix: Before evaluating RoadOwner, check if the roadtype is present.
-Fix: Some places assumed that MP_ROAD means normal street.
2008-05-24 19:36:20 +00:00
rubidium
27c38052b7
(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.
2008-05-19 09:48:47 +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
dddfaaac7d
(svn r13069) -Codechange: it is no longer needed to pass a void *data pointer with the WE_CREATE message because nothing uses it anymore.
2008-05-13 14:43:33 +00:00
glx
cffb7a834c
(svn r13058) -Codechange: make a class of the ExtraViewportWindow.
2008-05-12 00:26:44 +00:00
glx
ad19bf105a
(svn r13055) -Codechange: make a class of SmallMapWindow.
2008-05-11 19:47:10 +00:00
glx
c708ab3b48
(svn r13047) -Codechange: remove vp_d
2008-05-11 15:08:44 +00:00
rubidium
935434333b
(svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the same thing.
2008-05-10 12:30:27 +00:00
rubidium
f438700402
(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.
2008-05-09 09:29:27 +00:00
rubidium
4a11ebe76f
(svn r13015) -Codechange: move some 'WP' structs out of window_gui.h to the .cpp files where they are actually used.
2008-05-08 14:14:16 +00:00
rubidium
23fc96c3e8
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
2008-05-08 11:50:34 +00:00
rubidium
402a1e24ba
(svn r12977) -Codechange: remove quite some redundant (duplicate) function declarations.
2008-05-06 22:17:12 +00:00
rubidium
9bf519f26b
(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL.
2008-05-06 22:08:18 +00:00
rubidium
d03994098b
(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.
2008-05-06 15:11:33 +00:00
peter1138
4595d2c3b1
(svn r12953) -Feature: Open a new viewport when ctrl-clicking on a 'Location' button, a town/station/industry list, or some news items.
2008-05-05 11:36:43 +00:00
rubidium
f55ffd14bd
(svn r12803) -Cleanup: rename SpecialVehicle to EffectVehicle to have a uniform naming of the thing instead of using both names for the same thing.
2008-04-20 10:13:54 +00:00
rubidium
24b5c91039
(svn r12789) -Codechange: rename AssignWindowViewport to InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth.
2008-04-19 13:17:19 +00:00
rubidium
c84fe27ca9
(svn r12787) -Documentation: add/fix documentation of some functions. Patch by Alberth.
2008-04-19 13:05:05 +00:00
smatz
9488db56d4
(svn r12745) -Codechange: a bit of naming conventions, introduce Is*DepotTile()
2008-04-17 00:44:20 +00:00
rubidium
dc87b05e8c
(svn r11834) -Codechange: only include settings_type.h if needed.
2008-01-13 14:37:30 +00:00
rubidium
d4e6a6bf57
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
2008-01-13 01:21:35 +00:00
rubidium
ac528411df
(svn r11818) -Codechange: split player.h into smaller pieces.
2008-01-12 14:10:35 +00:00
rubidium
0e517fe023
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
2008-01-09 09:45:45 +00:00
rubidium
e5e75bd8f8
(svn r11719) -Codechange: split sound.h in a header with types and one with functions.
2007-12-29 09:24:26 +00:00
rubidium
384503e7d3
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
2007-12-27 13:35:39 +00:00
rubidium
2786d789a1
(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h).
2007-12-26 11:45:43 +00:00
rubidium
b3f6c0734b
(svn r11694) -Codechange: move more endianness related stuff to endian_func.hpp.
2007-12-25 13:28:09 +00:00
rubidium
429521a7d1
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
2007-12-25 11:26:07 +00:00
rubidium
a773d45885
(svn r11684) -Codechange: split gfx.h in a type and functional header.
2007-12-23 10:56:02 +00:00
rubidium
8f0e68285b
(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.
2007-12-22 23:30:28 +00:00
rubidium
433a9f3c09
(svn r11675) -Codechange: split the string types from the string functions.
2007-12-21 19:49:27 +00:00
rubidium
5b49e75453
(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h
2007-12-19 23:26:02 +00:00
rubidium
d582aea639
(svn r11668) -Codechange: more refactoring aimed at reducing compile time and making it more logic where function definitions can be found.
2007-12-19 20:45:46 +00:00
rubidium
8896bea306
(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.
2007-12-19 19:44:29 +00:00
smatz
145517fb8e
(svn r11649) -Codechange: some code can be simplified thanks to changes in r11642
2007-12-16 19:30:42 +00:00
smatz
3cee0abdba
(svn r11644) -Codechange: merge some functions from tunnel_map.h and bridge_map.h into tunnelbridge_map.h
2007-12-16 15:38:51 +00:00
rubidium
ec90ce7e98
(svn r11643) -Codechange: conform with the coding style for the WP macro uses.
2007-12-16 10:54:08 +00:00
rubidium
527b72749d
(svn r11555) -Codechange: use the new members introduced in r11551.
2007-12-02 14:29:48 +00:00
skidd13
bf959f926f
(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style
2007-11-24 10:38:43 +00:00
glx
b168ae34be
(svn r11486) -Fix [FS#1457]: industry count was wrong in smallmap
2007-11-21 13:46:29 +00:00
belugas
006acff183
(svn r11474) -Feature: Allow to resize on creation the smallmap gui in order to show all the types industry available.
...
-Feature: Allow to enable/disable individually or all at once, the industries shown on small map.
This will permit to easily find those that are of some interest for the player.
Heavily based on gule's patch
2007-11-19 04:34:40 +00:00
belugas
fb0674ee2b
(svn r11473) -Codechange: Replace two more instances of widget/smalltype numbers by enum(-a) values
2007-11-19 01:16:53 +00:00
belugas
51bb4a9dc8
(svn r11472) -Codechange: Give enuma for both the widget numbers and the used smallmap currently used type
2007-11-19 00:57:56 +00:00
belugas
56e6282f2f
(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)
2007-11-04 00:08:57 +00:00
truelight
a28d33b5dc
(svn r11000) -Fix r10121: when introducing the new blitter system, smallmap regained an old bug: buffer-overflow when moving window to far bottom-right.
...
-Note: we no longer cheat on not drawing the last line in smallmap, this time we created a more elegant fix
2007-08-29 21:30:03 +00:00
rubidium
7fb3f54584
(svn r10733) -Codechange: change MP_STREET into MP_ROAD as we use the word "road" everywhere except in the tile type.
2007-07-29 23:42:59 +00:00
rubidium
d4666b51ee
(svn r10732) -Codechange: lower the minimum size for the extra viewport window.
2007-07-29 23:25:17 +00:00
rubidium
db0a4153a6
(svn r10708) -Codechange: allow automatic downsizing of the smallmap window in case of low resolutions; one could already make the window smaller, but the resize button was unreachable.
2007-07-27 22:10:21 +00:00
rubidium
c03cb2c8db
(svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size.
2007-07-27 12:49:04 +00:00