Commit graph

246 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