Commit graph

484 commits

Author SHA1 Message Date
codeimp
f2c08e64a5 improved the make door feature 2008-10-19 09:42:18 +00:00
codeimp
96dc652632 create undo snapshot before actually making the door! 2008-10-17 09:44:10 +00:00
codeimp
38f1cb6c3a make door feature added 2008-10-17 09:39:07 +00:00
codeimp
7e664d1ba9 added selection groups! 2008-10-16 09:33:35 +00:00
codeimp
67747188ca fixed bug with default shortcut keys 2008-10-16 09:23:25 +00:00
codeimp
800dc6a620 generalized selectable map elements in a base class 2008-10-16 08:45:23 +00:00
codeimp
6d1f43c7c6 - added feature to display an image from file on the background along with ability to scale it
- fixed some scaled sizes in some image data classes
2008-10-15 19:14:32 +00:00
codeimp
1bf3ab747c changed the make sector mode to work properly with the new view modes 2008-10-15 18:15:23 +00:00
codeimp
02573549f0 changed the brightness mode to work properly with the new view modes 2008-10-15 18:09:56 +00:00
codeimp
279b974683 - some bug fixes in the view modes
- fixed some bugs in resources loading
2008-10-15 17:26:59 +00:00
codeimp
b120c567bc generic system to display sector brightness and textures in their polygons (still buggy, working on it) 2008-10-15 11:46:43 +00:00
codeimp
e029efcbe6 - made some processed command line settings available to plugins
- General.Exit() method for plugins to close Doom Builder
- command-line parameter -delaywindow to keep the main window hidden until nothing more to process. This gives plugins the ability to perform an operation without showing the main window at all if the plugin calls General.Exit() before the window is shown. Usefull for batch processes in which no interface window is desired.
- some new plugin events that occur before and after making a new map and opening a map.
2008-10-13 17:47:08 +00:00
codeimp
b45ae2b905 - removed the million parameters that create an action and let the action read them from configuration itsself
- added optional default key setting to actions
- updated default keys in default user configuration
2008-10-09 05:49:46 +00:00
codeimp
4f92956d44 controls in preferences dialog are now sorted in categories 2008-10-08 22:01:10 +00:00
codeimp
5056eddc65 fixed some bugs I made while making little optimizations 2008-10-08 20:09:44 +00:00
codeimp
afb1c80c4a faster background loading 2008-10-08 19:02:35 +00:00
codeimp
b5e1ecbec1 - fixed bug in regex generator for texture sets (* behaved as 'one or more characters', now behaves as 'zero or more characters')
- fixed bug in removing multiple selected texture sets at once (only removed one at a time)
2008-10-08 18:05:31 +00:00
codeimp
cef46a2386 mode must be disposed when cancelled 2008-10-08 15:15:45 +00:00
codeimp
ab28c9d66b better way to cancel editing mode 2008-10-08 15:14:02 +00:00
codeimp
0fd6efb82f renamed events OnEndSelect to OnSelectEnd and OnEndEdit to OnEditEnd for naming consistency 2008-10-08 14:24:21 +00:00
codeimp
8b6a6754ab renamed events OnSelect to OnSelectBegin and OnEdit to OnEditBegin for naming consistency 2008-10-08 14:19:09 +00:00
codeimp
53ff1e1fa1 - undo/redo support in brightness mode
- added OnUndoEnd and OnRedoEnd events to editing modes
2008-10-08 13:57:43 +00:00
codeimp
07c45ff90f - userfriendlyness additions in brightness mode
- gradient feature working in brightness mode
- fixed bug in tags renaming when adding button to form (buttons where ignored because the function unnecessarily checked for menu items)
2008-10-08 12:56:12 +00:00
codeimp
e8b9cb3a30 - tweaked the font
- fixed bugs in sectors mode
- worked on brightness mode
2008-10-08 12:32:08 +00:00
codeimp
1a6641f46b working on the brightness mode 2008-10-08 05:45:24 +00:00
codeimp
3117725c15 labels in brightness mode 2008-10-07 15:19:55 +00:00
codeimp
e43acf03d7 forgot to clean this reference up as well 2008-10-07 14:56:43 +00:00
codeimp
ae79633c39 cleaning up 2008-10-07 14:46:36 +00:00
codeimp
09da6dbefd nice automatic label positions for sectors 2008-10-07 12:54:15 +00:00
codeimp
f941f7a7ad more on label positions 2008-10-07 08:58:11 +00:00
codeimp
496619d211 triangulation properties wrapped as read-only 2008-10-07 08:20:29 +00:00
codeimp
5a0ef82fec 2008-10-07 07:42:55 +00:00
codeimp
6af1a93695 2008-10-07 07:34:51 +00:00
codeimp
46935a6132 sector triangulator changes 2008-10-07 05:50:39 +00:00
codeimp
2dd337cffa renamed SectorTools to Tools and removed useless Polygon class (methods are in Tools now) 2008-10-06 19:33:13 +00:00
codeimp
c678e615a2 experimental label position calculator 2008-10-03 14:31:25 +00:00
codeimp
bf318ac472 - fixed sorting of texture sets in browsers
- discarding first texture because it cannot be used (also first flat in case of mixed textures/flats)
2008-10-02 18:53:07 +00:00
codeimp
a6fb612c55 sector brightness in 3d mode 2008-10-02 11:36:25 +00:00
codeimp
645df3c997 fixed bug where Add Default Sets would add sets from the current configuration instead of selected configuration (this also fixes the crash when no map is opened) 2008-10-02 09:04:56 +00:00
codeimp
6a0e4dff25 correction: * wildcard is zero or more characters 2008-10-01 21:04:29 +00:00
codeimp
776fe32988 bigger browsers 2008-10-01 20:45:56 +00:00
codeimp
0b0f3777ac fixed incorrect red "busy" status light 2008-10-01 20:30:29 +00:00
codeimp
6d6b594c24 small user-interface improvements regarding texture sets and texture browsers 2008-10-01 20:04:50 +00:00
codeimp
8702f7c60c - disabled atlas system for texture previews (appeared to be slower than separate images)
- small fixes and adjustments
2008-10-01 18:19:53 +00:00
codeimp
6f23292b8c - made the images in texture browsers fixed size and smaller
- texture set without any texture names will not match anything
2008-10-01 17:35:34 +00:00
codeimp
fbe1dac0c6 texture sets pretty much done 2008-10-01 15:06:46 +00:00
codeimp
dfab6c4183 working on texture sets 2008-10-01 14:17:52 +00:00
codeimp
006146b7a8 working on texture sets 2008-10-01 12:42:30 +00:00
codeimp
6659577b27 started work on texture sets 2008-10-01 08:21:10 +00:00
codeimp
edee6a40c2 started work on texture sets 2008-09-30 15:09:37 +00:00
codeimp
5bd2fd9f94 - game configuration corrections (thanks to Robin Palmer)
- fixed nomonsters button which was enabled even when no map was opened
2008-09-29 18:53:30 +00:00
codeimp
10cf14540d moo, pointers are cool 2008-09-28 22:34:09 +00:00
codeimp
1dad4b68c6 - change a lot in the resources system
- fixed memory leak in PixelColorBlock
- several small changes and bugfixes
2008-09-28 21:20:56 +00:00
codeimp
996a56dafc DOES NOT COMPILE - working on resource management 2008-09-26 15:15:56 +00:00
codeimp
4d67cc7dd4 - added button to switch monsters on/off for testing (adds -nomonsters to parameters)
- preparations for new resource management
2008-09-26 05:53:34 +00:00
codeimp
5c93390222 better icons for the status bar buttons (arrows now point up) 2008-09-25 18:42:45 +00:00
codeimp
51679564a9 fixed fov in 3D mode 2008-09-24 22:10:22 +00:00
codeimp
90c7beb17d - fixed crash in DisengageVolatileMode() when opening a map
- shortcut keys now also displayed for editing modes
2008-09-24 16:44:53 +00:00
codeimp
b6aa1ae9ae modes in their own menu, instead of edit menu 2008-09-24 15:14:29 +00:00
codeimp
116e9ca877 warnings now appear in same area in status bar as status messages 2008-09-24 14:53:42 +00:00
codeimp
15693e1ca8 moo 2008-09-24 12:00:55 +00:00
codeimp
dcda9cdab3 - added automatic heights adjustments when pasting geometry
- fixed a merging bug
2008-09-24 11:26:23 +00:00
codeimp
4fe3645740 smalled grab handles and no immediate dragging after pasting 2008-09-24 09:26:26 +00:00
codeimp
2228a6b7f7 better merging with pasted geometry 2008-09-24 05:51:28 +00:00
codeimp
2964b1fea9 fixed two bugs in copy/paste 2008-09-23 20:33:56 +00:00
codeimp
8d3d00372b even better copy/pasting 2008-09-23 17:46:34 +00:00
codeimp
5a47093999 bug fixes in pasted geometry merging 2008-09-23 10:12:39 +00:00
codeimp
a71999542e more copy/paste code 2008-09-23 10:04:10 +00:00
codeimp
ed829d6ca8 more events for plugins they can handle by overriding the methods 2008-09-22 20:57:50 +00:00
codeimp
b1ccdbbc7f lots of stuff (including half decent copy/paste) 2008-09-22 18:27:50 +00:00
codeimp
fccba768f0 copy/paste test 2008-09-17 20:16:29 +00:00
codeimp
b717794aed - splitten up UDMF reading/writing in seperate classes where they write to/read from a stream. the UniversalMapSetIO now simply makes use of the reader and writer.
- EmptyLongName in MapSet is now a static field
2008-09-17 19:21:45 +00:00
codeimp
0437ddff57 more code for copy/paste 2008-09-16 13:43:47 +00:00
codeimp
43559224d2 copy/paste toolbar buttons and menu items 2008-09-16 07:35:57 +00:00
codeimp
6a4ffcc498 - updated todo list
- added some icons for copy/paste
- begun working on copy/paste features
2008-09-15 21:53:00 +00:00
codeimp
241a271bd0 small improvements to EditSelectionMode 2008-09-15 19:55:03 +00:00
codeimp
2c5ccfa81f - more functional EditSelectionMode
- linked image in about box? let's link on the website later on
2008-09-15 19:42:11 +00:00
codeimp
43585ec158 moo 2008-09-13 13:27:20 +00:00
codeimp
d41d7c2ec1 updated to latest SlimDX version (september 2008) 2008-09-13 13:24:06 +00:00
codeimp
f1342ae6e9 not currently used, but the VS project needs this because i added it 2008-09-12 13:37:10 +00:00
codeimp
0c77136c30 - clearing selection now editing mode's responsibility (because it is not wanted in all modes)
- fixes flashing of editing mode name and button when editing mode refuses to engage
- a highlight also works now for classic modes to go to EditSelectionMode
2008-09-12 05:50:19 +00:00
codeimp
6b1bc51dda fixed bug: changing skill now also updates the example result parameters 2008-09-10 18:34:26 +00:00
codeimp
35e2a46458 - fixed incorrect comment in UniversalMapSetIO
- fixed bug that prevented a user from adding custom UDMF fields to any element
2008-09-10 15:00:23 +00:00
codeimp
8a3e761896 each basic mode now takes care of converting the current selection as best as possible for that mode 2008-09-10 12:44:38 +00:00
codeimp
e9fea4b543 - fixed bug in things filter manager
- added skills to test map with in dropdown menu from toolbar
2008-09-10 08:43:20 +00:00
codeimp
cd6ee145a2 - added option to customize testing parameters (default uses parameters from configuration)
- added new placeholders %L1 and %L2 which result in the first and second map number (usefull for -warp)
- clicking outside the selection in EditSelectionMode accepts the changes and returns to previous mode
2008-09-09 23:06:31 +00:00
codeimp
ed66294339 added rotation snapping to 45 degrees in EditSelectionMode 2008-09-09 17:59:49 +00:00
codeimp
2478719da0 - fixed bug in alignment with vertices
- tweaked some visual settings
2008-09-09 13:10:23 +00:00
codeimp
19ef987556 - some minor bug fixes
- added snapping to grid and snapping to nearest vertex for resize in EditSelectionMode
- added line that shows the alignment during resize in EditSelectionMode
2008-09-09 12:20:39 +00:00
codeimp
3dc2e39764 working EditSelectionMode! 2008-09-09 05:52:11 +00:00
codeimp
eb08197d56 begun working on EditSelectionMode (unfinished) 2008-09-07 21:28:20 +00:00
codeimp
8a94d9431f fixed bug: DB2 configs use "gameconfig" setting in map settings as it is incompatible with "config" from DB1 2008-09-07 17:56:54 +00:00
codeimp
e77a91eec4 added support for loading maps with command line arguments 2008-09-07 17:55:20 +00:00
codeimp
354a2248ee namespace correction 2008-09-07 17:52:16 +00:00
codeimp
0e195eb605 fixed RenderRectangle border coordinates 2008-09-02 14:50:14 +00:00
codeimp
6b8f631bf8 fixed close button on Find/Replace window and fixed crash after closing the Find/Replace window with the X button 2008-09-01 12:41:45 +00:00
codeimp
eea16ffa2c added find/replace mode feature (not all find/replace types implemented yet, but mode is functional, adding types is a just matter of making the right classes for them) 2008-09-01 12:14:35 +00:00
codeimp
3b07c29c39 added automatic association highlighting for things, sectors and linedefs 2008-06-19 07:25:01 +00:00
codeimp
1bd143c9b3 - added Make Sectors mode
- added editing mode name at the bottom information bar
- some bugfixes in game configurations
2008-06-11 05:02:48 +00:00
codeimp
c37b28e15f - improved game config guessing to better detect UDMF when map is opened
- added game config detection pattern to Doom Legacy game config
- insert thing feature added, including automatic thing defaults
- fixed typo in all game configs (defaulthingflags -> defaultthingflags)
2008-06-10 11:32:06 +00:00
codeimp
66052a82f7 added grid controls 2008-06-10 08:35:14 +00:00
codeimp
0bc23a5893 some bug fixes and completed the things filter 2008-06-03 19:02:06 +00:00
codeimp
c2b5745803 more work on the custom fields editor 2008-06-03 15:18:50 +00:00
codeimp
e640dfbc04 more work on the custom fields editor 2008-06-02 20:34:52 +00:00
codeimp
aa398bcf70 - fixed browse button in custom UDMF fields editor
- doubleclick in custom fields editor starts field rename
2008-06-02 05:49:23 +00:00
codeimp
42658288f8 changed how it remembers custom UDMF field types 2008-06-02 05:01:18 +00:00
codeimp
8d3b7a554b bugfixes in UDMF support 2008-06-02 04:55:51 +00:00
codeimp
e30b68c9c3 UDMF on top! 2008-06-01 20:25:46 +00:00
codeimp
2b9a233579 lots more UDMF code 2008-05-31 19:31:45 +00:00
codeimp
9f15de8cd5 - updated default program config
- more regarding UDMF editing
- added some ideas and todo items
2008-05-30 22:14:12 +00:00
codeimp
a04500f071 made the universal field editor control work with the type handlers 2008-05-30 11:05:44 +00:00
codeimp
c2479dc0b5 - added UDMF 1.0 specifications
- generalized map elements and added universal fields to generalization
2008-05-30 08:41:13 +00:00
codeimp
178b6d1067 wider combobox dropdown for enumerations in argument boxes 2008-05-29 22:36:17 +00:00
codeimp
7673c6e08e linedef and thing action arguments in info panels 2008-05-29 22:19:29 +00:00
codeimp
ab5fd39c24 we don't need this anymore 2008-05-29 21:11:16 +00:00
codeimp
54c8a82517 typed arguments complete and ready for typed UDMF fields 2008-05-29 21:09:43 +00:00
codeimp
fef9b74ca2 some stuff with argument types 2008-05-29 16:44:20 +00:00
codeimp
8aa99cfb88 separated the Interface namespace into Controls and Windows 2008-05-29 11:54:45 +00:00
codeimp
d73ec193bf renamed Controls namespace to Actions in preparation for separation of user controls into Controls namespace 2008-05-29 11:34:01 +00:00
codeimp
b5077df65b thunder coming up, saving my work before harddisk fries 2008-05-29 10:17:26 +00:00
codeimp
821f557978 added enums support for linedef arguments 2008-05-28 18:55:01 +00:00
codeimp
544cd7cbd6 changed linedef types in configurations to proper structures 2008-05-27 22:02:51 +00:00
codeimp
dc158d2407 - things filters! (filtering by fields doesn't work yet, will complete that when UDMF has been implemented)
- several bug fixes
2008-05-26 20:06:15 +00:00
codeimp
2ac020e481 undo/redo information in log 2008-05-26 13:11:25 +00:00
codeimp
87ea1c0e51 now plugins can add their own buttons to the toolbar 2008-05-26 12:14:48 +00:00
codeimp
efdc703f94 moo 2008-05-26 10:36:41 +00:00
codeimp
cfdddb66ee - fixed some bugs in the shaders
- included VC80 redist libraries (required for slimdx)
- updated todo list
2008-05-26 06:54:32 +00:00
codeimp
91d111a734 updated shaders 2008-05-23 09:54:51 +00:00
codeimp
aee5ae3fb8 - fixes in rendering when display mode changed
- test map feature
2008-05-23 06:00:37 +00:00
codeimp
1b1a243983 - "save into" implemented (really just a modified copy of "save as", needs testing)
- added function to find the first IWAD (needed for testing parameters)
- removed the nodebuilder option for 3D mode, we don't need a nodebuilder for 3D mode anymore
- removed test parameters information and increased parameter input field (the info will go in help files)
2008-05-22 12:03:33 +00:00
codeimp
91a5f8e41f - ask to save map when closing application
- updated about dialog with version info and slimdx logo
2008-05-19 21:33:07 +00:00
codeimp
c2a5ca1c8e automatically remove new lines without sides after drawing 2008-05-19 06:51:55 +00:00
codeimp
f5673a06d5 set minimum angle in CurveLinedefsForm to 1, or it will create an invalid curve 2008-05-18 20:36:25 +00:00
codeimp
5d5b9d1c33 - added curve lines code (by Anders Åstrand)
- updated logo images
2008-05-18 20:03:09 +00:00
codeimp
747a8929a9 constants for minimums and maximums in CurveLinedefsForm 2008-05-18 19:02:36 +00:00
codeimp
132ef51429 - fixed automatic polygon close bug in DrawGeometryMode
- small optimizations in LinedefAngleSorter
- fixed curve linedefs dialog input boxes
2008-05-18 18:32:56 +00:00
codeimp
1ac9399658 now allows a plugin to read/write their own settings (in their own private scope) 2008-05-18 15:43:49 +00:00
codeimp
11151c36cc - map changed fixes
- toolbar buttons fixed
2008-05-18 11:56:45 +00:00
codeimp
12eb6fdaf2 lots of rendering changes 2008-05-18 11:43:28 +00:00
codeimp
1d58484dd3 - created dynamic presentation pipeline
- added sectors brightness editing mode
2008-05-18 07:31:33 +00:00
codeimp
5c90215666 colored thing icons in tree view 2008-05-17 20:36:03 +00:00
codeimp
a5a6119190 thing dialog and bunch minor of fixes/changes 2008-05-17 17:43:57 +00:00
codeimp
e2e9e17985 some fixes and the ability to start drawing with right-click (Edit) when nothing is highlighted 2008-05-17 08:00:25 +00:00
codeimp
8805a48058 - 'delete item' implemented for all elements
- fixed bug with disposing a Vertex
2008-05-17 06:24:16 +00:00
codeimp
b8be666814 - support for setting mouse cursors from plugin
- added Insert Vertex action (for all classic modes)
- added Split Linedefs action
- fixed bugs when unused vertices or unused sectors are joined
2008-05-16 21:48:23 +00:00
codeimp
8c777ca780 - prevented showing editing dialog when EndEdit was the result of a BeginEdit action started from another mode (which is normal behavior and desired in some cases, such as dragging)
- implemented Accept action and corresponding OnAccept event for all editing modes
2008-05-16 21:08:36 +00:00
codeimp
0d35ce0536 - fixed bug introduced with automatic release of all keys when a dialog appears on BeginAction causing an EndAction which shows a dialog to run twice
- implemented Join Sectors and Merge Sectors
- added an ordered selection list to SectorsMode
- removed selection on undo/redo
- Interface AddMenu now completes short action names on menu items Tag property to fully qualified action names depending on calling plugin
2008-05-16 20:00:49 +00:00
codeimp
d72ebc4330 - removed some unneeded code
- finished CurveLinedefsMode (except for Anders_A's code)
- added public method to cancel editing modes
2008-05-16 10:55:25 +00:00
codeimp
df4ad6d2e0 degrees/radian conversion tools 2008-05-15 19:48:07 +00:00
codeimp
7416731833 beginning of curve lines editing mode 2008-05-15 19:31:11 +00:00