History | View | Annotate | Download (47.6 kB)
- Changed the hue change mechanic (store the info in the ScreenBuffer instead of a separate list) (refs #66)
- Fixed some range violations
- 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
- Fixed static tiles with hue 1 using the wrong cache id- Commented some debug messages
- Added FBO based light source rendering- Fixed memory leak in TLightManager.UpdateLightMap
- Added more nodraw.txt locations- Improved nodraw.txt parsing
- Fixed TNormals to use GLfloat
- Replaced own UVector with unit matrix from the RTL
- Added external nodraw definition
- Changed TAnimDataProvider to load as much animdata as the input files provides- Added TBufferedStream.GetSize- Added TIndexedMulProvider.EntryCount- Added TAnimDataProvider.AnimCount- Added TLandscape.MaxStaticID- Some more code cleanups
- Several code cleanups- Fixed TArt.RefreshBuffer using the wrong variable (j <> i)- Suppressed some hints
- 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)
- Added option to toggle animated tiles- Added option to toggle the security question when performing area commands
- Fixed TAnimMaterial to cache the textures- Fixed texture size calculation in TMaterial
- Fixed tiles only being checked for animdata if they have the appropriate tiledata flag
- 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
- Made ULandscape.GetID inline- Removed some constraints on TileIDs and map coordinates- Removed another unnecessary typecast
- Generalized TCacheManager (for more type-safety and cleaner code)
- Updated Vampyre Imaging Lib- Added font rendering- Added height display in flat mode
- Added translucent static tile support (fixes #46)- Fixed infinite recursion when updating ghost map tiles
- 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 UpdateSortOrder to handle off-screen updates correctly
- 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
- Moved WriteMap handling from TdmNetwork to TLandscape- Added repainting when accesslevel display changes (toolstate, update write map)
- Changed TLandscape.FOpenRequests to use TBits instead of a boolean array
- Fixed TLandscape.FillDrawList to unnecessarily check upper/lower bounds
- Reimplemented the Virtual Layer
- Added Logging unit and MultiLog dependency- Removed StaticsFilter parameter from FillDrawList
- 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 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
- Replaced usages of UListSort with TList.Sort- Removed now obsolete UListSort.pas- Removed GameResourceManager dependency from TStatics- Moved TSeperatedStaticBlock to the according ULandscape units- Cleanup some unnecessary <> nil checks
- 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...
- 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)
- Fix Z-order calculation for terrain tiles (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)
- 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...
- Fixed "UTiledata" spelling in ULandscape.pas- Added ISerializable and IInvalidate interfaces- Implemented a TConfig class and XML storage- Added some more detailed messages when a login fails to the server console- Removed obsolete IStream interface references...
- Initial import from internal repository