Commit graph

210 commits

Author SHA1 Message Date
boris_i
72d688f8d0 Added actions to move the camera up and down in 3D visual modes (no default keys bound)
@ more fixes for auto-aligning hi-res textures: now takes the WorldPanning flag into account
2010-05-08 13:14:48 +00:00
codeimp
2d73b1163a @ fixed some incorrect code (what happened there?!) 2010-01-30 22:20:18 +00:00
codeimp
35268f8e3c @ exported Hermite spline functions for use by plugins 2010-01-30 20:46:51 +00:00
codeimp
6f1abda51f - Little bit of undo/redo optimization 2010-01-09 19:49:54 +00:00
codeimp
837c725395 - Optimized compressing sidedefs
@ Added triangulation test case
2010-01-09 19:23:54 +00:00
boris_i
244249b9b8 Compressing sidedefs doesn't crash anymore 2010-01-09 19:07:56 +00:00
boris_i
52b791d188 Fixed auto alignment of scaled textures that retain precision of their unscaled dimension 2010-01-09 11:56:52 +00:00
boris_i
cdddeffa80 - Fixed a problem in the linedef info panel where the linedef numbers was displayed instead of the sidedef number
- Fixed a problem where dragging geometry and things onto the window title bar locked up DB2
- Fixed a problem with wrong texture offsets of hi-res textures
2010-01-02 22:06:40 +00:00
codeimp
ed9f393fb1 - Tools.DrawLines no longer snaps the geometry to map format accuracy. Use General.Map.Map.SnapAllToAccuracy() to compensate. 2010-01-02 21:28:18 +00:00
codeimp
b0dfbc0df9 - Added support for "scaledtextureoffsets" game configuration setting. Boris writes the actual implementation. 2010-01-02 20:54:35 +00:00
codeimp
cd6a7bffb2 @ These two variables are now totally useless. A complete waste of memory and allocation time. Shame! 2010-01-02 20:28:50 +00:00
codeimp
50b9765377 - Scales are now generally accepted and exposed by the ImageData class instead of just ScaleWidth/ScaledHeight
- Camera offsets in Visual Modes now changeable in Game Configurations (default is Doom's camera position)
@ Some other stuff dealing with the new dockers I forgot what it's for.
2010-01-02 20:22:05 +00:00
codeimp
d913121423 @ Added OnMapSaveBegin and OnMapSaveEnd events for plugins 2009-08-23 13:55:49 +00:00
codeimp
1d053a5e2b @ Renamed GetMapCoordinates function to DisplayToMap and added MapToDisplay function
@ Exposed the RenderTargetDisplay to plugins
2009-08-21 14:11:18 +00:00
codeimp
5a6283c25d @ fixed flickering when moving mouse over the docker tabs 2009-08-21 09:40:07 +00:00
codeimp
1f73d1a105 @ Some fixes in the behavior of docker controls and added WhenButtonsClicked event to the ButtonsNumericTextbox 2009-08-21 08:37:02 +00:00
codeimp
3ca0b615aa - Things browser no longer closes when double-clicked on a category
- Find & Replace mode now changes render presentation to show Things on-top when a Things search is performed
2009-08-19 13:14:55 +00:00
codeimp
907669a1c9 Changed the DECORATE parser to read all actor properties and exposed the DECORATE info for plugins (General.Map.Data.Decorate) 2009-08-15 08:41:43 +00:00
codeimp
d75bd6be69 @ Modified the BlockMap class with a template for the BlockEntry class and added custom block size (must be a power of 2 greater than 1)
@ Added BlockMapMode as an example to show how the BlockMap class behaves
2009-08-14 10:45:22 +00:00
codeimp
9d6d86936d @ Fixed a bug in the BlockMap class that prevented some lines/things from being added to the blockmap 2009-08-14 07:31:07 +00:00
codeimp
72741d82bf @ Fixed a bug in the BlockMap class that prevented some lines/things from being added to the blockmap 2009-08-14 07:23:10 +00:00
codeimp
578259fe67 @ Forgot to expose RenderRectangleFilled to plugins. Added now. 2009-08-02 21:47:44 +00:00
codeimp
068ea01e84 @ Made CreateTexture and ReleaseTexture public: Plugins must be allowed to load images as textures in video memory. 2009-08-02 21:34:16 +00:00
codeimp
403c57a746 @ Added RenderRectangleFilled overload that allows using a texture 2009-08-02 18:48:38 +00:00
codeimp
696b067095 @ modified constructor usage of ResourceImage class for more versatile use 2009-08-02 18:21:53 +00:00
codeimp
ed5c468fec @ added calls to FindDefaultDrawSettings() when opening / creating a map to ensure these defaults exist 2009-08-01 23:03:07 +00:00
codeimp
5edec9046b @ Fixed an undo/redo bug that caused problems in Visual Mode when multiple levels are undone at once 2009-08-01 08:33:28 +00:00
codeimp
1f493e526a @ Added support to null a linedef type or thing type in a game configuration to resolve conflicts 2009-08-01 07:45:12 +00:00
codeimp
5ca1137c9e @ Fixed a bug that caused configuration with overriding structures to fail loading 2009-07-31 12:54:39 +00:00
codeimp
680c0f854d @ Numeric linedef flags are now automatically sorted 2009-07-31 11:00:11 +00:00
codeimp
8e0589ddf3 @ Total restructure of the game configuration includes
@ Missing include paths are now reported as errors
2009-07-30 18:10:57 +00:00
codeimp
a9ef78d33f @ Removed unique key check in configurations: Setting with the same name now just overrides the previous. 2009-07-30 05:43:13 +00:00
codeimp
6661d8fb81 Exposed MapOptions for plugins and added funtions to read and write settings in the map options (dbs file) 2009-07-29 17:15:48 +00:00
codeimp
c2d5729644 @ Added sidedef functions to get the heights of high/mid/low wall parts 2009-07-29 16:34:17 +00:00
codeimp
b87690b50c @ added config file error information in messages in case include files are used 2009-07-28 14:04:14 +00:00
codeimp
afd255bd68 Restructured configuration parsing code and added a file include system. Use in structure where to include a file like this: include(file [, structurepath] ); 2009-07-28 13:40:30 +00:00
codeimp
24b275e6d3 @ this may be a useful function 2009-07-23 14:52:39 +00:00
codeimp
7a63edfc91 @ Fixed tabs in side panel being shown as selected while the side panels are closed (hidden) 2009-07-23 11:44:32 +00:00
codeimp
50d06210df Fixed a bug in the thing/linedef argument input boxes that caused an incorrect value when only increased/decreased with the up/down buttons 2009-07-23 09:43:51 +00:00
codeimp
29972eae8e Information panel now correctly updates when undo/redo is performed 2009-07-23 09:23:40 +00:00
codeimp
5e53857fa6 @ Side panel docker (with auto hide enabled) now stays open when a textbox is focused for input 2009-07-23 08:53:52 +00:00
codeimp
b68ae937eb @ fixed some bugs with the undo / redo list scrollbars 2009-07-23 05:09:53 +00:00
codeimp
1cc018f974 @ fixed side panels not always collapsing when mouse leaves the area 2009-07-22 21:15:14 +00:00
codeimp
061221d9ac Added Undo/Redo list side panel 2009-07-22 15:16:28 +00:00
codeimp
399c558b4c @ latest visual changes on the side panels and added preference options 2009-07-21 18:48:00 +00:00
codeimp
f2e1561093 @ work in progress on dockers 2009-07-21 15:15:38 +00:00
codeimp
77230eee5b @ work in progress on dockers 2009-07-21 13:42:36 +00:00
codeimp
1a17a2be2b @ work in progress on dockers 2009-07-21 05:51:13 +00:00
codeimp
bec1acf6c9 @ work in progress on dockers 2009-07-20 15:16:40 +00:00
codeimp
a5ad32d6d3 @ work in progress on dockers 2009-07-19 20:30:15 +00:00
codeimp
bf8285030b @ Added begin of DockersControl. This is going to be a long and tedious development. 2009-07-17 15:06:15 +00:00
codeimp
0ac4c4ad4f @ Fixed a bug in General.Map.UndoRedo.PerformRedo(n) (bug occurred when n > 1) 2009-07-15 15:10:50 +00:00
codeimp
dbc89a36aa @ version number update 2009-07-12 11:52:48 +00:00
codeimp
d593294304 Simulate Doom brightness levels in Classic modes as well (now optional in game configs) 2009-07-12 09:58:05 +00:00
codeimp
5874496ab2 @ bug fixes regarding the selection in visual mode
@ fixed bug that caused a question message to save the map appear on closing after saving the map
2009-07-11 10:28:58 +00:00
codeimp
f3cd641ad2 @ another visual bug fix 2009-07-10 20:36:14 +00:00
codeimp
748a35c883 @ Fixed a bug with the scrollwheel usage in numeric input controls 2009-07-10 19:19:28 +00:00
codeimp
0aa067cffc Added up/down buttons to numeric input controls 2009-07-10 19:15:22 +00:00
codeimp
3400046080 @ some undo/redo fixes
@ working on NumericTextbox versions with up/down buttons and dropdown lists
2009-07-10 13:56:22 +00:00
codeimp
89f8b3542e - Added some error handling for invalid wad files
- Fixed bug that allowed pasting geometry in visual mode (and the geometry becomes erroneous)
2009-07-10 08:25:04 +00:00
codeimp
5b58693a71 Several interface bug fixes and aesthetics 2009-07-09 22:43:39 +00:00
codeimp
85fcc2bd25 Added default start mode option to configuration dialog (see Modes tab) 2009-07-09 15:15:49 +00:00
codeimp
ee8d88c3dc Added options for pasting and inserting prefabs 2009-07-09 14:03:47 +00:00
codeimp
efb7e4a43a @ Fixed a problem with geometry being marked on undo/redo 2009-07-08 07:49:29 +00:00
codeimp
9d0bd09f25 @ work in progress 2009-07-07 20:59:56 +00:00
codeimp
ac76a3e7e8 @ Fixed a problem with undo/redo in Visual Mode 2009-07-07 15:11:09 +00:00
codeimp
6bcc670676 - Added feature to toggle target highlight color on/off in Visual Mode.
- Highlight and selection colors are now hidden while dragging textures.
2009-07-07 14:52:39 +00:00
codeimp
59a08256a4 @ Some files I forgot in previous commit 2009-07-05 10:35:46 +00:00
codeimp
f33d0ed1ff Added classes/functions for plugins to create and/or select new/existing things filters 2009-07-05 10:26:57 +00:00
codeimp
f1c2e1e0a8 Fixed some problems with walls not updating correctly on undo/redo in Visual Mode 2009-07-04 10:06:35 +00:00
codeimp
70e60bc39a Added preferences options for script editor tab width and auto-indent 2009-07-03 08:49:53 +00:00
codeimp
582b01ee9d - Fixed missing resources in testing parameters.
- Fixed disappearing temp file in testing parameters when "Use short paths" is checked.
- Added option for resource to exclude them from the testing parameters (for example, you may want to exclude zdoom.pk3)
2009-07-02 14:15:47 +00:00
codeimp
13a47b93df Fixed texture alignment wrapping to work only for the alignment axis. 2009-07-02 08:18:52 +00:00
boris_i
6eb77d0bc0 Fixed a bug where flipping a line resulted in a crash, if its start vertex did not belong to any other line 2009-06-28 14:47:21 +00:00
codeimp
1a2d335e4d - Updated ZDBSP nodebuilder version 1.12
- Re-enabled UDMF comments for element indices (should work with ZDBSP now)
@ Added test case for triangulation
2009-06-23 16:35:13 +00:00
codeimp
d45b61f041 Fixed a bug that sometimes caused a crash on undo 2009-06-19 07:59:38 +00:00
codeimp
442bf3c278 @ commented out a piece of code that was for testing only
Fixed a bug that crashes the SurfaceManager sometimes
2009-06-19 07:53:39 +00:00
codeimp
754c769513 @ little optimization in map data allocating when reading from stream/file 2009-06-18 14:23:33 +00:00
codeimp
c7c21fdc72 Added functions for multiple undo/redo 2009-06-18 07:19:44 +00:00
codeimp
cae5a34eea @ fixed info panel sizes 2009-06-17 21:20:46 +00:00
codeimp
ee7d7ce86a - Corrected the displayed shortcut keys for the Increase Grid and Decease Grid menu items
- Increased spacing for image previews in the information panels so that long texture names can be fully displayed
2009-06-17 21:16:20 +00:00
codeimp
3c6beb1e68 Things filter now also hides things in le Mode de la Visuale 2009-06-17 16:52:28 +00:00
codeimp
0a10e5bfef Fixed a crash when minimizing during resources loading 2009-06-16 17:29:00 +00:00
codeimp
656edc7f13 Some undo/redo system optimizations in Visual Mode 2009-06-16 08:49:14 +00:00
codeimp
c4c9ea94c1 @ disabled UDMF TEXTMAP comments until ZDBSP can handle them properly 2009-06-15 22:44:25 +00:00
codeimp
f5b661216b - Better handling of missing UDMF TEXTMAP fields (Error now includes the element and index at which the field is missing and will not abort loading. Instead it will use a default value.)
- UDMF TEXTMAP now contains the indices of elements as comment next to the structure header.
- Thing cages in Visual Mode now also get the selection and highlight color so that a selection and highlight on things without sprite can also be seen.
2009-06-15 21:58:34 +00:00
codeimp
4f52e3f5e8 @ fixed another undo/redo system bug that made closing the map slow 2009-06-15 18:44:28 +00:00
codeimp
1edd6284bc @ fixed a bug in the undo/redo system related to removing sectors 2009-06-15 17:38:02 +00:00
codeimp
64d06d0417 Added sidedef sector numbers on the linedef info panel 2009-06-12 09:22:09 +00:00
codeimp
be6545e8de @ fixed a bug that caused saving maps to be very slow 2009-06-12 08:02:47 +00:00
codeimp
36c42dbef1 @ fixed a bug in the undo/redo system 2009-06-11 21:50:55 +00:00
codeimp
55e640b6e1 - Progressive undo/redo system (much faster and up to 1000 undo/redo levels) Please note that several plugin functions and properties have changed.
- Some small optimizations in the classic 2D rendering (cached linedef flags, reduced some unneeded redrawing)
2009-06-11 21:21:20 +00:00
boris_i
f66980b60f - Fixed a bug that allowed to use texture names longer than 8 characters, making the WAD file unusable after saving
@ added a texturenamelength config var. Setting it to higher than 8 may result in unexpected behaviour due to the speed optimizations relying on 8 char texture names and should not be changed for now.
2009-06-08 18:52:56 +00:00
codeimp
84a3069926 @ added internal option to prevent automatic removal of unreferenced elements when other elements are removed 2009-06-07 10:26:06 +00:00
codeimp
1e9cc18730 @ Added Create* functions in the MapSet that allows specifying the index (element at existing index will move to the end of the array instead of the newly created element). 2009-06-07 09:00:14 +00:00
codeimp
d284248ca0 @ fixed paste 2009-06-06 00:05:59 +00:00
codeimp
f09bfff419 @ Changed the MapSet to work with arrays instead of linkedlists. Because the index is now know for each element and can be retrieved in O(1) efficiency it has become a property (Index) for all map elements. GetIndexFor* functions have been removed. Get*ByIndex are now also of O(1) efficiency. 2009-06-05 19:03:56 +00:00
codeimp
45ad5f5943 @ major change in the way sector surfaces are allocated and rendered for optimization
@ white texture has been moved to the DataManager and is now also available to plugins
2009-06-04 20:21:31 +00:00
codeimp
a7c668defe Fixed mouse cursor when over the script editor. 2009-06-01 08:57:29 +00:00
codeimp
e62146f464 - Reset default drawing textures when map options are changed
- Fixed some minor bugs in the choice of default drawing textures
2009-05-31 10:59:42 +00:00