summaryrefslogtreecommitdiff
path: root/viewport.h
AgeCommit message (Collapse)Author
2006-11-07(svn r7095) -Codechange: Move MaxZoomIn function to viewport.h and change it ↵Darkvater
to MaxZoomInOut with a zoom parameter and a pointer to the window which's viewport we want to zoom.
2006-11-07(svn r7094) -Codechange: Get rid of the window-specific code in ↵Darkvater
DoZoomInOutWindow (enable, disable buttons depending on calling window, game-mode); handle it by broadcasting messages to the calling window, because that knows how and what buttons to set.
2006-11-07(svn r7093) -Codechange: Move DoZoomInOutWindow declaration to viewport.h ↵Darkvater
and rewrite the function a bit more sensibly.
2006-11-05(svn r7067) Remove the unused parameter params_3 from AddStringToDraw()tron
2006-10-10(svn r6721) -Codechange: some comments, aligning, types and variable ↵Darkvater
localization.
2006-08-22(svn r6045) -Cleanup: align all table-like structures using spaces, i.e. ↵rubidium
whitespace fixes only except for a few comments to make them uniform for the whole enum/struct.
2006-01-05(svn r3365) Staticise 36 functionstron
2005-07-24(svn r2701) Insert Id tags into all source filestron
2005-07-17(svn r2626) static, const, misc.tron
2005-06-29(svn r2496) -Fix: [1179933] When toggling build/remove via keyboard the ↵tron
selection wasn't correctly redrawn
2005-06-24(svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"tron
2005-05-27(svn r2369) Remove _thd_ptr: It always holds the address of _thdtron
2005-01-23(svn r1610) Remove trailing whitespace (last time ever, i hope)tron
2005-01-22(svn r1594) Convert all undefined parameter lists to (void) and add the ↵tron
appropriate warning flags in the Makefile
2005-01-19(svn r1571) Feature: Visually enhanced autorail placingdominik
When using the autorail tool, the rail pieces which are going to be build are highlighted. If a piece is shown in red, this indicates that the slope/rail combination is impossible. It does not tell you if the rail line construction might not be possible because of other obstacles, e.g. houses or water.
2005-01-03(svn r1354) Use WindowClass/WindowNumber to store/pass window class/number, ↵tron
not some arbitrary data types
2005-01-03(svn r1330) Increase size of some vars from int16 to int32 to guard against ↵tron
future overflows
2004-12-31(svn r1312) -Add: Patch which is on by default: population in label of the towntruelight
-Fix: Expand town is a bit more agressive -Fix: Fixed a bug in growing algorithm
2004-12-22(svn r1237) -Fix: Viewports crash when too many viewports are open. Their ↵darkvater
amount was not updated to reflect the updated windows amount (thx lefti)
2004-11-26(svn r828) Everyone welcome table/sprites.h in trunk - so far not in use ↵pasky
besides enum AnimCursors migrated from viewport.h and tiny fragment of enum Sprites migrated from ttd.h (we should slowly convert trunk to use the symbolic names instead of sprite numbers too to reduce the delta to map). Ported from the map branch, where the work was done by Darkvater, Celestar and Tron.
2004-11-15(svn r631) Merge r440, r444, r485, r630 to trunk:tron
r440 Move screenshot function declarations to new file screenshot.h Clean up screenshot.c a bit, mostly whitespace, alloca() -> malloc() and checking return values r485 Remove unused field from struct ScreenshotFormat
2004-09-10(svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!truelight
2004-09-03(svn r153) -Feature: [1009710] Extra Viewport. In the minimap dropdown menu, ↵darkvater
open a new viewport to have a quick look at your favorite map-positions. Independent zoom and quick jump to/from viewport (Dribbel)
2004-08-24(svn r134) -Fix: [976583] parent_list was too smalltruelight
-Fix: [981934] Memoryleak in parent_list -Add: General protection around Sprites
2004-08-15(svn r59) -Feature: Added Autosignals, just like Autorail. Can copy signal ↵darkvater
style, convert signal<->semaphore, etc. Big thanks to betatesters Dribbel and Testman57 (Darkvater)
2004-08-09(svn r1) Import of revision 975 of old (crashed) SVNtruelight