summaryrefslogtreecommitdiff
path: root/src/smallmap_gui.cpp
AgeCommit message (Collapse)Author
2008-04-19(svn r12789) -Codechange: rename AssignWindowViewport to ↵rubidium
InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth.
2008-04-19(svn r12787) -Documentation: add/fix documentation of some functions. Patch ↵rubidium
by Alberth.
2008-04-17(svn r12745) -Codechange: a bit of naming conventions, introduce Is*DepotTile()smatz
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-09(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium
2007-12-29(svn r11719) -Codechange: split sound.h in a header with types and one with ↵rubidium
functions.
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-12-26(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split ↵rubidium
map.h).
2007-12-25(svn r11694) -Codechange: move more endianness related stuff to endian_func.hpp.rubidium
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-23(svn r11684) -Codechange: split gfx.h in a type and functional header.rubidium
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-21(svn r11675) -Codechange: split the string types from the string functions.rubidium
2007-12-19(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.hrubidium
2007-12-19(svn r11668) -Codechange: more refactoring aimed at reducing compile time ↵rubidium
and making it more logic where function definitions can be found.
2007-12-19(svn r11667) -Codechange: split window.h into a header that defines some ↵rubidium
'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
2007-12-16(svn r11649) -Codechange: some code can be simplified thanks to changes in ↵smatz
r11642
2007-12-16(svn r11644) -Codechange: merge some functions from tunnel_map.h and ↵smatz
bridge_map.h into tunnelbridge_map.h
2007-12-16(svn r11643) -Codechange: conform with the coding style for the WP macro uses.rubidium
2007-12-02(svn r11555) -Codechange: use the new members introduced in r11551.rubidium
2007-11-24(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them ↵skidd13
fitting to the naming style
2007-11-21(svn r11486) -Fix [FS#1457]: industry count was wrong in smallmapglx
2007-11-19(svn r11474) -Feature: Allow to resize on creation the smallmap gui in order ↵belugas
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(svn r11473) -Codechange: Replace two more instances of widget/smalltype ↵belugas
numbers by enum(-a) values
2007-11-19(svn r11472) -Codechange: Give enuma for both the widget numbers and the ↵belugas
used smallmap currently used type
2007-11-04(svn r11374) -Codechange: Give meaning to the magical number that specifies ↵belugas
the color of the text in a DrawString call. Patch heavily based on BiBB's work (FS#1383)
2007-08-29(svn r11000) -Fix r10121: when introducing the new blitter system, smallmap ↵truelight
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-07-29(svn r10733) -Codechange: change MP_STREET into MP_ROAD as we use the word ↵rubidium
"road" everywhere except in the tile type.
2007-07-29(svn r10732) -Codechange: lower the minimum size for the extra viewport window.rubidium
2007-07-27(svn r10708) -Codechange: allow automatic downsizing of the smallmap window ↵rubidium
in case of low resolutions; one could already make the window smaller, but the resize button was unreachable.
2007-07-27(svn r10704) -Codechange: provide an infrastructure to have resizable ↵rubidium
windows that are smaller than the default window size.
2007-07-23(svn r10665) -Codechange: replace magic 15 with MAX_TILE_HEIGHT (bilbo)truelight
-Codechange: replace magic 13 with MAX_SNOWLINE_HEIGHT (bilbo) -Codechange: assure _map_height_bits is always of correct size (Rubidium)
2007-07-16(svn r10587) -Codechange: move the string/dparam related stuff from ↵rubidium
variables.h to strings.h
2007-06-17(svn r10190) -Codechange: merged renderer and blitter to one single class ↵truelight
API: blitter -Codechange: introduced a hierachy of blitters to avoid a lot of code duplication Note: this allows much easier adding other types of video-drivers, like OpenGL
2007-06-12(svn r10121) -Codechange: split renderer from rest of code; no longer any ↵truelight
code directly accesses the video-buffer -Add: added NULL blitter and renderer, which are always used for -vnull -Add: dedicated driver doesn't blit nor render by default. Can be overruled by user. (-D -b 8bpp-optimized) -Remove: removed CTRL+D from win32, which is incompatible with above -Add: extended screenshot support for PNG and BMP -Codechange: remove all hardcoded 8bpp references and replace them with more dynamic ones -Codechange: minor stuff in blitters
2007-05-30(svn r9992) -Codechange: Remove some hardcoded references to Industry IDs.belugas
A few more to go
2007-05-30(svn r9983) -Codechange: Use the "enabled" property of the industry spec.belugas
2007-05-28(svn r9962) -Feature: Add smooth viewport scrolling. This must be enabled ↵peter1138
with patch setting 'smooth_scroll'
2007-05-15(svn r9846) -Codechange: introduced ZOOM_LVL_MIN and ZOOM_LVL_MAX for the ↵truelight
obvious reasons -Codechange: introduced ZOOM_LVL_DETAIL to show/remove details -Codechange: changed << and >> operator with ZoomLevel to a simple wrapper (that in theory also allows zoom-in besides the current zoom-out) -Fix r9845: missed some int -> ZoomLevel
2007-05-15(svn r9844) -Codechange: replace zoomlevel with an enumtruelight
-Codechange: use predefined enums for viewport zoomlevels
2007-04-26(svn r9721) -Codechange: -Codechange: Cleanup of industry_cmd (Step-12). ↵belugas
Dynamically build the legends (name and color) for industries in the smallmap_gui. All the tiny fonts industry names should be removed from language files soon.
2007-04-18(svn r9669) -Documentation: some more doxygen fixesbelugas
2007-04-18(svn r9666) -Fix (r9651): end of data / column flags were reversedpeter1138
2007-04-17(svn r9664) -Documentation: Doxygen corrections,errors and omissionsbelugas
2007-04-16(svn r9652) -Fix(r9651): "const" keyword forgotten. Spotted by glx.belugas
I guess i'm a bit eager to have a writable array for newindustries ;)
2007-04-16(svn r9651) -Codechange: make legend system of smallmap a little bit less ↵belugas
magic with the help of a struct and not an array of bytes
2007-04-12(svn r9609) -Codechange: Move some function prototypes out of functions.h ↵maedhros
and into landscape.h, and add a few where they didn't exist.
2007-04-09(svn r9578) -Codechange: Cleanup of industry_cmd (Step-10). Use industry's ↵belugas
spec map_colour for smallmap industry color code drawing