Commit Graph

274 Commits (9aaad3fa6079301b1b45928284a7571b96f1ff5b)

Author SHA1 Message Date
michi_cc 44918010df (svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing conversions in initializer lists. 9 years ago
frosch 4a6036208a (svn r27277) -Codechange: Make _displayed_industries a std::bitset. 9 years ago
frosch d35670aa2a (svn r27160) -Fix: Division of signed values by TILE_SIZE requires cast to stay signed. 9 years ago
frosch 7dee16a9b9 (svn r27159) -Codechange: Simplify mapping from smallmap to viewport coordinates by duplicating less code. 9 years ago
frosch 79380a566e (svn r27158) -Codechange: Simplify mapping from viewport to smallmap coordinates by duplicating less code. 9 years ago
rubidium 1149f7be46 (svn r27036) -Fix [FS#6148] (r26928): crash when changing smallmap colour when the smallmap window has not been opened yet 10 years ago
rubidium 367150ba34 (svn r26929) -Change: accounts for maximum height when filling the height legend of the smallmap 10 years ago
rubidium 4b8d6ee319 (svn r26928) -Change: scale the heightmap colours over the whole range of heights (based on patch by ic111) 10 years ago
rubidium ae406cf52e (svn r26927) -Codechange: split the heightmap colour tables into their own file in the table folder 10 years ago
rubidium 11e9afdf5e (svn r26904) -Fix: account for the height level for showing the seen area in the viewport (ic111) 10 years ago
peter1138 657c108d32 (svn r26858) -Codechange: Rearrange smallmap filter and settings expand/collapse buttons to fix frame borders and allow buttons to fit height of resize button. 10 years ago
rubidium 2be4215f43 (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 10 years ago
fonsinchen ced1bfa60f (svn r26266) -Fix [FS#5860]: Update smallmap overlay if player joins different company and make sure company masks are valid 11 years ago
fonsinchen b4a889fcb4 (svn r26265) -Fix: Don't rebuild the link graph overlay cache twice in a row 11 years ago
fonsinchen 6becaddec2 (svn r26228) -Fix: missing variable initialization 11 years ago
rubidium 4a911754b5 (svn r26209) -Codechange: remove some template magic and simplify some code 11 years ago
rubidium 519cb3e103 (svn r26121) -Codechange: add some asserts after dynamic casts to show they shouldn't return NULL ever 11 years ago
rubidium e4b208c069 (svn r26061) -Fix: negative result of ftell wasn't handled correctly in some cases 11 years ago
frosch 0d5ab589fe (svn r25916) -Add: GUI sprite for the smallmap cargoflow button. (frosch, planetmaker, V453000) 11 years ago
rubidium 2b2706009e (svn r25312) -Fix-ish: missing spaces after comma + realignment of tables; quite boring with -x -w 11 years ago
frosch 13badddd75 (svn r25294) -Feature: Add another button to window title bars to resize the window to its default size. 11 years ago
frosch 16feb5c4e9 (svn r25290) -Add: Assign string names to notable windows. 11 years ago
frosch 25adefca23 (svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window after construction. 11 years ago
rubidium 2a6d21dc80 (svn r25262) -Feature: linkgraph overlay for smallmap 11 years ago
rubidium 5d6c2aac38 (svn r25020) -Codechange: refactor SmallMapWindow to make adding map types easier and unduplicate some code (fonsinchen) 12 years ago
rubidium 7fe2af5fd3 (svn r25019) -Fix: GCC doesn't seem to care if one does Class::Class::Function (thinks it is a function), whereas MSVC thinks it is the constructor 12 years ago
rubidium b5a8bfa4b9 (svn r25018) -Codechange: Move SmallMapWindow declaration to header (fonsinchen) 12 years ago
rubidium bb9753924d (svn r24958) -Fix [FS#5458]: refering to non-existent method 12 years ago
planetmaker f00d9976f9 (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
frosch 336a93a9d8 (svn r24846) -Add: Advanced settings to disable certain sound effects. 12 years ago
frosch 3b06409153 (svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default. 12 years ago
frosch e83a41e9b5 (svn r24534) -Feature: Highlight industries on the smallmap when the mouse is over an entry in the legend. 12 years ago
frosch 942b40970f (svn r24533) -Codechange: Move position determination on minimap legend to separate function. 12 years ago
rubidium 76d5833650 (svn r24179) -Codechange: move some variables of Town to TownCache 12 years ago
alberth 06597e684c (svn r23704) -Doc: Doxygen comment fixes and additions. 13 years ago
truebrain aa1a0053b0 (svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC) 13 years ago
truebrain feddd40bcc (svn r23546) -Codechange: document and rename widgets to be consistent and understandable 13 years ago
truebrain 49e88dcbf0 (svn r23528) -Codechange: move widget enums to widgets/NNN_type.h 13 years ago
peter1138 b84174fd4d (svn r23316) -Feature: Add ability to zoom in to 2x and 4x level. 13 years ago
frosch 856db2751a (svn r23049) -Fix [FS#4810]: Use the same forest-check for the vegetation-map colour as for nearby station names. 13 years ago
frosch 43f7d6c0b7 (svn r22433) -Add/Fix: Add constants for the palette colours used in the smallmap and fix some windows palette indices. 13 years ago
frosch a36ccb0e07 (svn r22432) -Codechange: Simplify smallmap colour constants using some more specialised macros. 13 years ago
frosch 7b251297c9 (svn r22429) -Add: some constants for specific palette colours used in the GUI. 13 years ago
michi_cc b339fdae41 (svn r22428) -Codechange: Reduce code duplication in the smallmap legend. 13 years ago
frosch 7cc3d3e143 (svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices. 13 years ago
rubidium 6e9122828e (svn r22406) -Document: some more "random-ish" tidbits 13 years ago
frosch 4b4a40a72e (svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData(). 13 years ago
terkhen c407dda851 (svn r22127) -Fix: Canals would get drawn as land in the smallmap when using the owner window. 14 years ago
frosch 291ef7e082 (svn r21977) -Codechange: Always cal Window::OnMouseWheel(), independent of viewport scroll/zoom settings. 14 years ago
terkhen 1f75b91654 (svn r21830) -Fix: Deunionize a union which was not initialized correctly. 14 years ago