Commit graph

1124 commits

Author SHA1 Message Date
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
b36af4bc37 @ Better description for size "relative" -> "scale" 2009-08-21 09:31:26 +00:00
codeimp
a48cde8509 @ Oops. These files go with the previous commit. 2009-08-21 08:40:00 +00:00
codeimp
02290d6898 Added Edit Selection Mode docker panel to view and modify transformation values manually 2009-08-21 08:38:24 +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
fcde15398a Fixed a bug with thing heights in Visual Mode for things that have no sprite 2009-08-19 14:06:21 +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
b1c23198d9 Fixed bug that caused highlighted objects to join pasted objects in the Edit Selection Mode 2009-08-19 11:42:20 +00:00
codeimp
07b82ce082 Fixed a bug with the combination of "Additive select without shift" and "Automatic clear selection" behavior 2009-08-19 11:09:10 +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
67dfcb2c0d @ This action was for testing only (BlockMapMode). Removing it. 2009-08-14 13:55:29 +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
0ab176fb87 @ Added Image Drawing Example plugin to repository 2009-08-02 22:10:34 +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
2988bfeff9 @ Removed the Mass Undo/Redo plugin (this functionality is now in BuilderModes) 2009-07-24 06:48:20 +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
93bcd61f7b Selection is now kept when leaving Edit Selection mode (also when pasting) 2009-07-23 11:19:50 +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
7af4e711bb @ Work in progress on the Mass Undo/Redo plugin 2009-07-15 15:17:23 +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
5b9c65b47a @ Work in progress on the Mass Undo/Redo plugin 2009-07-15 05:32:47 +00:00
codeimp
fffc868ce2 @ Work in progress on the Mass Undo/Redo plugin 2009-07-13 14:52:32 +00:00
codeimp
153ea1d767 @ Added Boris' Copy/Paste Sector Properties plugin to solution
@ Added new project for Mass Undo/Redo plugin
2009-07-12 21:37:33 +00:00
codeimp
dbc89a36aa @ version number update 2009-07-12 11:52:48 +00:00
codeimp
7bf248130a @ and a small improvement on that 2009-07-12 11:17:30 +00:00
codeimp
123167461d Added option to drag automatically (without having to press the mouse button) when pasting 2009-07-12 11:14:34 +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
2bbaf80b5a Changed sector brightness levels in Visual Mode to closer simulate Doom's brightness levels 2009-07-12 09:32:53 +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
0db777a5aa @ Set default key to toggle highlight to H 2009-07-10 19:23:24 +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
c543acd524 Added options for selection behavior in Visual Mode and Classic Modes (see Preferences -> Editing) 2009-07-07 11:29:56 +00:00
codeimp
5a1dfbee72 Edit Selection mode now also highlights Things for snapping 2009-07-06 08:34:14 +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
e10eccf01e Little performance optimization for undoing changed sidedef properties in Visual Mode 2009-07-05 09:40:18 +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
a42d9143e0 @ fixed bug that caused walls not to update on sector change in Visual Mode 2009-06-27 09:45:35 +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
052e0a1d63 Added undo for some Map Analysis corrections 2009-06-20 06:05:41 +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
7c2611bc5a Fixed some cases where the 2D surfaces were not updated with changes made in Visual Mode 2009-06-17 21:56:07 +00:00
codeimp
52095b9ae8 Fixed some actions auto-repeat (some where not auto-repeatable that should be) 2009-06-17 21:51:41 +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
8c91bc30ab @ fixed potential crash when using undo/redo in visual mode 2009-06-16 18:28:33 +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
129dbf241c Floodfill and texture alignment now stay within selection, if a selection was made 2009-06-12 09:44:38 +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
boris_i
f145eebada Fixed a bug where selected lines were deselected when trying to find/replace
Replacing can now be made undone
2009-05-31 12:13:37 +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
boris_i
2485c5b184 Added variable "skyflatname" as a game configuration item. It is used to ignore false positives when checking for missing textures. Updated all the game config files to make use of this feature. 2009-05-30 19:51:36 +00:00
codeimp
3efe4f5702 Added better closed sectors error check (by Boris Iwanski) 2009-05-30 15:18:21 +00:00
codeimp
0fd844bd36 Fixed bug that caused some items in the script editor autocomplete list not to select when the first few characters were typed. 2009-05-25 10:06:53 +00:00
codeimp
05bbaffb91 Added Missing Textures error check (thanks to Boris Iwanski) 2009-05-24 22:26:25 +00:00
codeimp
67c16f555e @ some intellisense documentation 2009-05-21 08:18:34 +00:00
codeimp
196c6924d1 Added options for editing ranges (highlighting, stitching and splitting) 2009-05-20 15:03:08 +00:00
codeimp
b28dc6253b @ Added IntelliSense documentation for the MapSet class 2009-05-19 09:59:19 +00:00
codeimp
98f7420b33 Fixed crash when Select Texture or Select Flat is clicked in Grid Setup dialog and no texture was previously used 2009-05-17 15:02:03 +00:00
codeimp
04b883f999 Fixed grid action names and description for clarification 2009-05-17 14:58:45 +00:00
codeimp
79116a2a42 - Added check for unused sectors and automatic removal when opening a map 2009-05-17 14:37:34 +00:00
codeimp
622ff71056 - Fixed Make Door crash when no sector is highlighted or selected
- Added HighlightedObject property to the EditMode class, the object returned depends on the editing mode and the current highlight
- Exposed several properties in the ClassicMode class
2009-05-17 14:00:36 +00:00
codeimp
ef67891c15 Made the BindMethods and UnbindMethods functions in the ActionManager public so they can be used in plugins 2009-05-16 16:45:28 +00:00
codeimp
0c5b437f64 Added a check to prevent a crash with overlapping resource lump ranges 2009-05-14 21:36:25 +00:00
codeimp
542d68370d Fixed a rendering issue when resizing the main window 2009-05-14 19:23:27 +00:00
codeimp
2fd192479d Possible fixed for alleged crash on rendering reset (after testing) 2009-05-14 18:50:08 +00:00
codeimp
660ca48611 First official release. 2009-05-14 16:57:25 +00:00
codeimp
777de39cad Fixed a bug in the drawing behavior that caused CCW drawn sectors to sometimes create a sector on the wrong side 2009-05-14 07:43:42 +00:00
codeimp
91996d4775 @ Removed unneeded pre/post build events from Statistics project 2009-05-14 05:27:11 +00:00
codeimp
9b446458c4 Resources are now only reloaded when needed due to changing resource related settings on the Game Configurations dialog 2009-05-13 22:46:03 +00:00
codeimp
e5dc72d140 Resources are now only reloaded when needed due to changing image specific settings on the Preferences dialog 2009-05-13 22:35:34 +00:00
codeimp
041a4b8a57 When strict patches loading is off, colormaps can now also be found outside C_START and C_END when a base resource defines them correctly in between C_START and C_END (or in the Colormaps subdirectory) 2009-05-13 20:54:45 +00:00
codeimp
18dccfd87f Fixed a minor drawing behavior bug 2009-05-13 20:51:03 +00:00
codeimp
848fd9e72e Fixed a bug in the drawing behavior when splitting sectors 2009-05-13 20:07:33 +00:00
codeimp
cffc939c5a Fixed updating used textures when pasting so that they are loaded and displayed on the geometry surface 2009-05-13 10:58:13 +00:00
codeimp
5bebe5087f - Fixed update of geometry surfaces in Edit Selection mode on paste and flip
- Little optimization in MarkSelected... functions
2009-05-13 09:35:13 +00:00
codeimp
5d6e077efb - Added check to remove zero-length linedefs when opening a map that has any
- Some minor interface polishing
2009-05-12 18:20:03 +00:00
codeimp
0dc2bed6d1 Fixed behavior of drawing over old lines (orientation of old lines is now preserved) 2009-05-12 11:36:52 +00:00
codeimp
16dfffb068 Added support for Boom colormaps 2009-05-12 09:50:08 +00:00
codeimp
63c22e5d2d Fixed a crash when opening the Texture Set editor 2009-05-12 08:01:50 +00:00
codeimp
953cfbd195 Fixed finding and replacing within current selection 2009-05-11 12:56:30 +00:00
codeimp
ee3182885e Changed when/how the scripts are compiled and errors are shown 2009-05-10 19:04:47 +00:00
codeimp
a196125255 Added keyword help for some script types in the script editor 2009-05-10 17:02:47 +00:00