Statistics
| Branch: | Tag: | Revision:

root / Client / ULandscape.pas

History | View | Annotate | Download (47.6 kB)

# Date Author Comment
188:66aadc95a501 01/14/2012 06:09 pm Andreas Schneider
  • Fixed possible range overflow
180:ebc35894cc36 03/30/2011 08:52 pm Andreas Schneider

- Changed the hue change mechanic (store the info in the ScreenBuffer instead of a separate list) (refs #66)

178:3620eeff6285 03/29/2011 10:04 pm Andreas Schneider

- Fixed some range violations

157:0b95089e72d4 12/24/2009 03:49 pm Andreas Schneider

- 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

148:6fc9762bbde0 12/22/2009 07:47 pm Andreas Schneider

- Fixed static tiles with hue 1 using the wrong cache id
- Commented some debug messages

143:03e4400292e6 12/22/2009 09:36 am Andreas Schneider

- Added FBO based light source rendering
- Fixed memory leak in TLightManager.UpdateLightMap

127:5ca42ac426e9 12/18/2009 02:24 pm Andreas Schneider

- Added more nodraw.txt locations
- Improved nodraw.txt parsing

126:eba1d80632bc 12/18/2009 01:57 pm Andreas Schneider

- Fixed TNormals to use GLfloat

125:c312991aba57 12/18/2009 02:35 am Andreas Schneider

- Replaced own UVector with unit matrix from the RTL

124:08be0a8f2dcb 12/18/2009 01:53 am Andreas Schneider

- Added external nodraw definition

122:a3734600a47b 12/18/2009 12:17 am Andreas Schneider

- 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

119:66352054ce4d 12/17/2009 03:41 pm Andreas Schneider

- Several code cleanups
- Fixed TArt.RefreshBuffer using the wrong variable (j <> i)
- Suppressed some hints

109:2910a467593b 12/10/2009 09:40 pm Andreas Schneider

- 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)

106:0a78268e0c18 12/10/2009 02:30 pm Andreas Schneider

- Added option to toggle animated tiles
- Added option to toggle the security question when performing area commands

105:78c19b752da4 12/10/2009 02:16 pm Andreas Schneider

- Fixed TAnimMaterial to cache the textures
- Fixed texture size calculation in TMaterial

102:9ba9e8b9bcdf 12/09/2009 04:56 pm Andreas Schneider

- Fixed tiles only being checked for animdata if they have the appropriate tiledata flag

101:64dfd24320a3 12/09/2009 04:26 pm Andreas Schneider

- Added TAnimMaterial
- Implemented animated tiles
- Fixed TAnimData.FrameData to use ShortInt instead of Byte

100:f98b126eea9d 12/09/2009 02:36 pm Andreas Schneider

- Abstracted TMaterial
- Removed unnecessary width/height processing from TMaterial
- Added TSimpleMaterial for one-graphic-textures

95:c82f6bd70ef8 12/08/2009 03:30 pm Andreas Schneider

- Made ULandscape.GetID inline
- Removed some constraints on TileIDs and map coordinates
- Removed another unnecessary typecast

94:cef203ef6d87 12/08/2009 03:12 pm Andreas Schneider

- Generalized TCacheManager (for more type-safety and cleaner code)

89:0ca68027f09d 12/05/2009 05:26 pm Andreas Schneider

- Updated Vampyre Imaging Lib
- Added font rendering
- Added height display in flat mode

87:19ce2f8e0667 12/05/2009 01:24 am Andreas Schneider

- Added translucent static tile support (fixes #46)
- Fixed infinite recursion when updating ghost map tiles

81:48d96cd33495 12/04/2009 03:52 pm Andreas Schneider

- 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

72:7a9e2898738a 12/03/2009 03:38 pm Andreas Schneider

- Fixed UpdateSortOrder to handle off-screen updates correctly

70:80bdfb42dfc3 12/03/2009 01:35 am Andreas Schneider

- Some code cleanups in UfrmMain and ULandscape
- Fixed GetPlainNormals in ULandscape to actually return a value

69:1ba5ae2151ec 12/03/2009 12:04 am Andreas Schneider

- 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

67:0870ea84713e 12/02/2009 07:14 pm Andreas Schneider

- Added generic lists for world items, static items and map items
- Added appropriate compare functions
- Some local cleanups

63:c96a5611e861 10/02/2009 11:52 pm Andreas Schneider

- Moved WriteMap handling from TdmNetwork to TLandscape
- Added repainting when accesslevel display changes (toolstate, update write map)

62:fcbbf77d43be 10/02/2009 06:18 pm Andreas Schneider

- Changed TLandscape.FOpenRequests to use TBits instead of a boolean array

60:b4c026c96367 10/02/2009 06:10 pm Andreas Schneider

- Fixed TLandscape.FillDrawList to unnecessarily check upper/lower bounds

57:dc38f7f72b05 09/29/2009 02:25 am Andreas Schneider

- Reimplemented the Virtual Layer

56:2597d83f00d6 09/28/2009 06:16 pm Andreas Schneider

- Added Logging unit and MultiLog dependency
- Removed StaticsFilter parameter from FillDrawList

51:2e6b157c0b84 08/06/2009 03:04 pm Andreas Schneider

- Disabled use of normals (weren't really in use anyway)
- Added updating of the last shortcut in TScreenBuffer

50:6e990258daf2 08/04/2009 06:02 pm Andreas Schneider

- 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

49:f023c5478983 08/03/2009 07:32 pm Andreas Schneider

- 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...

47:823d70a3490f 08/03/2009 06:40 pm Andreas Schneider

- Added fpdoc paths
- Started some documenting
- Added TScreenBuffer.UpdateSortOrder to handle elevations

46:5e70dbc86058 08/03/2009 12:29 am Andreas Schneider

- Added handling of new blocks (OnNewBlock event)

45:2cc019c6e5f7 08/02/2009 08:45 pm Andreas Schneider

- Extracted TfrmMain.PrepareScreenBlock from RebuildScreenBuffer
- Added events for OnStatic-Inserted, -Deleted and -Elevated

44:3eff0565e353 08/02/2009 07:08 pm Andreas Schneider

- 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

42:6087cf1e8710 08/02/2009 01:45 pm Andreas Schneider

- 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...

40:2926fe381a77 07/30/2009 08:31 pm Andreas Schneider

- Added tracking of "Highlighted" state in the screen buffer

39:193e0f5fcba8 07/30/2009 05:04 pm Andreas Schneider

- Optimized blockInfo.ScreenRect calculation for static tiles
- Fixed TScreenBuffer.Find to correctly handle the new buffer usage (search at the end, not the beginning)

38:aa00fa39b0fb 06/12/2009 12:31 pm Andreas Schneider

- Fix Z-order calculation for terrain tiles (thanks Turley)

36:02e235e8a447 05/20/2009 06:16 pm Andreas Schneider

- 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...

35:422b8aa57cd8 05/18/2009 12:33 am Andreas Schneider

- 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...

34:d13a77583cc2 05/17/2009 10:06 pm Andreas Schneider

- 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

33:b3b30a1d2713 05/17/2009 03:32 pm Andreas Schneider

- 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...

32:0d8a20d0b862 05/17/2009 02:12 pm Andreas Schneider

- 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...

31:86a36537e785 05/15/2009 11:37 pm Andreas Schneider

- 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)

19:b39d54076167 08/29/2008 12:09 pm Andreas Schneider

- 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...

3:38a8c6979797 03/06/2008 10:55 pm Andreas Schneider

- 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...

0:95bd93c28625 12/21/2007 09:31 pm Andreas Schneider

- Initial import from internal repository