Statistics
| Branch: | Tag: | Revision:

root / Client / UfrmMain.pas

History | View | Annotate | Download (93.8 kB)

# Date Author Comment
187:ca42413bdc7a 01/14/2012 05:58 pm Andreas Schneider
  • Replaced fgl with heContnrs
  • Fixed behavior of the undo packet list (fixes #88)
184:bb98aa672caa 12/03/2011 06:48 pm Andreas Schneider
  • Fixed compilation with current Lazarus/LCL
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)

179:9c85b26a55a2 03/29/2011 10:57 pm Andreas Schneider

- Fixed loading of hue presets
- Fixed random pane sliding out of the main window

177:59f1ade29b39 03/29/2011 09:51 pm Andreas Schneider

- Store used (random) hues for consistent behavior on commit (refs #66)

171:4fe53c0f0d16 03/16/2011 07:42 pm Andreas Schneider

- Added saving and loading of hue presets (refs #66)

166:137a194aac66 03/12/2011 05:49 pm Andreas Schneider

- Use the new GetHue method to draw hues (refs #66)

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

156:c3e84c102edd 12/23/2009 08:54 pm Andreas Schneider

- Added option to set the render background to white (fixes #59)

154:a89137284c09 12/23/2009 04:44 pm Andreas Schneider

- Removed sorting debug data from TfrmMain

152:2c10e1ad6647 12/23/2009 04:39 pm Andreas Schneider

- 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

151:bc4f9125a628 12/22/2009 09:37 pm Andreas Schneider

- Fixed gamewindow not resetting the clear-color

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

147:6904b467d076 12/22/2009 05:38 pm Andreas Schneider

- Fixed intensity of translucent tiles
- Changed statics priority

141:09ff002aa19b 12/21/2009 08:12 pm Andreas Schneider

- Added lightlevel slider

139:df7c92a993c7 12/21/2009 01:41 pm Andreas Schneider

- 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

137:4c98c305ba6f 12/21/2009 12:55 am Andreas Schneider

- Fixed light source placement
- Removed unnecessary texturemanager reference

136:30e79f40f9a5 12/21/2009 12:13 am Andreas Schneider

- Added light loading
- Use lights for the light sources

135:6f7a57ab8dc9 12/20/2009 10:05 pm Andreas Schneider

- Implemented basic light source rendering

133:797fb1305539 12/19/2009 07:01 pm Andreas Schneider

- Removed custom tile info window
- Updated VirtualTreeView
- Added tile info as owner drawn hint to vdtTiles (fixes #55)

132:e290faa2ab9f 12/19/2009 02:43 pm Andreas Schneider

- Replaced array with generic list (TfrmMain.FAccessChangedListeners)

130:3c63e629878f 12/19/2009 01:57 pm Andreas Schneider

- Added selection listener to TfrmMain
- Added "grab coordinates" using the new selection listener to TfrmLargeScaleCommand (fixes #54)

129:edf0781b107c 12/19/2009 01:02 am Andreas Schneider

- Realigned TfrmLargeScaleCommand
- Fixed overlay being drawn with correct color and alpha

128:c37b61953c95 12/18/2009 06:43 pm Andreas Schneider

- Fixed TfrmToolWindow.FormDeactivate to check CanClose first
- Fixed TfrmDrawSettings and TfrmHueSettings to be shown non-modal (fixes #49)

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

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

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

- Added external nodraw definition

123:c1e59761cc57 12/18/2009 01:07 am Andreas Schneider

- Changed TfrmMain.BuildTileList to use all available static tiles
- Added static tile id checking to the random preset loading

120:4d1aabf85ea5 12/17/2009 09:05 pm Andreas Schneider

- Added saving of random presets when creating or overwriting one

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

118:0e8e988d454f 12/17/2009 12:36 am Andreas Schneider

- Fixed potential crash when using the Mouse Wheel

117:6af1f0a6d887 12/16/2009 11:24 pm Andreas Schneider

- Added XML storage for Random Presets

116:b09d9ed9dfe6 12/16/2009 04:03 pm Andreas Schneider

- Implemented saving and loading of locations to/from xml

115:2d483054be7f 12/16/2009 03:18 pm Andreas Schneider

- Fixed ref counting for the virtual layer (fixes #53)

111:30dee8019a71 12/10/2009 10:18 pm Andreas Schneider

- 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

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)

108:05c56081f710 12/10/2009 04:54 pm Andreas Schneider

- Relect selection of the random tile list with the normal list list (fixes #51)

107:c55e863f2497 12/10/2009 02:32 pm Andreas Schneider

- Fixed locations backups being placed in the app dir instead of config dir

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

103:77b56e28f153 12/09/2009 07:10 pm Andreas Schneider

- More adjustements to frmLogin
- Added property storage to several frmMain options

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

99:0b28bcc5a446 12/09/2009 12:19 am Andreas Schneider

- Changed profile, preset, locations and radar cache path to the user directory (fixes #50)

93:3a7e7f14dedd 12/07/2009 04:26 pm Andreas Schneider

- Added Keyboard movement to oglGameWindow (fixes #5)

91:003d09f42146 12/06/2009 08:03 pm Andreas Schneider

- Added error handling when loading Locations and Profiles (fixes #2)

90:24fd3ef04b70 12/05/2009 05:37 pm Andreas Schneider

- Added flat-mode settings to toggle height display

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

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

88:0fd727d87ca9 12/05/2009 02:04 am Andreas Schneider

- Enable double buffering for the tile info label

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

86:87fa85d28440 12/05/2009 01:06 am Andreas Schneider

- Fixed CurrentTile to be updated on changes (fixes #47)

85:18d5c28062cf 12/05/2009 12:57 am Andreas Schneider

- Fixed TfrmMain.OnStaticElevated to correctly handle off-screen updates

84:613884edf6a6 12/05/2009 12:40 am Andreas Schneider

- Fixed static tiles to be added several times (due to ghost tile replication)
- Added more debug info to UfrmMain

82:a5dbdb46696a 12/04/2009 08:24 pm Andreas Schneider

- Added Undo operation

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

80:acf523d75fb5 12/04/2009 03:17 am Andreas Schneider

- Fixed mouse-up handling when no SelectedTile is given

79:fefddedb9b4f 12/04/2009 02:33 am Andreas Schneider

- (Re-)Added drawing of tiles (using the ghost tiles)
- Fixed ghost tiles to be in edit-mode

78:51649877cec4 12/04/2009 02:20 am Andreas Schneider

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

77:2e615b032669 12/04/2009 02:00 am Andreas Schneider

- 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

76:a573f002340a 12/04/2009 01:27 am Andreas Schneider

- Added static ghost tiles

75:2d7857145534 12/04/2009 12:58 am Andreas Schneider

- Added virtual getters for Z and TileID to TWorldItem
- Added ghost information to TMap
- Added ghost tiles (currently for map tiles only)

74:672862015145 12/03/2009 06:56 pm Andreas Schneider

- Added more appropriate handling of the selection rectangle (no +1 and an own compare function)

73:f7d3c4ca5d65 12/03/2009 03:41 pm Andreas Schneider

- Fixed another case of off-screen updating
- Removed old GhostTile handling

71:2aa34fae0a91 12/03/2009 01:38 am Andreas Schneider

- Re-enabled lighting normals

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

66:5c10b760b126 12/02/2009 06:40 pm Andreas Schneider

- 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

65:66cd13a7ceaf 11/24/2009 01:53 pm Andreas Schneider

- Updated to new VirtualTreeView (UTF8String --> String)

64:093dee1386dd 10/24/2009 02:29 pm Andreas Schneider

- Fixed drawing of TileName in the tile list (assuming ISO8859-1 encoding) - fixes #37

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)

61:bc0986d79356 10/02/2009 06:12 pm Andreas Schneider

- Fixed some events not correctly triggering a repaint

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

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

59:74ce11d2b53c 09/30/2009 07:29 pm Andreas Schneider

- Changed handling of CurrentTile and SelectedTile to avoid unnecessary invalidations

58:9184a6b76a11 09/29/2009 04:06 pm Andreas Schneider

- Changed TVirtualTile to inherit directly from TWorldItem
- Added FRepaintNeeded to minimize unnecessary repaints

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

55:a64bfe21baa7 09/02/2009 03:21 am Andreas Schneider

- 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

53:c78e285dce0a 08/06/2009 05:34 pm Andreas Schneider

- Added filter management to TfrmMain
- Changed screen buffer state handling to enums

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

48:e7c30e9da1db 08/03/2009 06:55 pm Andreas Schneider

- Added handling for hue changes (OnStaticHued)

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

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

41:f4fa8533c41e 07/31/2009 05:03 pm Andreas Schneider

- Removed several unnecessary panels from frmMain (using Anchors instead)

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)

37:4c6b24154f84 06/11/2009 02:41 pm Andreas Schneider

- Changed terrain rendering from GL_TRIANGLES to GL_QUADS to fix coastlines and other overlapping (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)

27:0525092bd8ed 01/27/2009 10:45 am Andreas Schneider

- Updated to a recent VirtualTrees revision
- Updated README accordingly

26:7f633f443254 09/28/2008 10:00 pm Andreas Schneider

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

21:0642ed70e430 09/06/2008 11:08 pm Andreas Schneider

- Fixed WheelDelta not being adjusted right

20:f88801e80242 08/29/2008 02:55 pm Andreas Schneider

- Fixed VirtualLayer preparation for corner cases (where the size would have been too small)

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