Commit graph

322 commits

Author SHA1 Message Date
codeimp
4cbf7e6f0f double select-click (lmb) will be the same as a single edit-click (rmb) 2009-01-05 21:20:51 +00:00
codeimp
5115857b7b inserting a vertex using 'insert item' action now also splits linedefs 2009-01-05 21:00:36 +00:00
codeimp
d7bad78395 - added solution & project configurations for debug build with revision number lookup
- updated setup installer projects
2009-01-04 23:07:56 +00:00
codeimp
94dec526ea for automatic svn revision number as version number 2009-01-04 21:13:03 +00:00
codeimp
01711adabf file needed for automatic svn revision as version number 2009-01-04 20:37:38 +00:00
codeimp
ba39f00fb9 added reset texture offsets feature for visual mode 2009-01-04 18:51:32 +00:00
codeimp
45ab139ff9 - removed useless things menu
- fixed curve lines menu item in linedefs menu
- changed the test map drop down menu (nomonsters option is now in the menu instead of a seperate button)
2009-01-04 15:06:51 +00:00
codeimp
851a7c7895 - edit selection mode now also rotates thing angles
- edit selection mode now shows a rectangle selection that covers also the thing sizes
- fixed right-click to start drawing mode from linedefs mode
- fixed floor and ceiling texture coordinates in both classic modes and visual mode
2009-01-04 13:58:26 +00:00
codeimp
caada1aa57 - added feature to expand/collapse the info panel
- fixed a bug with target info in visual mode that was introduced in previous commit
2009-01-04 13:19:18 +00:00
codeimp
e36ac9f51f miauw 2009-01-04 12:27:06 +00:00
codeimp
f351822859 added full brightness toggle feature in visual mode 2009-01-04 11:59:24 +00:00
codeimp
349cf877f9 displayed target information now updates correctly when target properties are changed in visual mode 2009-01-04 11:43:13 +00:00
codeimp
f8574ace7a removing a vertex that has exactly 2 linedefs attached now leaves one linedef connected to the other linedef's vertex. also removed some unneeded template code. 2009-01-04 09:54:15 +00:00
codeimp
2448d401d7 some fixing of some things 2009-01-04 00:01:59 +00:00
codeimp
0581b119d0 another fix 2009-01-03 23:11:29 +00:00
codeimp
75d2b8b4e5 - renamed visual mode thing
- visual mode thing can now be placed/moved in any classic mode with a shortcut key
- visual mode thing flags are all set to false (off) when map is saved (to prevent it from appearing in game)
2009-01-03 22:42:08 +00:00
codeimp
d174544cd6 several fixes 2009-01-03 22:18:59 +00:00
codeimp
3dcf1c5268 performance optimization for loading of things in visual mode 2009-01-03 20:54:12 +00:00
codeimp
4ce26ad8fa linedefs with backsides only after removing a sector will now be correctly flipped 2009-01-03 14:27:51 +00:00
codeimp
4b068e93fe fixed undo level when pasting or inserting a prefab 2009-01-03 11:35:12 +00:00
codeimp
a0fa6601ce linedefs will now be correctly flipped when the selection is mirrored 2009-01-03 11:02:51 +00:00
codeimp
42fc938b77 drawing geometry without stitching now always stitches to the first drawn vertex so that a user can complete the sector drawn entirely without stitching geometry 2008-12-31 11:52:58 +00:00
codeimp
28bb966a12 added gravity, upper/lower unpegged toggle, and texture auto-alignment (both X and Y) in visual mode. also some small changes. 2008-12-31 00:44:04 +00:00
codeimp
79676b312e working on visual mode 2008-12-27 00:22:31 +00:00
codeimp
97735e5764 working on visual mode 2008-12-24 18:27:13 +00:00
codeimp
5032c58797 working on visual mode 2008-12-24 14:21:54 +00:00
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