Commit graph

155 commits

Author SHA1 Message Date
codeimp
e135c279eb more on selectable editing modes 2008-11-27 19:25:13 +00:00
codeimp
580fe3f181 oops, the EditingManager should be a general manager, not depending on the loaded map 2008-11-27 11:59:17 +00:00
codeimp
ae8daa2924 - refactored all editing mode management into the EditingManager
- added interface controls for editing mode selection in game configurations
2008-11-27 10:33:09 +00:00
codeimp
af509c3682 - some optimizations to visual mode
- changed timing to use double
- added delta time as parameter in OnProcess event
2008-11-27 06:53:38 +00:00
codeimp
659a3df7be - implemented esselfortium's idea to highlight the original sector(s) in Make Sector mode when move the mouse over potential sector areas.
- replaced direct thread-to-thread invocations with messages through the windows message pump (this solves deadlocks)
- delay-update the display when in-map images are loaded by the background thread (results in smoother performance while background loading)
- fixed enabling/disabling some menu items
2008-11-18 13:05:04 +00:00
codeimp
f5c635a998 added settings and view menu and more stuff 2008-11-17 00:41:52 +00:00
codeimp
d514c8837a fixed crash in Make Sector mode on empty map 2008-10-28 10:38:31 +00:00
codeimp
b4fcd78897 moved intuitive line drawing code to doom builder core 2008-10-26 09:49:06 +00:00
codeimp
46434b8b7c working on map analysis mode 2008-10-24 05:50:37 +00:00
codeimp
27e05b7f1b moo 2008-10-23 22:01:07 +00:00
codeimp
cc292c9c40 more work on error checking 2008-10-23 19:08:55 +00:00
codeimp
ed5bb35c7c more work on error checking 2008-10-23 11:36:00 +00:00
codeimp
28172b94bb working on map analysis mode 2008-10-23 05:53:34 +00:00
codeimp
3773dbdbd4 right mousebutton inserts new thing in things mode 2008-10-20 05:44:07 +00:00
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
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
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
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
ae79633c39 cleaning up 2008-10-07 14:46:36 +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
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
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
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
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
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
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
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
e30b68c9c3 UDMF on top! 2008-06-01 20:25:46 +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
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
efdc703f94 moo 2008-05-26 10:36:41 +00:00
codeimp
c2a5ca1c8e automatically remove new lines without sides after drawing 2008-05-19 06:51:55 +00:00
codeimp
5d5b9d1c33 - added curve lines code (by Anders Ã…strand)
- updated logo images
2008-05-18 20:03:09 +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
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
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
7416731833 beginning of curve lines editing mode 2008-05-15 19:31:11 +00:00
codeimp
4dd8877eba - renamed selection methods
- create undo for flipping linedefs/sidedefs
2008-05-15 12:54:02 +00:00
codeimp
bc8151d7f7 - added flip linedefs mode
- fixed shortcut key descriptions in menu
2008-05-15 12:36:55 +00:00
codeimp
7e6d49450c added the On* prefix to all event methods 2008-05-15 08:10:29 +00:00
codeimp
d7656f1f3b - added some new menus in the plugin
- volatile mode may not be started from a volatile mode by shortcut key!
- added ability to cancel an editing mode change
- added mipmap levels setting to images (this fixes blurred fonts in low-quality display)
2008-05-14 21:48:36 +00:00
codeimp
9f07f2ef2c - nice wrapper for line length labels
- line length labels while drawing!
2008-05-13 17:11:33 +00:00
codeimp
77720694a3 - added proper text rendering
- linedef lengths visible when dragging geometry
- included my ancient bitmap font creator
2008-05-13 14:24:35 +00:00
codeimp
737886ca8b fixed invisible lines when dragging from lines mode 2008-05-09 16:57:12 +00:00
codeimp
d338487e69 - fixed non-stitching geometry drawings
- renamed Association color to Indication (more a general-purpose color)
2008-05-08 22:01:37 +00:00
codeimp
6f255e1866 - introduced "volatile" editing modes
- automated exclusive mouse mode management
- fixed bug with actions that never ended when a dialog appears
2008-05-08 16:39:14 +00:00
codeimp
33d2af5417 few bugfixes 2008-05-08 13:44:48 +00:00
codeimp
8f8690aac3 "intuitive" default build properties and sorted textures/flats in browsers 2008-05-08 13:04:18 +00:00
codeimp
51f57471c7 geometry drawing fixes 2008-05-08 12:04:20 +00:00
codeimp
3214ef4593 some little fixes in drawing geometry 2008-05-08 05:45:30 +00:00
codeimp
e63ee4dc81 worked on geometry drawing (i think it is actually working perfect now, aside from some default settings on the new sidedefs then) 2008-05-07 22:46:15 +00:00
codeimp
c43f0dc3a6 little bit more on geometry drawing (still unfinished) 2008-05-06 21:31:20 +00:00
codeimp
3e5d429393 - fixed stitch distance
- fixed bug in FlipBackwardLinedefs
2008-05-06 05:41:36 +00:00
codeimp
d0f6963fb2 some fixes and additions with floating point vertices 2008-05-05 22:22:53 +00:00
codeimp
4522698765 completely got rid of integral vertex coordinates (now all floating point) 2008-05-05 22:01:27 +00:00
codeimp
87ca45f93d more on geometry drawing 2008-05-05 21:38:52 +00:00
codeimp
3c0e66a36e some improvements in sector drawing (still very buggy though) 2008-05-05 18:21:13 +00:00
codeimp
b5b7875f75 - limited possible characters typed for map lump name
- improved sector making and drawing
2008-05-05 15:35:58 +00:00
codeimp
1ada9addf3 - added SectorMaker (unfinished)
- changed a lot in data management
- less memory usage by texture browsers
2008-05-05 14:22:36 +00:00
codeimp
72b14c37bd some more drawing code (still unfinished) 2008-05-01 19:31:49 +00:00
codeimp
e95a24f281 the "Marked" property of map elements now indicates the set we are working with, not the user selection 2008-05-01 14:10:38 +00:00
codeimp
018f8ab26a these don't need to be protected, class is sealed. 2008-05-01 12:08:40 +00:00