Commit graph

688 commits

Author SHA1 Message Date
codeimp
69f608ddbc fixed left-over geometry when canceling a paste operation 2009-01-12 21:20:12 +00:00
codeimp
1d38b2b7e1 Drawing Mode and Edit Selection Mode no longer keep geometry selected when finished (it was complained that this is an annoyance) 2009-01-12 20:36:13 +00:00
codeimp
4fc36f57ac implemented sector height calculation on Edit Sector properties dialog 2009-01-12 20:25:08 +00:00
codeimp
c13aa274f0 fixed crash when selecting all vertices and deleting them 2009-01-12 19:56:44 +00:00
codeimp
3067dac119 fixed crash on merging sectors together in which case one of the sectors only has lines adjacent to the others 2009-01-12 19:51:51 +00:00
codeimp
07113b5442 fixed fuzzy thing angle business 2009-01-12 19:21:01 +00:00
codeimp
3ac56e2149 fixed another triangulation bug 2009-01-12 18:39:55 +00:00
codeimp
64de24566b removed the Fixed 4:3 Aspect option (there is no better aspect than the width divided by height for square pixels, which is pretty much all computer monitors) 2009-01-12 16:01:19 +00:00
codeimp
67751b0808 implemented Invert Y Axis mouse option and Fixed 4:3 Aspect option (but I have my doubt about the fixed aspect, is it correct? is it useful?) 2009-01-12 15:45:55 +00:00
codeimp
503be5d709 last selected Texture Set is now also remembered when it is "Others" or "All" and is the same for both the flats browser and the textures browser 2009-01-12 14:43:35 +00:00
codeimp
48559a50fb removed a piece of code which caused some of the slow downs during resources loading (and this code is not even needed anymore) 2009-01-12 10:17:07 +00:00
codeimp
45ade02d48 - changed how VersionFromSVN.exe works so that normal debug builds are made faster
- added some tests that could be useful in the future
2009-01-12 06:11:30 +00:00
codeimp
0f9f06ce88 moved files around 2009-01-11 20:50:19 +00:00
codeimp
63879df5c0 fixed sector triangulation problems 2009-01-11 20:49:20 +00:00
codeimp
d107363b59 fixed crash on missing PK3 structured subdirectories when loading data resources from a directory 2009-01-11 10:28:22 +00:00
codeimp
c9ba627df5 added a check to handle invalid DLLs in the Plugins directory 2009-01-10 22:34:36 +00:00
codeimp
5adaf2ee4b added list on Preferences Controls tab that shows the actions with the same key 2009-01-10 14:26:21 +00:00
codeimp
895c3b8a00 fixed flipping linedefs and sidedefs without selection (only highlight is needed at the very least) 2009-01-10 12:37:31 +00:00
codeimp
94c62a34a2 fixed Visual Mode camera placement with shortcut and changed camera-from-thing positioning logic a bit 2009-01-10 01:35:11 +00:00
codeimp
1f016fc7dc added wrapping of texture coordinates by texture size when auto-aligning (to prevent ridiculous high offsets on long walls) 2009-01-10 00:57:05 +00:00
codeimp
bd4ee1e556 fixed floor/ceiling geometry update when joining or merging sectors 2009-01-10 00:31:40 +00:00
codeimp
a67727fe46 removed camera code from VisualMode and created separate VisualCamera class in MapManager so that it is retained in between mode switches (keeps exact angle and position of camera intact) 2009-01-10 00:26:24 +00:00
codeimp
5adc7fd505 added a default "All" texture set which always contains all textures and (like the "Others" set) cannot be removed 2009-01-09 23:05:41 +00:00
codeimp
299f29dfe0 added controls to move texture offsets in Visual Mode by 8 pixels 2009-01-09 22:45:29 +00:00
codeimp
0faabbcdae textures in Visual Mode now correctly re-align when loaded later than the geometry is created (this solves problems with incorrectly scaled floor/ceiling textures that are not 64 x 64) 2009-01-09 22:37:11 +00:00
codeimp
81169e84fe drawing a new sector completely inside a parent sector now takes the properties of the parent sector 2009-01-09 22:04:24 +00:00
codeimp
2aedd732d3 added checks to allow opening maps with missing sidedefs, sectors or vertices (in these cases, the element requiring the missing element will be removed from the map during loading) 2009-01-09 21:25:15 +00:00
codeimp
3370d90bd0 fixed crash when using Create Prefab from Selection without any selection 2009-01-09 20:48:41 +00:00
codeimp
1982f07ab7 fixed crash on Undo after creating a sector with Make Sector tool and keeping the same highlighted 2009-01-09 06:46:58 +00:00
codeimp
74957e8dda fixed thing angles written in UDMF format 2009-01-07 20:22:12 +00:00
codeimp
cdcaccf0eb little fix for associations coloring 2009-01-07 18:05:00 +00:00
codeimp
2839d82df5 associations coloring now also works for Doom (lines referring to sectors using their own tag) 2009-01-07 16:05:17 +00:00
codeimp
447ad32c57 bug fixed that prevented editing dialogs from showing up 2009-01-07 10:44:38 +00:00
codeimp
7405b25612 - removed some test editing modes
- fixed some drawing code (this might fix the alleged 'black screen' problem some people reported)
- fixed brightness toggle in low quality display mode
2009-01-06 20:45:15 +00:00
codeimp
14aef55b7c - controls configuration now shows only available controls and explains why certain controls can't be used
- fixed some dialogs that could be overlapped when binding the same key to two actions that show a dialog
2009-01-06 09:51:14 +00:00
codeimp
c907d9c3f2 fixed a bug with dragging things that was introduced with the refactoring of the ActionManager 2009-01-06 08:57:39 +00:00
codeimp
5a5b351265 added some code I will finish tomorrow ("exclusive invocation request" to prevent some actions with the same key binds to interfere with each other) 2009-01-05 23:04:22 +00:00
codeimp
1a4b588f44 little refactoring to expose some of the ActionManager to plugins 2009-01-05 21:41:32 +00:00
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
b694ba5347 saving a map now rebuilds the entire wad file to ensure no wasted space builds up in the file 2009-01-05 19:49:55 +00:00
codeimp
9bdee81a7d added default texture sets and things filters 2009-01-05 15:57:41 +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
40c69c9e6e - fixed bug which caused thing arguments to mess up
- backups are created when saving file (up to 3)
2009-01-04 22:26:23 +00:00
codeimp
2ee589e1e8 - status bar now shows "loading resources" when it is still background loading (for clarification)
- help>about dialog now has a button to copy the version number to clipboard
2009-01-04 21:29:08 +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
c79ad3fa55 added nodebuilder configurations and fixed some nodebuilding behavior 2009-01-04 11:35:05 +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
f3354d4c0a block anything except numeric input in action selector fields 2009-01-04 00:08:26 +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
320a002677 loading resources from PK3 files implemented (tested with KDIZD, CAH and SP_USIMP) 2009-01-03 19:45:59 +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
63b4f20172 fixed invalid view/zoom when opening an empty map 2009-01-03 12:20:08 +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
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