Commit graph

810 commits

Author SHA1 Message Date
codeimp
575bff4aa8 Thing and linedef arguments are now reset to 0 when action 0 (none) is selected 2009-02-25 14:52:36 +00:00
codeimp
eb70e99e6f Added support for //$Sprite in DECORATE actor structures (this will override DBs automatic sprite choice for the actor) 2009-02-25 13:28:31 +00:00
codeimp
24c4c165d0 Fixed a triangulation bug 2009-02-25 10:54:18 +00:00
codeimp
d48fd37b57 Changed RemoveUnneededTextures so that it never removes 'unneeded' textures when the line has a tag or action or either of the two sectors has a tag 2009-02-24 21:33:24 +00:00
codeimp
0247329122 - Pressing Insert on a wall in Visual Mode now creates a middle texture
- Pressing Delete on a wall in Visual Mode now removes the texture (makes it a dash -)
2009-02-23 22:22:28 +00:00
codeimp
82b127f6fa Fixed bug with texture flood-fill creating middle textures on doublesided lines when filling missing textures (-) 2009-02-23 19:32:34 +00:00
codeimp
8336309dc8 Grid and background image settings are now saved along with the map 2009-02-23 18:23:39 +00:00
codeimp
f647a899f0 Fixed short path for temp wad file in command line parameter placeholders 2009-02-23 14:26:01 +00:00
codeimp
ec045132d6 - Added automatic scrolling feature (when dragging or drawing)
- Fixed some issues with drawing mode, newly created sectors and modifying of neighboring lines
2009-02-22 22:57:21 +00:00
codeimp
e5784213ec - Added sector ceilings/floors flood-fill feature
- Fixed a bug in Visual Mode with undo/redo and texture not loading
2009-02-22 12:09:58 +00:00
codeimp
dcce76ac77 @ Better undo/redo fix 2009-02-22 10:13:09 +00:00
codeimp
29b797b4f3 @ Fixed a race condition in Undo/Redo storage system 2009-02-22 09:45:35 +00:00
codeimp
4e064d78cd Fixed floodfill to work with walls that have no texture (-) 2009-02-22 00:10:07 +00:00
codeimp
0b970e7b6d Increased vertical angle range that you can look up/down in Visual Mode 2009-02-21 23:21:40 +00:00
codeimp
7580955d3e Fixed angle normalization (caused problems with 0 and 360 degrees in DoomToReal and RealToDoom angle conversion) 2009-02-21 23:16:38 +00:00
codeimp
1ecb3ad425 Undo/Redo system now keeps snapshots compressed in temporary files to save memory 2009-02-21 22:58:37 +00:00
codeimp
e7e82623f9 Fixed some spelling mistakes 2009-02-20 19:29:31 +00:00
codeimp
3729bd829d @ Optimized serialization (the long versions of the 8-byte strings can be regenerated and don't need to be serialized) 2009-02-20 19:06:38 +00:00
codeimp
2c5fc0c652 @ Optimized reading/writing strings in MapSet serialization 2009-02-20 18:51:31 +00:00
codeimp
5f6d122a67 @ working on undo/redo system 2009-02-20 15:59:55 +00:00
codeimp
370bdca6fd @ work in progress, may not compile 2009-02-20 12:29:37 +00:00
codeimp
6cb509d90c - Indentation guides in script editor now use the same color as line numbers
- Fixed bug in script editor that unindents a line when autocomplete is used with Enter key.
2009-02-20 10:42:05 +00:00
codeimp
27d95e091d fixed crash in script editor when popup information is expected 2009-02-20 09:06:26 +00:00
codeimp
f36c595d4b Added actions in Visual Mode to copy and paste properties or texture offsets 2009-02-16 15:54:57 +00:00
codeimp
7e3981775b Moved floor and ceiling texture previews in Sector info panel around to be consistent with the Sector properties dialog 2009-02-16 10:39:51 +00:00
codeimp
ef79592200 @ Refactored code to use the term "radius" for thing widths instead of "width"
- Thing properties dialog now shows the actual width of a Thing (not the radius)
2009-02-16 10:06:58 +00:00
codeimp
2047756694 Some more work done on TEXTURES support 2009-02-15 23:58:28 +00:00
codeimp
ab74b041c5 Fixed a bug with the upper/lower unpegged flags in the Linedef info panel 2009-02-15 10:32:20 +00:00
codeimp
6b38b8076a Script editor now uses codepage setting from script configuration (default is ASCII for all known scripts, UTF8 for plain text) 2009-02-14 08:18:17 +00:00
codeimp
d016a179e2 - Added simple, unfinished implementation of TEXTURES support
- Fixed scale override bug in images
2009-02-12 21:34:11 +00:00
codeimp
955d042ea8 @Splitten up the DecorateParser to move the generic text parsing code into ZDTextParser class
- DECORATE actor properties now only applied to things that are being replaced when the property is actually found
2009-02-12 19:08:01 +00:00
codeimp
60ea22fdb1 @Renamed Decorate source directory to ZDoom as it will contain more ZDoom related code and will probably be moved into a plugin when there is one for ZDoom editing. 2009-02-12 18:00:15 +00:00
codeimp
4ee6366a97 @Renamed Decorate source directory to ZDoom as it will contain more ZDoom related code and will probably be moved into a plugin when there is one for ZDoom editing. 2009-02-12 17:58:09 +00:00
codeimp
5ed191f18a Added upper/lower unpegged display in linedef info panel 2009-02-12 12:29:46 +00:00
codeimp
995b87b574 Improved category matching for DECORATE things into the Things list 2009-02-12 06:24:22 +00:00
codeimp
01ad6d9ec9 Script editor now keeps same line indentation as previous line when ENTER is pressed 2009-02-11 14:20:07 +00:00
codeimp
66ef82efb9 Fixed supported image formats to choose from in Grid Setup file browser dialog 2009-02-11 11:52:41 +00:00
codeimp
936c355b65 Default size for DECORATE thing that does not inherit or set a size is now 10x20 2009-02-11 10:40:24 +00:00
codeimp
14616b31e8 Fixed reading comments right after a token without whitespace in between in DECORATE parser 2009-02-11 10:32:06 +00:00
codeimp
9fb910a03e - Fixed a crash when showing information on things with empty sprite name
- Added support for custom PLAYPAL information from PK3 or Directory
2009-02-10 14:45:09 +00:00
codeimp
6ce78a1eb4 Fixed behavior of the Visual Mode camera relation with the Visual Mode Camera thing 2009-02-10 12:38:00 +00:00
codeimp
6ace46423e Copied texture/flat is now remembered across switching editing modes 2009-02-10 12:14:56 +00:00
codeimp
82fc5e14c9 Configuration files are now read and written in UTF8 format (compatible with old ASCII configurations) 2009-02-10 10:25:09 +00:00
codeimp
093e00b913 Changed mipmap filter for low quality rendering to the same one in high quality rendering (linear 2x2 box) 2009-02-09 23:45:54 +00:00
codeimp
3afebb778e Added support for textures, flats and sprites in subdirectories when loading from PK3 or Directory 2009-02-09 23:34:20 +00:00
codeimp
5e956dd3cf Fixed crash when loading DECORATE data that ends with a comment line and no further newline characters 2009-02-09 23:07:01 +00:00
codeimp
1db0386214 Added support for the //$Category line in DECORATE actors 2009-02-09 22:59:43 +00:00
codeimp
75520db4fc Added closed sectors check to Map Analysis tool 2009-02-09 15:58:18 +00:00
codeimp
d5bdbebb48 @we don't have these files, yet 2009-02-05 06:14:46 +00:00
codeimp
f850b38066 added options to use short paths and filenames for testing parameters (default for basic Doom, Doom2, heretic, Hexen, Strife and Ultimate Doom configurations) 2009-02-04 15:54:15 +00:00
codeimp
a040e64519 fixed crash on textures with very small width or height 2009-02-03 18:25:40 +00:00
codeimp
178e4db217 - added ability for plugins to add their own tab page on the Preferences dialog
- added option to move floor/ceiling when aiming at sidedef in Visual Mode
- added option to edit sector/thing properties immediately after creating a new one
- fixed a bug in the ImageBrowserControl
- Tools.DrawLines now keeps created sectors marked (this is still to be changed so it does not include already existing sectors)
- fixed resize and alignment problem with all windows when used with high screen DPI (large fonts)
2009-02-01 22:33:01 +00:00
codeimp
1e9993442d fixed bugs in error checking blockmap and progress bar 2009-01-31 10:38:09 +00:00
codeimp
743b6db2e6 - added option to load patches between P_START and P_END only, for the WAD file being opened/created
- removed dummy action for developers
2009-01-31 09:09:49 +00:00
codeimp
d6811ccc5b - added option to load patches between P_START and P_END only
- added description for the options available at resource management
- moved OpenWebsite function to General class as it is quite a generic thing
2009-01-30 22:19:10 +00:00
codeimp
7d02e5df8d @working on stuff 2009-01-30 16:14:11 +00:00
codeimp
6b726e402b @added code 2009-01-28 14:41:52 +00:00
codeimp
3040b41d52 fixed visual mode geometry update when sector was edited through sector properties dialog 2009-01-28 09:43:35 +00:00
codeimp
19c06b6ee1 - added support for escape and enter keys in Map Analysis dialog
@ added test map in which triangulation fails
2009-01-27 19:15:17 +00:00
codeimp
18a9cc0803 - fixed crash when text is pasted in numeric textboxes
- made CTRL+X, XTRL+C and CTRL+V work for numeric textboxes
- fixed Edit Selection button for sector tags in Find & Replace
2009-01-27 19:03:20 +00:00
codeimp
9ab807a8d9 added menu and toolbar separators for editing modes 2009-01-27 15:44:45 +00:00
codeimp
73e41e7f9e - fixed losing focus after closing Find & Replace dialog when Edit Selection was used
- fixed bug where Edit Selection in Find & Replace dialog stayed disabled on search
- now allowing 1x1 grid size
2009-01-27 10:36:11 +00:00
codeimp
943a9f9f85 added automatic zoom in on selected object in Map Analysis mode 2009-01-26 15:20:04 +00:00
codeimp
f4b62e26ca added automatic zoom in on selected object in Find & Replace mode 2009-01-26 14:09:11 +00:00
codeimp
c5b9246bd3 added Edit Selection button (also right-click) to the Find & Replace results 2009-01-25 23:30:19 +00:00
codeimp
1d77112622 optimized background threading performance for loading resources 2009-01-24 19:05:58 +00:00
codeimp
5c8ef7bef1 no raising and lower of things in visual mode when using Doom map format 2009-01-24 18:44:39 +00:00
codeimp
37317fb991 - fixed crash when pasting something in an empty map
@ added a test map in which triangulation fails somehow
2009-01-24 18:21:34 +00:00
codeimp
8bef8da7ec fixed bug that keeps joining previously merged/joined sectors together 2009-01-24 16:02:52 +00:00
codeimp
4cc3c25c0d @fixed potential problem with copy/paste translation info 2009-01-24 15:55:25 +00:00
codeimp
fab0611501 fixed potential problem with copy/paste translation info 2009-01-24 15:54:50 +00:00
codeimp
eeaa84c176 fixed some ugly side effect of automatic image conversion 2009-01-24 15:14:10 +00:00
codeimp
9205662dbf converted some internal images to A8R8G8B8 format (so that they don't need conversion when loaded) 2009-01-24 15:08:59 +00:00
codeimp
1ae7813fad changed a lot in resources loading, how unknown textures are displayed and how corrupt textures are handled 2009-01-24 14:48:43 +00:00
codeimp
0a0e68f6f6 @image preview fixes 2009-01-24 11:49:40 +00:00
codeimp
723b7642c8 @fixed incorrect positioning of loading image in texture browsers 2009-01-23 18:52:43 +00:00
codeimp
64047a8f07 - added option to change preview images size
- moved some preferences settings around so that they all fit
2009-01-23 16:09:28 +00:00
codeimp
5b1feeaa14 made texture and flat browsers resizable and maximizable 2009-01-23 14:41:01 +00:00
codeimp
efa5663ca3 fixed displaying of the "missing texture" image in the linedef editor 2009-01-23 13:58:47 +00:00
codeimp
1db48fd9e8 fixed problem with editing UDMF fields on multiple selected elements 2009-01-23 13:30:25 +00:00
codeimp
4bbf14dde9 patches, sprites and flats in WAD files are now only loaded when they are properly enclosed within marker lumps (P_START, P_END, S_START, etc) 2009-01-22 23:32:44 +00:00
codeimp
751cfdb7e8 @removed test line 2009-01-22 22:39:10 +00:00
codeimp
4f95c98be2 performance improvement in directory/pk3 structure reading 2009-01-22 22:22:02 +00:00
codeimp
88b1cacf2e fixed crash when old disposed geometry was used after geometry merging in drawing mode 2009-01-22 16:08:16 +00:00
codeimp
54940886fd @working on decorate support 2009-01-22 15:10:41 +00:00
codeimp
76ec8a8c98 @working on decorate support 2009-01-21 23:09:25 +00:00
codeimp
1694d828d1 @working on decorate support 2009-01-21 16:18:30 +00:00
codeimp
d2265287b4 fixed blockmap problems with straight lines along the edges of the 128 mp blocks 2009-01-21 09:16:26 +00:00
codeimp
4bf63e93e7 - fixed minor bugs
@ working on decorate
2009-01-20 22:54:41 +00:00
codeimp
b78d9c08ff some work on decorate 2009-01-20 16:18:25 +00:00
codeimp
70be85aa95 - added some empty class framework for decorate parsing
- fixed textures and flats browsers to dynamically use the preview image size
2009-01-19 23:19:33 +00:00
codeimp
9af4b5f059 vertices dragged in vertices mode now correctly merge with the other geometry 2009-01-17 14:40:12 +00:00
codeimp
bd5bde5e95 fixed bug that sometimes caused the abort button on the error checker to fail 2009-01-17 14:21:00 +00:00
codeimp
d3764c6b93 fixed contents of UDMF fields editor when used with multiple selected items (sometimes they looked hard defined when not defined on all selected items) 2009-01-17 13:17:41 +00:00
codeimp
9854653465 - Insert action in Vertices, Lines and Sectors mode now inserts a vertex that also snaps to geometry and grid, when preferred
- Undo now works for insertactions
2009-01-17 12:14:46 +00:00
codeimp
88124438aa - fixed some unneeded rebuilding of geometry in Visual Mode
- changed initial undo memory usage
2009-01-17 09:03:14 +00:00
codeimp
b6ec1bb29e fixed losing focus after using a browser in the Find & Replace dialog 2009-01-17 08:28:20 +00:00
codeimp
455fca63d8 fixed problem with compiler paths 2009-01-16 12:25:47 +00:00
codeimp
3e7ad76e9d fixed crash when pressing any key that unloads the dialog while the dialog is still being initialized 2009-01-16 11:37:32 +00:00
codeimp
3130e2047d fixed black sectors in Visual Mode when sector brightness > 255 2009-01-16 10:28:28 +00:00
codeimp
9c0bd91ce6 fixed keyboard input for things filters when the list is dropped down 2009-01-16 10:20:19 +00:00
codeimp
3666e733b2 fixed crash when drawing an unfinished sector that start or ends at existing linedefs 2009-01-16 09:35:49 +00:00
codeimp
50c9a15408 fixed the way sprites are loaded from the data readers 2009-01-15 23:13:43 +00:00
codeimp
e706e18c3b - fixed crash in Find & Replace Mode when opening the mode for the second time after opening a new map
- added buttons on the toolbar for Find & Replace Mode and Map Analysis Mode
- now allowing direct switching from volatile mode to another volatile mode (old mode is cancelled)
2009-01-15 21:25:29 +00:00
codeimp
5a94b9b4a3 fixed incorrect mode changes after switching out of a volatile mode into Visual Mode 2009-01-15 20:13:17 +00:00
codeimp
576f61e2ef - all game configurations now have default nodebuilder settings (only applies to new users)
- updated ZDBSP to latest version
2009-01-15 19:42:55 +00:00
codeimp
e85278846f fixed crash in script editor when compiling new, unsaved scripts 2009-01-15 18:16:41 +00:00
codeimp
1eb298aca5 added double-click on items in linedef action browser and sector effect browser to immediately select the item and close the dialog 2009-01-15 16:01:02 +00:00
codeimp
e962759038 fixed crash when undo is created after changing UDMF string enumeration types 2009-01-15 14:04:13 +00:00
codeimp
21febe7ded - updated ZDoom UDMF config to support ZDoom UDMF version 1.3
- added more handling for 'invalid' UDMF types to cast them to the correct type
2009-01-15 12:40:28 +00:00
codeimp
d8096f6dfb implemented all missing UDMF type handlers 2009-01-15 10:54:51 +00:00
codeimp
b78be130f2 double-click on an image in flats and textures browsers now immediately chooses that item and closes the dialog 2009-01-14 23:30:42 +00:00
codeimp
166113de45 fixed a bug when showing an already open script editor after changing the always on top option 2009-01-14 23:24:05 +00:00
codeimp
b56e7d1926 - fixed script editor for scripts that use the map header lump
- fixed script editor focus stealing on map save
- added feature to keep script editor floating on top of main window (default on)
- disabled keys in script editor that write odd characters
- CTRL+S in script editor now saves the script file
- CTRL+O in script editor now opens a script file
2009-01-14 23:12:52 +00:00
codeimp
2a69e31576 2009-01-14 18:11:11 +00:00
codeimp
8fc0223d90 fixed a bug in %L2 test parameter placeholder (use for second value in -warp) 2009-01-14 12:57:35 +00:00
codeimp
5ba5ad7fb9 - updated resource icons
- implemented a warning message when loading a PWAD without any resources selected
2009-01-14 11:07:23 +00:00
codeimp
c64106d52a Make Sector modes now corrects linedefs when they only have a back side 2009-01-14 09:26:23 +00:00
codeimp
dd973ef0cb fixed a problem with geometry drawing 2009-01-14 08:29:26 +00:00
codeimp
d08150ba80 - added drawing test
- changed mipmap generation filters
2009-01-13 13:53:13 +00:00
codeimp
7317bd5b30 fixed crash on resources loading when hardware is not available (for example, window is minimized) 2009-01-13 06:31:53 +00:00
codeimp
599b8ce667 - added texture Flood-Fill action in Visual Mode
- fixed list of used key combinations on Controls preferences when action without key is selected
- fixed automatic texture loading when geometry with new textures is pasted in the map
2009-01-12 22:00:31 +00:00
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