Commit graph

296 commits

Author SHA1 Message Date
codeimp
21819e8010 keep the loading sprite in visual things square 2008-12-20 10:30:18 +00:00
codeimp
5b223fc3df drag texture offsets in visual mode 2008-12-17 19:35:00 +00:00
codeimp
8192c3c058 working on visual mode 2008-12-17 15:30:50 +00:00
codeimp
04faf905c1 things that 'hang from ceiling' now correctly displayed in visual mode 2008-12-17 10:58:57 +00:00
codeimp
94d538434c starting draw mode with right-click now also snaps to the grid or geometry (unless shift or control is used) 2008-12-16 15:10:40 +00:00
codeimp
44e2103397 added action to toggle visual things on, off and uncaged 2008-12-15 22:13:24 +00:00
codeimp
83a4123dba 2008-12-15 19:05:21 +00:00
codeimp
b88b09229c changed inheritance to use an interface that defines the events (this was required to support the same events for visual things) 2008-12-15 18:32:36 +00:00
codeimp
ea7feec9e5 things included in visual mode object picking 2008-12-15 15:54:22 +00:00
codeimp
e09736a2e9 working on visual mode 2008-12-14 23:36:24 +00:00
codeimp
27f4acac04 thing in cages 2008-12-14 23:24:40 +00:00
codeimp
93522a1461 sprite icons 2008-12-11 10:59:35 +00:00
codeimp
53a1f085ab happy birthday doom! 2008-12-10 22:58:58 +00:00
codeimp
5db0757020 working on visual mode 2008-12-10 16:00:34 +00:00
codeimp
fe5d5a2001 working on visual mode 2008-12-09 15:45:24 +00:00
codeimp
5dd57082b5 adjusted allowed thing stuck distance 2008-12-07 17:35:34 +00:00
codeimp
3daf9307e9 - created MapSet serialization system for undo/redo
- added hourglass crosshair in visual mode for time consuming actions
2008-12-06 13:20:47 +00:00
codeimp
9d8060be0c working on visual mode 2008-12-06 00:28:49 +00:00
codeimp
0102cf3166 working on visual mode 2008-12-05 15:38:50 +00:00
codeimp
4481b60b55 working on visual mode 2008-12-05 06:52:20 +00:00
codeimp
7a081986f2 merged VisualSidedef into VisualGeometry so that only one VisualGeometry class is exposed by the core and can be easily inherited and overridden in the plugin. 2008-12-04 23:01:52 +00:00
codeimp
c987240b5e added a small layer of fog to the far plane (looks nicer than just cutting off the geometry) 2008-12-04 22:35:45 +00:00
codeimp
95f6dcee6a working on visual mode 2008-12-03 07:04:57 +00:00
codeimp
04b86253e4 working on visual mode 2008-12-02 15:47:06 +00:00
codeimp
1336103adc working on visual mode 2008-12-02 06:53:24 +00:00
codeimp
69376ee5e0 working on visual mode 2008-12-01 06:51:00 +00:00
codeimp
858e36acef added different render passes and fixes a bug which caused some lines to be drawn multiple times unnecessarily 2008-11-30 22:04:30 +00:00
codeimp
9513eabd58 textures now properly aligned in visual mode 2008-11-30 20:46:39 +00:00
codeimp
43a0e69de7 visual mode extreme makeover! (internally at least) now using proper view frustum for culling and lots of other improvements to render the map more efficiently 2008-11-30 02:17:19 +00:00
codeimp
e135c279eb more on selectable editing modes 2008-11-27 19:25:13 +00:00
codeimp
d49b31dfc0 miauw 2008-11-27 13:42:18 +00:00
codeimp
bc465effea moo 2008-11-27 12:37:20 +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
0fee24865c working on visual mode 2008-11-25 21:54:50 +00:00
codeimp
a3e9e54b74 working on visual mode 2008-11-20 21:32:23 +00:00
codeimp
eee46b13f2 working on visual mode 2008-11-19 16:18:36 +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
00bf885d5e typos 2008-10-25 15:55:00 +00:00
codeimp
abc2bab6e1 error checking for overlapping lines that do not reference the same sector on all sides 2008-10-25 10:34:32 +00:00
codeimp
e059562e72 2008-10-24 19:16:38 +00:00
codeimp
415820af86 added two error-check results for line references 2008-10-24 19:16:23 +00:00
codeimp
22d903c630 more work on map analysis 2008-10-24 14:53:04 +00:00
codeimp
180e252163 2008-10-24 09:40:55 +00:00
codeimp
dfa7a74ce5 NOTE: An ErrorChecker may NEVER modify the map, because it runs multithreaded with other ErrorCheckers. Do not even change element properties such as 'marked' and 'selected'! 2008-10-24 09:19:05 +00:00
codeimp
d7a843938a sorting error checkers with highest cost first (estimated CPU usage) 2008-10-24 07:39:29 +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
b82c18064f more work on error checking 2008-10-23 13:33:59 +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
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
4f92956d44 controls in preferences dialog are now sorted in categories 2008-10-08 22:01:10 +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
a6fb612c55 sector brightness in 3d mode 2008-10-02 11:36:25 +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
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
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
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
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
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
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
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
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
6b2ba4f2d6 added more missing files 2008-05-15 08:56:23 +00:00
codeimp
e962a49f83 what?! these files were not in the svn?! 2008-05-15 08:25:45 +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
7c08847a5b prepared for more plugin features 2008-05-13 22:28:30 +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
3fd1ce1e8d fixed more compiler settings 2008-05-10 18:14:48 +00:00
codeimp
a12981abc7 - added font resources
- fixed target CPU compiler settings
2008-05-10 18:06:09 +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