History | View | Annotate | Download (93.8 kB)
- Changed the hue change mechanic (store the info in the ScreenBuffer instead of a separate list) (refs #66)
- Fixed loading of hue presets- Fixed random pane sliding out of the main window
- Store used (random) hues for consistent behavior on commit (refs #66)
- Added saving and loading of hue presets (refs #66)
- Use the new GetHue method to draw hues (refs #66)
- Added optional highlight for (un)walkable tiles- Fixed lightmanager to draw in the correct color- Fixed TMapBlock and TStaticBlock to correctly initialize itself as "unchanged" - Cleanup in the server project
- Added option to set the render background to white (fixes #59)
- Removed sorting debug data from TfrmMain
- Changed TWorldItem and TWorldBlock Change-tracking- Reverted TStaticItem.UpdatePriorities- Fixed vdtTiles' HintCanvas to use the desired font when drawing- Fixed UpdateFilter to no longer call ForceUpdateCurrentTile- Several code cleanups
- Fixed gamewindow not resetting the clear-color
- Fixed static tiles with hue 1 using the wrong cache id- Commented some debug messages
- Fixed intensity of translucent tiles- Changed statics priority
- Added lightlevel slider
- Fixed lightsources to not draw in flat mode and when the lightlevel is 0- Fixed tile changes not causing a filter update- Cleanup the project file
- Fixed light source placement- Removed unnecessary texturemanager reference
- Added light loading- Use lights for the light sources
- Implemented basic light source rendering
- Removed custom tile info window- Updated VirtualTreeView- Added tile info as owner drawn hint to vdtTiles (fixes #55)
- Replaced array with generic list (TfrmMain.FAccessChangedListeners)
- Added selection listener to TfrmMain- Added "grab coordinates" using the new selection listener to TfrmLargeScaleCommand (fixes #54)
- Realigned TfrmLargeScaleCommand- Fixed overlay being drawn with correct color and alpha
- Fixed TfrmToolWindow.FormDeactivate to check CanClose first- Fixed TfrmDrawSettings and TfrmHueSettings to be shown non-modal (fixes #49)
- Added more nodraw.txt locations- Improved nodraw.txt parsing
- Added external nodraw definition
- Changed TfrmMain.BuildTileList to use all available static tiles- Added static tile id checking to the random preset loading
- Added saving of random presets when creating or overwriting one
- Several code cleanups- Fixed TArt.RefreshBuffer using the wrong variable (j <> i)- Suppressed some hints
- Fixed potential crash when using the Mouse Wheel
- Added XML storage for Random Presets
- Implemented saving and loading of locations to/from xml
- Fixed ref counting for the virtual layer (fixes #53)
- Added generic tiledata access to TTileDataProvider (to avoid cloning)- Fixed TfrmMain.BuildTileList to use that non-cloning tiledata access to remove a memory leak- Convert the filter text to ISO8859-1 first
- Added ref counting to TMaterial- Added cache growing to TCacheManager- Fixed ImagingOptions.inc to not include JPEG support- Fixed TfrmRadar to save the radar map to the correct location- Fixed statics using the wrong hue when being painted- Removed obsolete TLandTextureManager.GetFlatLandMaterial (and the according cache)
- Relect selection of the random tile list with the normal list list (fixes #51)
- Fixed locations backups being placed in the app dir instead of config dir
- Added option to toggle animated tiles- Added option to toggle the security question when performing area commands
- More adjustements to frmLogin- Added property storage to several frmMain options
- Added TAnimMaterial- Implemented animated tiles- Fixed TAnimData.FrameData to use ShortInt instead of Byte
- Abstracted TMaterial- Removed unnecessary width/height processing from TMaterial- Added TSimpleMaterial for one-graphic-textures
- Changed profile, preset, locations and radar cache path to the user directory (fixes #50)
- Added Keyboard movement to oglGameWindow (fixes #5)
- Added error handling when loading Locations and Profiles (fixes #2)
- Added flat-mode settings to toggle height display
- Updated Vampyre Imaging Lib- Added font rendering- Added height display in flat mode
- Enable double buffering for the tile info label
- Added translucent static tile support (fixes #46)- Fixed infinite recursion when updating ghost map tiles
- Fixed CurrentTile to be updated on changes (fixes #47)
- Fixed TfrmMain.OnStaticElevated to correctly handle off-screen updates
- Fixed static tiles to be added several times (due to ghost tile replication)- Added more debug info to UfrmMain
- Added Undo operation
- Changed several OpenGL calls with their integer-equivalents (we don't use floats anyway)- Added a "real quad" to the screenbuffer to keep track of the original terrain locations- Added OpenGL based hit test to TScreenBuffer.Find
- Fixed mouse-up handling when no SelectedTile is given
- (Re-)Added drawing of tiles (using the ghost tiles)- Fixed ghost tiles to be in edit-mode
- Fixed TfrmMain.SetCurrentTile to exit only under correct conditions- Fixed ghost tile creation to handle random height- Changed UpdateSelection to only process the selection changes if necessary- Changed TMapCell.GhostZ to be readable (necessary for simplier increase with random altitude)
- Fixed ghost tiles to use the proper priorities- Fixed mouse-up handling to correctly reset the selected tile- Moved ghost tile adding to the appropriate single- and multi-select blocks- Fixed AddGhostTile to use the correct tile (current <> selected) as base for certain assumptions
- Added static ghost tiles
- Added virtual getters for Z and TileID to TWorldItem- Added ghost information to TMap- Added ghost tiles (currently for map tiles only)
- Added more appropriate handling of the selection rectangle (no +1 and an own compare function)
- Fixed another case of off-screen updating- Removed old GhostTile handling
- Re-enabled lighting normals
- Some code cleanups in UfrmMain and ULandscape- Fixed GetPlainNormals in ULandscape to actually return a value
- Added TTileDataFlag enum- Added TTileDataFlags set- Changed TTiledata.Flags to use the TTileDataFlags set- Added hue highlighting to TfrmMain- Added TTextureManager.GetStaticMaterial to handle tiledata and hues
- Added generic lists for world items, static items and map items- Added appropriate compare functions- Some local cleanups
- Fixed TfrmLogin to create the profile path if it doesn't exist- Removed old code from TfrmMain.Render- Bumped version to 0.4.5- Moved TVirtualTile to UWorldItem- Added TVirtualTile handling to CompareWorldItems- Added priorities to the virtual tiles
- Updated to new VirtualTreeView (UTF8String --> String)
- Fixed drawing of TileName in the tile list (assuming ISO8859-1 encoding) - fixes #37
- Moved WriteMap handling from TdmNetwork to TLandscape- Added repainting when accesslevel display changes (toolstate, update write map)
- Fixed some events not correctly triggering a repaint
- Fixed TLandscape.FillDrawList to unnecessarily check upper/lower bounds
- Changed handling of CurrentTile and SelectedTile to avoid unnecessary invalidations
- Changed TVirtualTile to inherit directly from TWorldItem- Added FRepaintNeeded to minimize unnecessary repaints
- Reimplemented the Virtual Layer
- Added Logging unit and MultiLog dependency- Removed StaticsFilter parameter from FillDrawList
- Added UfrmToolWindow- Changed the tool windows to inherit from TfrmToolWindow- Added a "close timer" to TfrmToolWindow to handle different focus behaviours of window managers- Moved position changes for the tool windows to the appropriate TfrmToolWindow.FormShow event
- Added filter management to TfrmMain- Changed screen buffer state handling to enums
- Disabled use of normals (weren't really in use anyway)- Added updating of the last shortcut in TScreenBuffer
- Removed merge sort implementation- Use a temporary array and QuickSort (TList.Sort) to sort the initial drawlist- Clear the drawlist in the TLandscape.FillDrawList method
- Added TLandscape.OnMapChanged to handle changes to map tiles- Reenabled terrain, statics, nodraw and flat toggles- Fixed editing target list generation (in OnMouseUp) to only consider "normal" tiles, use their correct new order and the CanBeEdited attribute...
- Added handling for hue changes (OnStaticHued)
- Added fpdoc paths- Started some documenting- Added TScreenBuffer.UpdateSortOrder to handle elevations
- Added handling of new blocks (OnNewBlock event)
- Extracted TfrmMain.PrepareScreenBlock from RebuildScreenBuffer- Added events for OnStatic-Inserted, -Deleted and -Elevated
- Added iterator to TCacheManager- Added access (CanBeWritten) tracking to TStaticItem- Moved TLandscape.UpdateStaticsPriorities to TStaticItem.UpdatePriorities- Moved ULandscape.CompareWorldItems to UWorldItem- Renamed TSeperatedStaticBlock.RefreshList to RebuildList...
- Removed several unnecessary panels from frmMain (using Anchors instead)
- Added tracking of "Highlighted" state in the screen buffer
- Optimized blockInfo.ScreenRect calculation for static tiles- Fixed TScreenBuffer.Find to correctly handle the new buffer usage (search at the end, not the beginning)
- Changed terrain rendering from GL_TRIANGLES to GL_QUADS to fix coastlines and other overlapping (thanks Turley)
- Merged TTileList into TScreenBuffer- Added shortcuts to TScreenBuffer to speed up the InsertionSort- Renamed TScreenBuffer.Store to TScreenBuffer.Insert- Added TScreenBuffer.Add to append to the list- Added TScreenBuffer.Sort to sort the list using MergeSort...
- Removed TVector2D- Added screen buffer (in)validation- Moved distance calculations to RebuildScreenBuffer- Added tile drawing to the Render method- Added DrawQuad precalculation to the post processing of the screen buffer- Renamed the members of TScreenState...
- Added screen buffer pre processing (prepare materials and normals)- Added 2D Vector to store the points for drawing terrain- Added additional GetNormals function to TLandscape to fill an existing array
- Refined state handling for TBlockInfo- Added caching of normals into TBlockInfo- Added differentiation for low and high res materials to TBlockInfo- Removed draw list clearing from FillDrawList- Changed TScreenBuffer.Store to return a reference to the stored TBlockInfo...
- Cleanup in ULandscape.pas- Removed unncessary virtual and ghost tile handling from FillDrawList- Added serial generation and tracking to TScreenBuffer- Added editing state tracking to TScreenBuffer- Changed TScreenBuffer.Store to perform an InsertSort...
- Changed rendering to build the draw list for the whole range- Added CanBeEdited flag to TWorldItem- Changed list sorting from custom heap sort implementation to the FCL standard (QuickSort)
- Updated to a recent VirtualTrees revision- Updated README accordingly
- Fixed TfrmEditAccount.RegionDeleted to check, if the region is known (to prevent index out of bounds errors)- Fixed UfrmMain to be compatible with newer versions of FPC- Added a slider to frmRegionControl- Added buttons to add and delete regions to frmRegionControl...
- Fixed WheelDelta not being adjusted right
- Fixed VirtualLayer preparation for corner cases (where the size would have been too small)
- Merged changes from Turley (elevate with random altitude)- Rearranged the TfrmElevateSettings dialog- Fixed transparency settings of the images in the TfrmLogin dialog- Fixed TfrmRegionControl to not react on mouse clicks if no region is selected- Updated Vampyre Imaging Lib to recent SVN...