Commit Graph

201 Commits

Author SHA1 Message Date
Andreas Schneider fd4155a45b - Added Drag&Drop for random hue list (refs #66) 2011-03-12 22:58:54 +01:00
Andreas Schneider ae720d1931 - Added manifest for Windows build 2011-03-12 22:13:26 +01:00
Andreas Schneider 87e4edffa5 - Fixed display of the current hue in the Draw settings dialog 2011-03-12 17:56:53 +01:00
Andreas Schneider 34e723db75 - Use the new GetHue method to draw hues (refs #66) 2011-03-12 17:49:08 +01:00
Andreas Schneider 6317841c9c - Added UI for random Hue (refs #66) 2011-03-12 17:11:46 +01:00
Andreas Schneider a309caa235 - Updated Project Files
- Fixed frmLargeScaleCommand for recent LCL changes
2011-02-04 23:37:06 +01:00
Andreas Schneider d158c28452 - Added build modes
- Fixed Login Form layout
- Fixed compilation with FPC 2.5.1
2010-12-25 14:43:17 +01:00
Andreas Schneider 49599fdcf4 - Added hgeol
- Fixed repository side eol to be LF
2010-07-25 00:18:54 +02:00
Andreas Schneider 0d84ac4b5d - Fixed compilation with recent Lazarus versions 2010-06-11 13:36:45 +02:00
Andreas Schneider 6edee941ee - Fixed filter window to invalidate the current filters on delete/clear 2009-12-28 16:40:37 +01:00
Andreas Schneider 03b9097465 - Bumped version to 0.6.1
- Added silk icon reference to the about dialog
2009-12-24 16:34:29 +01:00
Andreas Schneider d461774816 - 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
2009-12-24 15:49:15 +01:00
Andreas Schneider f2764e928e - Added option to set the render background to white (fixes #59) 2009-12-23 20:54:56 +01:00
Andreas Schneider 46d045a46b - Fixed frmLightLevel to repaint the game window (when the slider changes) 2009-12-23 17:12:58 +01:00
Andreas Schneider 8332241ab7 - Removed sorting debug data from TfrmMain 2009-12-23 16:44:50 +01:00
Andreas Schneider 0eac70ec86 - Removed CentrED.rc from version tracking 2009-12-23 16:40:34 +01:00
Andreas Schneider cf4c155858 - 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
2009-12-23 16:39:24 +01:00
Andreas Schneider 34b62f6cd0 - Fixed gamewindow not resetting the clear-color 2009-12-22 21:37:16 +01:00
Andreas Schneider db0ef54660 - Pushed version to 0.6 2009-12-22 20:51:43 +01:00
Andreas Schneider eb62553f5c - Fixed static tiles with hue 1 using the wrong cache id
- Commented some debug messages
2009-12-22 19:47:46 +01:00
Andreas Schneider ca8f47d2a9 - Fixed intensity of translucent tiles
- Changed statics priority
2009-12-22 17:38:34 +01:00
Andreas Schneider 186527c606 - Fixed/Changed light source evaluation (again) to match the UO client 2009-12-22 13:51:17 +01:00
Andreas Schneider fd8fa39e0d - Code cleanup 2009-12-22 11:49:48 +01:00
Andreas Schneider 207f14d6ba - Remove obj/ dir restrictions 2009-12-22 11:44:33 +01:00
Andreas Schneider 841061abbb - Added FBO based light source rendering
- Fixed memory leak in TLightManager.UpdateLightMap
2009-12-22 09:36:35 +01:00
Andreas Schneider a19e23a82e - Changed light source evaluation
- Fixed possible crash in TLightManager.UpdateOverlay
2009-12-21 22:26:52 +01:00
Andreas Schneider 21e398ae92 - Added lightlevel slider 2009-12-21 20:12:45 +01:00
Andreas Schneider 3ffe710c31 - Added "select offset" button/functionality to frmLargeScaleCommand (fixes #56)
- Fixed frmFilter placement (fixes #57)
2009-12-21 19:07:07 +01:00
Andreas Schneider 8976774665 - 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
2009-12-21 13:41:18 +01:00
Andreas Schneider a7c74c114e - Fixed light source placement
- Removed unnecessary texturemanager reference
2009-12-21 00:55:19 +01:00
Andreas Schneider 5049955303 - Added light loading
- Use lights for the light sources
2009-12-21 00:13:26 +01:00
Andreas Schneider 7b46795bc1 - Implemented basic light source rendering 2009-12-20 22:05:15 +01:00
Andreas Schneider ee9a44219f - Fixed string type in TfrmAccountControl 2009-12-20 15:49:19 +01:00
Andreas Schneider 158403e41a - Removed custom tile info window
- Updated VirtualTreeView
- Added tile info as owner drawn hint to vdtTiles (fixes #55)
2009-12-19 19:01:48 +01:00
Andreas Schneider 9ab8e5901b - Replaced array with generic list (TfrmMain.FAccessChangedListeners) 2009-12-19 14:43:22 +01:00
Andreas Schneider a9f278ae21 - Realigned frmRegionControl
- Added coordinate grabbing to TfrmRegionControl
- Added hints to the grab buttons in frmLargeScaleCommand
2009-12-19 14:39:14 +01:00
Andreas Schneider 387d5fb28d - Added selection listener to TfrmMain
- Added "grab coordinates" using the new selection listener to TfrmLargeScaleCommand (fixes #54)
2009-12-19 13:57:29 +01:00
Andreas Schneider ff87bdea15 - Realigned TfrmLargeScaleCommand
- Fixed overlay being drawn with correct color and alpha
2009-12-19 01:02:06 +01:00
Andreas Schneider 5d7c40d579 - Fixed TfrmToolWindow.FormDeactivate to check CanClose first
- Fixed TfrmDrawSettings and TfrmHueSettings to be shown non-modal (fixes #49)
2009-12-18 18:43:55 +01:00
Andreas Schneider e502321f35 - Added more nodraw.txt locations
- Improved nodraw.txt parsing
2009-12-18 14:24:35 +01:00
Andreas Schneider 7adf94010a - Fixed TNormals to use GLfloat 2009-12-18 13:57:37 +01:00
Andreas Schneider 12a28c79b2 - Replaced own UVector with unit matrix from the RTL 2009-12-18 02:35:25 +01:00
Andreas Schneider 1e84b76c63 - Added external nodraw definition 2009-12-18 01:53:09 +01:00
Andreas Schneider 365fa72dc9 - Changed TfrmMain.BuildTileList to use all available static tiles
- Added static tile id checking to the random preset loading
2009-12-18 01:07:55 +01:00
Andreas Schneider 73e704e5fa - 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
2009-12-18 00:17:42 +01:00
Andreas Schneider b0b014f66a - Added saving of random presets when creating or overwriting one 2009-12-17 21:05:46 +01:00
Andreas Schneider c41fd3be95 - Several code cleanups
- Fixed TArt.RefreshBuffer using the wrong variable (j <> i)
- Suppressed some hints
2009-12-17 15:41:54 +01:00
Andreas Schneider 13264d3251 - Fixed potential crash when using the Mouse Wheel 2009-12-17 00:36:26 +01:00
Andreas Schneider 3969493d90 - Added XML storage for Random Presets 2009-12-16 23:24:57 +01:00
Andreas Schneider 34c0e9c901 - Implemented saving and loading of locations to/from xml 2009-12-16 16:03:35 +01:00
Andreas Schneider 797abbfa07 - Fixed ref counting for the virtual layer (fixes #53) 2009-12-16 15:18:42 +01:00
Andreas Schneider e259ecd622 - Bumped version to 0.5
- Updated changelog
2009-12-11 18:22:15 +01:00
Andreas Schneider 2763f4357c - Fixed alignment in frmLogin 2009-12-10 22:23:26 +01:00
Andreas Schneider 908bddda07 - 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
2009-12-10 22:18:25 +01:00
Andreas Schneider 34765f7235 - Fixed Art and TexMap to no longer get loaded if their Size is <= 0 2009-12-10 22:05:38 +01:00
Andreas Schneider 5c3de09d10 - 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)
2009-12-10 21:40:14 +01:00
Andreas Schneider 59ab7046c4 - Relect selection of the random tile list with the normal list list (fixes #51) 2009-12-10 16:54:43 +01:00
Andreas Schneider 5a2cde2ac8 - Fixed locations backups being placed in the app dir instead of config dir 2009-12-10 14:32:29 +01:00
Andreas Schneider 9c010eeb89 - Added option to toggle animated tiles
- Added option to toggle the security question when performing area commands
2009-12-10 14:30:47 +01:00
Andreas Schneider 222abd54fd - Fixed TAnimMaterial to cache the textures
- Fixed texture size calculation in TMaterial
2009-12-10 14:16:46 +01:00
Andreas Schneider 80412fa867 - Fixed typo in TGLArrow (RealWidth <> RealHeight)
- Fixed TGLArrow.HitTest
2009-12-09 21:25:29 +01:00
Andreas Schneider 3bd5add656 - More adjustements to frmLogin
- Added property storage to several frmMain options
2009-12-09 19:10:07 +01:00
Andreas Schneider 36afc1e1d9 - Fixed tiles only being checked for animdata if they have the appropriate tiledata flag 2009-12-09 16:56:39 +01:00
Andreas Schneider be935a6bcb - Added TAnimMaterial
- Implemented animated tiles
- Fixed TAnimData.FrameData to use ShortInt instead of Byte
2009-12-09 16:26:12 +01:00
Andreas Schneider 2a3e17fa57 - Abstracted TMaterial
- Removed unnecessary width/height processing from TMaterial
- Added TSimpleMaterial for one-graphic-textures
2009-12-09 14:36:53 +01:00
Andreas Schneider 3df7b446f5 - Changed profile, preset, locations and radar cache path to the user directory (fixes #50) 2009-12-09 00:19:45 +01:00
Andreas Schneider 1759e0763c - Fixed typo in UMulManager
- Added array initialization to TAnimDataProvider
- Adjusted frmLogin
- Some code cleanups
2009-12-08 22:17:39 +01:00
Andreas Schneider 06c9c2c507 - Added AnimDataProvider
- Some code cleanups
2009-12-08 20:22:45 +01:00
Andreas Schneider 392bd3db14 - Added missing icon
- Fixed compilation of server
2009-12-08 16:17:45 +01:00
Andreas Schneider 446e104031 - Made ULandscape.GetID inline
- Removed some constraints on TileIDs and map coordinates
- Removed another unnecessary typecast
2009-12-08 15:30:53 +01:00
Andreas Schneider dde886b051 - Generalized TCacheManager (for more type-safety and cleaner code) 2009-12-08 15:12:09 +01:00
Andreas Schneider c0b5051b00 - Added Keyboard movement to oglGameWindow (fixes #5) 2009-12-07 16:26:47 +01:00
Andreas Schneider 09bd74675e - Added highlighting of the target region for copy/move operations in frmLargeScaleCommand (fixes #40) 2009-12-07 02:15:56 +01:00
Andreas Schneider 6eaf10e73e - Added error handling when loading Locations and Profiles (fixes #2) 2009-12-06 20:03:24 +01:00
Andreas Schneider 4280db3f7e - Added flat-mode settings to toggle height display 2009-12-05 17:37:33 +01:00
Andreas Schneider be3f8c05df - Updated Vampyre Imaging Lib
- Added font rendering
- Added height display in flat mode
2009-12-05 17:26:22 +01:00
Andreas Schneider a5128b0d05 - Enable double buffering for the tile info label 2009-12-05 02:04:27 +01:00
Andreas Schneider dd88d845cd - Added translucent static tile support (fixes #46)
- Fixed infinite recursion when updating ghost map tiles
2009-12-05 01:24:58 +01:00
Andreas Schneider 833c470cb7 - Fixed CurrentTile to be updated on changes (fixes #47) 2009-12-05 01:06:01 +01:00
Andreas Schneider 4da488a02b - Fixed TfrmMain.OnStaticElevated to correctly handle off-screen updates 2009-12-05 00:57:55 +01:00
Andreas Schneider a5082879fe - Fixed static tiles to be added several times (due to ghost tile replication)
- Added more debug info to UfrmMain
2009-12-05 00:40:05 +01:00
Andreas Schneider b223f44721 - Fixed cedserver to compile again (using generics now)
- Added multilog dependency to cedserver for easier debugging
- Several code cleanups
2009-12-04 23:30:39 +01:00
Andreas Schneider 2fedab62cc - Added Undo operation 2009-12-04 20:24:36 +01:00
Andreas Schneider 14ab47bdf8 - 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
2009-12-04 15:52:27 +01:00
Andreas Schneider 082770f183 - Fixed mouse-up handling when no SelectedTile is given 2009-12-04 03:17:05 +01:00
Andreas Schneider b6dfd64d41 - (Re-)Added drawing of tiles (using the ghost tiles)
- Fixed ghost tiles to be in edit-mode
2009-12-04 02:33:59 +01:00
Andreas Schneider 20747a4e0c - 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)
2009-12-04 02:20:56 +01:00
Andreas Schneider 211866d6c1 - 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
2009-12-04 02:00:02 +01:00
Andreas Schneider fda2be2b8c - Added static ghost tiles 2009-12-04 01:27:06 +01:00
Andreas Schneider be9d56f7c9 - Added virtual getters for Z and TileID to TWorldItem
- Added ghost information to TMap
- Added ghost tiles (currently for map tiles only)
2009-12-04 00:58:59 +01:00
Andreas Schneider 2fdbc698ac - Added more appropriate handling of the selection rectangle (no +1 and an own compare function) 2009-12-03 18:56:08 +01:00
Andreas Schneider e337c931ed - Fixed another case of off-screen updating
- Removed old GhostTile handling
2009-12-03 15:41:49 +01:00
Andreas Schneider 0f2130730b - Fixed UpdateSortOrder to handle off-screen updates correctly 2009-12-03 15:38:11 +01:00
Andreas Schneider a74bfce923 - Re-enabled lighting normals 2009-12-03 01:38:42 +01:00
Andreas Schneider fffb420299 - Some code cleanups in UfrmMain and ULandscape
- Fixed GetPlainNormals in ULandscape to actually return a value
2009-12-03 01:35:29 +01:00
Andreas Schneider d5e5510760 - 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
2009-12-03 00:04:19 +01:00
Andreas Schneider 01e7b98a12 - Added generic lists for world items, static items and map items
- Added appropriate compare functions
- Some local cleanups
2009-12-02 19:14:00 +01:00
Andreas Schneider 8df2313b4d - 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
2009-12-02 18:40:03 +01:00
Andreas Schneider c030b9c586 - Updated to new VirtualTreeView (UTF8String --> String) 2009-11-24 13:53:43 +01:00
Andreas Schneider f58bef6d63 - Fixed drawing of TileName in the tile list (assuming ISO8859-1 encoding) - fixes #37 2009-10-24 14:29:32 +02:00