summaryrefslogtreecommitdiff
path: root/src/smallmap_gui.cpp
AgeCommit message (Collapse)Author
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
2007-04-04(svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. ↵belugas
The end of the preliminary work is near
2007-03-22(svn r9400) -Codechange: Use some more representative enum names for ↵belugas
landscape types.
2007-03-08(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the ↵rubidium
coding style (and rest of the code).
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-02-07(svn r8621) -Codechange: assigned new numbers to the VEH_(type) enum so that ↵bjarni
VEH_Train is 0, VEH_Road is 1 and so on This means that "v->type" can be used as array indexes instead of VehTypeToIndex() (or "v->type - VEH_Train/0x10 as the code still used in some places) Surprisingly this can be done without changing the savegame format
2007-02-01(svn r8511) -Codechange: make WindowClass an enumerated value.rubidium
2007-01-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)