Commit graph

557 commits

Author SHA1 Message Date
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
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
ed829d6ca8 more events for plugins they can handle by overriding the methods 2008-09-22 20:57:50 +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
b717794aed - splitten up UDMF reading/writing in seperate classes where they write to/read from a stream. the UniversalMapSetIO now simply makes use of the reader and writer.
- EmptyLongName in MapSet is now a static field
2008-09-17 19:21:45 +00:00
codeimp
0437ddff57 more code for copy/paste 2008-09-16 13:43:47 +00:00
codeimp
43559224d2 copy/paste toolbar buttons and menu items 2008-09-16 07:35:57 +00:00
codeimp
6a4ffcc498 - updated todo list
- added some icons for copy/paste
- begun working on copy/paste features
2008-09-15 21:53:00 +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