Commit graph

259 commits

Author SHA1 Message Date
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
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
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
67c16f555e @ some intellisense documentation 2009-05-21 08:18:34 +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
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
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
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
codeimp
ec40df4765 Improved error reporting a little and changes the list in the Warnings & Errors dialog window 2009-05-10 16:02:08 +00:00
codeimp
db132c30e8 Fixed the "within current selection" option in Find & Replace mode 2009-05-09 11:37:55 +00:00
codeimp
9b8e06299a Some changes to the drawing behavior to minimize the chance it will fix self-referencing sectors 2009-05-09 06:49:01 +00:00
codeimp
a4dedc56a3 - Sector splitting fix
- Adjusted vertical line spacing to text in script editor for readability
2009-05-06 20:41:12 +00:00
codeimp
049b0a7954 Fixed tabs in script editor 2009-05-06 19:08:37 +00:00
codeimp
91b76bcb5b Changed drawing behavior so that drawn lines are not corrected to clockwise orientation 2009-05-06 14:50:17 +00:00
codeimp
65521d1ea6 Some drawing/merging behavior cosmetics 2009-05-06 10:06:45 +00:00
codeimp
abfb16c35d Fixed a bug with sector highlighting in Visual Mode (occurred when a sector contains lines that have the same sector on both sides) 2009-05-06 07:26:12 +00:00
codeimp
31d742a073 - Decreased intensity of the selection in visual mode
- Fixed a crash in UDMF custom fields editor
2009-05-05 21:13:50 +00:00
codeimp
e7541be243 Some fixes 2009-05-05 19:12:36 +00:00
codeimp
88449b7c01 Added Tab key in images browser to jump between the same image in "Used textures" and "Available textures" areas. 2009-05-05 12:24:00 +00:00
codeimp
e26591bd4a Changed a lot in undo/redo system to work better with grouping and plugins 2009-05-05 09:50:23 +00:00
codeimp
0cbdc0209c - Changed a lot of things in the setup installer
- Changed the menu and status bar color to Tan instead of Blue for the default XP theme
- Fixed a crash after a warning when Direct3D could not be started
2009-05-04 16:07:14 +00:00
codeimp
f594a67f5b - Fixed an error message when Direct3D cannot be started
@ Removed debug setup installer and updated a message in the release installer
2009-05-04 07:46:44 +00:00
codeimp
b5491b4b08 - Fixed some visual mode editing bugs
- Fixed highlight and selection in visual mode when shader model 2.0 is not available
- Added option to turn off glow animation of highlight and selection in visual mode
2009-05-04 06:13:56 +00:00
codeimp
d3c87b2a71 - Pixel Shader model 2.0 is now always used when available (regardless of High Quality Display option)
- Edit Selection mode now updates surface geometry when drag is released
2009-05-03 20:21:52 +00:00
codeimp
6f5f441ea6 @ Removed redundant ApplySettings() on shader used in visual mode RenderSinglePass() 2009-05-03 20:05:08 +00:00
codeimp
634efc6ee4 Added selection feature in Visual Mode (click left mouse button to select) 2009-05-03 19:22:32 +00:00
codeimp
fd9308d74f @ work in progress (do not use this revision) 2009-05-02 14:59:05 +00:00
codeimp
ad05a43ade @ work in progress (do not use this revision for building/testing) 2009-05-01 20:31:17 +00:00
codeimp
fa6e71419d Spelling corrections. 2009-04-27 14:34:59 +00:00
codeimp
2de3464d30 @ created a release build batch file and removed the "with revision lookup" project configs 2009-04-27 09:18:35 +00:00
codeimp
2d926198a9 Fixed some issues with keys and scrollwheel input after a dialog window has been shown 2009-04-26 21:38:45 +00:00
codeimp
69c6dd8d03 Fixed some sprite texture errors in Visual Mode 2009-04-26 20:20:40 +00:00
codeimp
63c474064d - Fixed the tab order on all windows
- Some visual aesthetics
@ Fixed the "Release with revision lookup" config output directories
2009-04-26 19:53:36 +00:00