Commit graph

672 commits

Author SHA1 Message Date
codeimp
a0fa6601ce linedefs will now be correctly flipped when the selection is mirrored 2009-01-03 11:02:51 +00:00
codeimp
750507e8ad fixed crash on New Map when running without any plugins 2009-01-03 09:38:09 +00:00
codeimp
93f7b153f3 and it has to be pixel perfect! 2009-01-02 18:31:59 +00:00
codeimp
5a05905177 graphical interface fixes 2009-01-02 18:27:08 +00:00
codeimp
8cfc37a45d this check is not needed, the directory reader assumes the directory has the same layout as in PK3 files, these options are just extras 2009-01-02 14:39:25 +00:00
codeimp
bfbcffc356 working on directory resource reader 2009-01-02 14:23:57 +00:00
codeimp
ee2bc4c515 moo 2009-01-02 06:46:42 +00:00
codeimp
7b744e730a fixed a bug that sometimes caused a new drawn inner sector to be missing back references to its parent sector 2009-01-01 10:57:21 +00:00
codeimp
18e050d617 fixed bug that kept pasted things invisible 2008-12-31 16:50:10 +00:00
codeimp
31184de358 prefabs support added 2008-12-31 16:43:23 +00:00
codeimp
2b7cfbac06 flags and activations conversion to and from UDMF format (needed for copy/paste between map formats and prefabs) 2008-12-31 14:08:40 +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
83c4524ce7 drawing optimization added 2008-12-23 06:50:49 +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
43754e3671 Visual Mode button now behaves as in DB1: It disables the other editing mode buttons and pressing the Visual Mode button again will go back to the previous classic editing mode (and re-enables all editing mode buttons) 2008-12-16 14:33:41 +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
63197548a9 swapped floor height and ceiling height input fields on sector properties dialog 2008-12-15 06:53:08 +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
22d5b88baf working on visual mode 2008-12-09 22:51:27 +00:00
codeimp
fe5d5a2001 working on visual mode 2008-12-09 15:45:24 +00:00
codeimp
71282714ac better fix for lost key input after testing map 2008-12-08 06:29:30 +00:00
codeimp
1a50bc16ba fixed lost key input after testing map 2008-12-07 18:09:46 +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
fdd817f292 fixed crash when minimized 2008-12-05 08:13:39 +00:00
codeimp
4481b60b55 working on visual mode 2008-12-05 06:52:20 +00:00
codeimp
569c95064c working on visual mode 2008-12-05 06:23:24 +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
136413d29a fixed a bug that caused the object picking to be very inaccurate 2008-12-04 21:37:44 +00:00
codeimp
4b81abdb17 fixed crosshair in visual mode 2008-12-04 17:59:34 +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
e0539e626b added le plane 2008-12-01 14:21:48 +00:00
codeimp
69376ee5e0 working on visual mode 2008-12-01 06:51:00 +00:00
codeimp
e68c6d234b meh, we may need this 2008-11-30 22:32:37 +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
a2407ebc3b optimized visual mode even further: visible geometry is grouped by texture and sorted by sector (to optimize out any redundant vertex source stream switches) 2008-11-30 11:23:20 +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
5dcc9d584d this doesn't work right, i'll have to think of something better 2008-11-28 06:50:32 +00:00
codeimp
e135c279eb more on selectable editing modes 2008-11-27 19:25:13 +00:00
codeimp
6e67dba0d4 alphabetically sort editing modes list in game configuration 2008-11-27 15:01:19 +00:00
codeimp
ff4d7dae16 fixed hiding of the toolbar seperator next to editing mode buttons 2008-11-27 14:03:27 +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
b31fe3d9a7 working on visual mode 2008-11-26 22:56:53 +00:00
codeimp
ca5a2d3813 - correction in EarClipPolygon Intersect method
- Intersect method in Sector (could be useful)
2008-11-26 14:52:39 +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
308b68c506 fixed bilinear texture filter with low-quality display setting 2008-11-18 15:37:33 +00:00
codeimp
ce456494b8 texture post-filtering quality now depends on display quality set in preferences 2008-11-18 14:20:49 +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
e9bd189693 more interface settings done 2008-11-17 23:32:13 +00:00
codeimp
53eff3002b added "fixed size" things (these do not scale higher than their specified size in screen pixels) 2008-11-17 16:14:45 +00:00
codeimp
f5c635a998 added settings and view menu and more stuff 2008-11-17 00:41:52 +00:00
codeimp
7e05755944 added pascal lexer for syntax highlighting 2008-11-15 19:32:17 +00:00
codeimp
06467d718a removed unused files, updated to use slimdx november 2008 and updated the setup installer 2008-11-15 16:51:29 +00:00
codeimp
83ae7e4880 - script editor now remembers window position/size
- fixed re-opening of opened script documents after script editor was closed
2008-11-15 13:58:47 +00:00
codeimp
746fe86aea script editor roughly finished 2008-11-15 13:12:09 +00:00
codeimp
0fa7409d96 working on generalized compiler interfacing 2008-11-14 16:19:25 +00:00
codeimp
fdb004d7c3 working on generalized compiler interfacing (nodebuilders work again, now through a generalized compiler interface) 2008-11-14 10:44:03 +00:00
codeimp
ed50a992ad working on generalized compiler interfacing (note: nodebuilder temporarely out of order) 2008-11-13 23:05:16 +00:00
codeimp
d2553534cb working on script editor 2008-11-13 16:21:11 +00:00
codeimp
3b871bbd09 working on script editor 2008-11-11 16:19:50 +00:00
codeimp
72f4763c13 working on script editor 2008-11-11 06:43:33 +00:00
codeimp
869113c389 Fixed major bug in MapSet IO implementations (how can I have missed this?!) 2008-11-10 21:06:02 +00:00
codeimp
fc44793fd2 working on script editor 2008-11-10 16:11:44 +00:00
codeimp
757f798d49 methods required for script editor 2008-11-10 06:48:36 +00:00
codeimp
2a568cb7d7 working on script editor 2008-11-09 17:59:13 +00:00
codeimp
b1792c9c10 added margin images and autocomplete images in script editor 2008-11-09 10:34:03 +00:00
codeimp
360bd58b0c pretty toolbar icons for script editor 2008-11-06 22:54:23 +00:00
codeimp
e3cf7beeea allow spaces in script extensions setting 2008-11-06 16:01:33 +00:00
codeimp
89ad4527f3 working on script editor 2008-11-06 15:00:01 +00:00
codeimp
a266bd82d1 better names for these classes 2008-11-06 08:32:21 +00:00
codeimp
1dbdfd9c41 script editor panel class structure added 2008-11-05 22:20:52 +00:00
codeimp
39e6167f85 defaults for plain text editing (we don't need a config for that) 2008-11-04 18:54:47 +00:00
codeimp
0dbb3bc505 let's hide this functions bar until I implemented this feature (not required for first release) 2008-11-04 18:40:04 +00:00
codeimp
f18c544675 font 2008-11-04 15:37:52 +00:00
codeimp
1979dcfafd tooltip in script editor with function info 2008-11-04 14:06:32 +00:00
codeimp
3206fbe0e0 moo 2008-11-03 22:05:47 +00:00
codeimp
fe2fa46d9c working on script editor 2008-11-03 16:11:00 +00:00
codeimp
4a2bf61c1c working on script editor 2008-11-02 22:07:20 +00:00
codeimp
0958677cac working on script editor 2008-11-01 09:35:54 +00:00
codeimp
28d47f88d7 implemented script configurations 2008-10-31 13:47:52 +00:00
codeimp
927302bcca changed some public structures to internal (no plugin needs this) 2008-10-31 06:53:12 +00:00
codeimp
665cfb52dc working on script editor 2008-10-30 23:03:49 +00:00
codeimp
4f7aaeaa53 working on script editor 2008-10-30 21:38:55 +00:00
codeimp
b4a77cdfb5 replaced script editing control with a potentially better control (using Scintilla) 2008-10-30 20:13:12 +00:00
codeimp
f81bd4058f working on script editor 2008-10-29 10:56:14 +00:00
codeimp
fcfdbf2b7a working on script editor 2008-10-29 06:54:30 +00:00
codeimp
f2f8ccf699 fixed crash when using Pan View action and moving the mouse outside the map display 2008-10-28 13:40:09 +00:00
veilofsorrow
7426b77dc4 added view panning control 2008-10-28 12:04:28 +00:00
codeimp
d514c8837a fixed crash in Make Sector mode on empty map 2008-10-28 10:38:31 +00:00
codeimp
c184901b5e working on script editor 2008-10-27 08:19:15 +00:00
codeimp
4e07270816 working on script editor 2008-10-26 23:10:48 +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
e382f54955 tweaked 2008-10-23 11:23:11 +00:00
codeimp
28172b94bb working on map analysis mode 2008-10-23 05:53:34 +00:00
codeimp
9044a0dc41 interface corrections 2008-10-21 05:53:58 +00:00
codeimp
f2a4e640d3 interface corrections 2008-10-21 05:46:50 +00:00
codeimp
35243e3854 fixed incorrect warning about conflicting lump names when creating a new map and a map is already opened 2008-10-21 05:41:47 +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
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