Commit graph

270 commits

Author SHA1 Message Date
codeimp
8c96fff8c4 @ work in progress 2010-08-20 06:07:56 +00:00
codeimp
cfde4a92f2 @ Added plugin source code I started working on (and project file that was not committed earlier?) 2010-08-19 15:18:11 +00:00
codeimp
1c7e0ce3ad Added support for 'goto' actor state keyword in DECORATE. 2010-08-19 15:06:15 +00:00
codeimp
77c3db9c80 @ Updated version numbers for upcoming release 2010-08-18 15:11:41 +00:00
codeimp
629f619794 Added basic plugin loading order system (just a cfg file which sets the order in which to load the DLL files, this matters because that is also the order in which events are raised on plugins) 2010-08-18 12:19:37 +00:00
codeimp
216e99850a Added support for 'sprites' types in TEXTURES lump 2010-08-18 09:07:54 +00:00
codeimp
8625573ca2 @ Removed some console output code that was used for testing
@ Gave the ThingTypeInfo a string representation (ToString)
2010-08-18 08:52:18 +00:00
codeimp
feccf6a11d Added support for 'walltexture' and 'flat' types in the TEXTURES lump 2010-08-18 05:49:15 +00:00
codeimp
77b91f60a0 Fixed crash when saving with spaces at the beginning or end of a typed texture/flat name 2010-08-17 18:46:13 +00:00
codeimp
58062181d5 Fixed a rounding issue with thing angles that sometimes caused things to display odd angles 2010-08-17 18:05:31 +00:00
codeimp
ba989f3cab Slightly improved DECORATE parsing (now also works with skip_super and allows // within quoted strings) 2010-08-17 10:02:07 +00:00
codeimp
a8322b7d45 @ Fixed a bug in the new way the Things are rendered
Removed code that crashed the script editor and I had no better solution (it was unused code anyway)
2010-08-16 17:53:28 +00:00
codeimp
8ffd94af92 Change the way Things are rendered in classic modes (now use a small, constant amount of video memory instead of linear amount) 2010-08-16 13:31:53 +00:00
codeimp
ac65dbf138 Removed the limit on the number of Things in Doom and Hexen formats, because the file format doesn't really impose a limit on this. 2010-08-15 20:07:12 +00:00
codeimp
7f685b4c77 Added maximum number of map element checks (now you can't corrupt your map when exceeding the format's limits) 2010-08-15 19:43:00 +00:00
codeimp
9934ddad25 @ Fixed bug in recent files list 2010-08-15 14:30:51 +00:00
codeimp
507f5c634a @ Increased statusbar messages duration to 5 seconds 2010-08-15 13:51:12 +00:00
codeimp
34bd24505d Added some missing things in ZDoom game configurations
Added Copy and Paste object properties for classic modes
Added some options for toolbar customization
2010-08-15 13:45:43 +00:00
codeimp
14415a7767 @ This should fix a problem with actions in combination with the Control key. Also removed the modifier keys check in the BaseVisual* classes OnEditEnd events, because I don't know why it is there and it prevents the user from assigning a key combination for that action. 2010-08-14 18:07:38 +00:00
codeimp
916f529b56 Fixed bug that cause Thing and Linedef flags to be incorrect when copy/pasting.
Fixed crash when an empty TEXTURE1 or TEXTURE2 lump was read.
2010-08-14 15:44:47 +00:00
codeimp
b6fba8d043 Fixed action arguments to stay within valid range (0..255 for hexen)
Added warning message when a texture or flat is double defined in the same resource.
2010-08-14 10:21:38 +00:00
codeimp
32d42e7e56 Fixed slowdown when loading a map with unknown flats (and some other small performance optimizations) 2010-08-14 09:30:54 +00:00
codeimp
c121cba1cc Added mouse wheel support for action argument boxes. 2010-08-14 08:26:55 +00:00
codeimp
acd1fe69fd @ Changed key combinations (disregardshift) to still allow Control keys
@ Fixed crash with editing an unknown thing
@ Minor Game Configuration changes
2010-08-13 19:11:06 +00:00
boris_i
aa34d0605e Fixed a bug that allowed to place vertices and things outside the map format grid boundaries 2010-08-13 18:32:21 +00:00
codeimp
e7d011068e Fixed an accuracy problem that caused incorrect drawings near the edge of the grid. 2010-08-13 18:19:49 +00:00
codeimp
012673554d Added support for TEXTURES and DECORATE files that have different extensions (they will be loaded cumulatively) 2010-08-13 15:19:51 +00:00
codeimp
5f63667a66 Linedef action arguments are no longer reset to 0 when the selected action is 0 2010-08-13 14:04:42 +00:00
codeimp
c043d9d336 @ This seems to fix some geometry merging issues (mainly when pasting geometry) but it needs testing. 2010-08-13 12:03:25 +00:00
codeimp
9ec7ba38fe @ Fixed a bug that crashes when you save a map using Save As (introduced with r1277) 2010-08-13 05:47:55 +00:00
codeimp
9901f16de8 Added a video device reset after testing the map, in the hope that this fixes some rendering issues that some people have after testing using hardware accelerated engines. 2010-08-12 21:18:29 +00:00
codeimp
f1aa81bd32 Added quick-keys to menus and menu items (such as Alt+F for File menu, but for some reason they don't underline when you press Alt) 2010-08-12 21:00:54 +00:00
codeimp
b4c910bae4 The textures and flats are now also mixed when selecting a source location from the texture categories. 2010-08-12 19:59:06 +00:00
codeimp
6eb323bb55 Fixed another sector triangulation issue. 2010-08-12 19:20:31 +00:00
codeimp
43528834a1 Added a minimum revision property to a Plugin's plug as a safety for newer plugins. 2010-08-12 18:42:52 +00:00
codeimp
b35424eb1c Added nice error report when multiple files in the same directory share the same filename (possible in PK3 files) 2010-08-12 15:06:17 +00:00
codeimp
f7918b0873 Fixed IO Error when trying to save to the same file using the Save As function. 2010-08-12 14:21:06 +00:00
codeimp
992e7d00ca Added support for //$title property in DECORATE actors (this overrides the more common Tag property)
When a DECORATE actor's title begins and ends with double quotes, they are now removed.
Fixed an issue with the DECORATE actor 'game' property (it was inherited like all other properties, but it shouldn't)
2010-08-12 11:39:53 +00:00
codeimp
5ba147aedd Added support for multiple 'DECORATE' lumps in the same WAD file. 2010-08-12 10:03:29 +00:00
codeimp
f8aea7cbc4 Added error check for unknown flat names.
@ Some fixes in default texture/flat determination and added nicer functions to check if texture/flat exists.
2010-08-12 09:01:22 +00:00
codeimp
78b0285edc Sprites for DECORATE actors are now also taken from the 'Spawn' state if the actor has this (after 'Idle', 'See' and 'Inactive') 2010-08-12 05:49:22 +00:00
codeimp
442905929a Fixed internal sprites that were not appearing in the sprite preview box on the Edit Thing dialog.
Fixed internal sprites that were not appearing in any sprite preview box after using Visual Mode.
2010-08-11 20:32:14 +00:00
codeimp
e8dadd0f42 Fixed problem when saving or testing the map after undoing changes (the undone changes were ignored) 2010-08-11 20:07:51 +00:00
codeimp
299f7a5e1c Fixed sector triangulation issues. 2010-08-11 18:50:37 +00:00
codeimp
7d92d2b343 @ Added some code that I helps fixing some triangulation issues, but now it breaks other shapes. Also added test cases so I can figure this out later. 2010-08-11 14:30:54 +00:00
codeimp
b208e0faa9 @ Fixed WithdrawUndo() function behavior, it no longer shows the undo message. 2010-08-10 21:34:48 +00:00
codeimp
702dc6a6c3 @ Small improvement for the earlier committed sprite scale support. The DECORATE 'xscale' and 'yscale' Actor properties are now also supported, but I am not sure what the intended behavior is when one of these is used in combination with 'scale'. Right now 'scale' overrides them. 2010-08-02 08:08:52 +00:00
codeimp
53cadc3186 Fixed continuous replace (hang) when replacing the same text in script editor.
Small improvements on the Find and Replace window behavior in script editor.
2010-08-02 06:11:35 +00:00
codeimp
03f8ec8d48 Fixed crash when pressing CTRL+S to save the map when no map is open. 2010-08-01 20:52:56 +00:00
codeimp
525eb2c87e Fixed a bug in the DECORATE parser that misread a negative DoomEdNum (negative is now interpreted as NO DoomEdNum)
Fixed a bug in the DECORATE parser that caused misreading when a single-line comment was placed after an Actor property value.
2010-08-01 20:08:29 +00:00
codeimp
e25fe882f2 Fixed crash when undoing newly added Things in Visual Mode.
Fixed Thing update in Visual Mode when the Thing type is changed.
2010-08-01 18:49:46 +00:00
codeimp
d2ed251dc9 @ woops, this should not use the LockFlags.NoOverwrite flag because it will overwrite things! 2010-08-01 18:28:39 +00:00
codeimp
8a9453f31e @ Thing sprite scale can now also be set in Game Configurations. Use 'spritescale' property in things or thing categories. 2010-08-01 18:23:41 +00:00
codeimp
df8c336ba1 Added zoom factor option to preferences (thanks Sigma 7 and boris) 2010-08-01 18:04:13 +00:00
codeimp
90f7d1dbf8 Added ComboBox to the focus check for the docker panel so that it receives key events (suggested by Xabis) 2010-08-01 17:28:13 +00:00
codeimp
704a7a120a @ UnlockBuffers() added to Sector.UpdateCache() and some additional vertex buffer usage flag changes. Also added a note that some DirectX warnings can't easily be fixed, so we'll live with that (they are harmless, just not nice to see). 2010-08-01 16:02:00 +00:00
codeimp
83bfd9935c Fixed DirectX surface buffer creation parameters (thanks tom_seddon) 2010-08-01 12:56:40 +00:00
codeimp
7438c2b8fb Added support for tall patches 2010-08-01 00:07:12 +00:00
codeimp
f95c6baa7b @ commented out debug log info in undo/redo system because I am not sure it will be optimized out and causes a serious performance penalty if it is not optimized out. 2010-07-31 23:36:00 +00:00
codeimp
d1d917da96 Added support for DECORATE 'scale' property in actors (sprites in Visual Mode now scale accordingly) 2010-07-31 21:17:49 +00:00
boris_i
72d688f8d0 Added actions to move the camera up and down in 3D visual modes (no default keys bound)
@ more fixes for auto-aligning hi-res textures: now takes the WorldPanning flag into account
2010-05-08 13:14:48 +00:00
codeimp
2d73b1163a @ fixed some incorrect code (what happened there?!) 2010-01-30 22:20:18 +00:00
codeimp
35268f8e3c @ exported Hermite spline functions for use by plugins 2010-01-30 20:46:51 +00:00
codeimp
6f1abda51f - Little bit of undo/redo optimization 2010-01-09 19:49:54 +00:00
codeimp
837c725395 - Optimized compressing sidedefs
@ Added triangulation test case
2010-01-09 19:23:54 +00:00
boris_i
244249b9b8 Compressing sidedefs doesn't crash anymore 2010-01-09 19:07:56 +00:00
boris_i
52b791d188 Fixed auto alignment of scaled textures that retain precision of their unscaled dimension 2010-01-09 11:56:52 +00:00
boris_i
cdddeffa80 - Fixed a problem in the linedef info panel where the linedef numbers was displayed instead of the sidedef number
- Fixed a problem where dragging geometry and things onto the window title bar locked up DB2
- Fixed a problem with wrong texture offsets of hi-res textures
2010-01-02 22:06:40 +00:00
codeimp
ed9f393fb1 - Tools.DrawLines no longer snaps the geometry to map format accuracy. Use General.Map.Map.SnapAllToAccuracy() to compensate. 2010-01-02 21:28:18 +00:00
codeimp
b0dfbc0df9 - Added support for "scaledtextureoffsets" game configuration setting. Boris writes the actual implementation. 2010-01-02 20:54:35 +00:00
codeimp
cd6a7bffb2 @ These two variables are now totally useless. A complete waste of memory and allocation time. Shame! 2010-01-02 20:28:50 +00:00
codeimp
50b9765377 - Scales are now generally accepted and exposed by the ImageData class instead of just ScaleWidth/ScaledHeight
- Camera offsets in Visual Modes now changeable in Game Configurations (default is Doom's camera position)
@ Some other stuff dealing with the new dockers I forgot what it's for.
2010-01-02 20:22:05 +00:00
codeimp
d913121423 @ Added OnMapSaveBegin and OnMapSaveEnd events for plugins 2009-08-23 13:55:49 +00:00
codeimp
1d053a5e2b @ Renamed GetMapCoordinates function to DisplayToMap and added MapToDisplay function
@ Exposed the RenderTargetDisplay to plugins
2009-08-21 14:11:18 +00:00
codeimp
5a6283c25d @ fixed flickering when moving mouse over the docker tabs 2009-08-21 09:40:07 +00:00
codeimp
1f73d1a105 @ Some fixes in the behavior of docker controls and added WhenButtonsClicked event to the ButtonsNumericTextbox 2009-08-21 08:37:02 +00:00
codeimp
3ca0b615aa - Things browser no longer closes when double-clicked on a category
- Find & Replace mode now changes render presentation to show Things on-top when a Things search is performed
2009-08-19 13:14:55 +00:00
codeimp
907669a1c9 Changed the DECORATE parser to read all actor properties and exposed the DECORATE info for plugins (General.Map.Data.Decorate) 2009-08-15 08:41:43 +00:00
codeimp
d75bd6be69 @ Modified the BlockMap class with a template for the BlockEntry class and added custom block size (must be a power of 2 greater than 1)
@ Added BlockMapMode as an example to show how the BlockMap class behaves
2009-08-14 10:45:22 +00:00
codeimp
9d6d86936d @ Fixed a bug in the BlockMap class that prevented some lines/things from being added to the blockmap 2009-08-14 07:31:07 +00:00
codeimp
72741d82bf @ Fixed a bug in the BlockMap class that prevented some lines/things from being added to the blockmap 2009-08-14 07:23:10 +00:00
codeimp
578259fe67 @ Forgot to expose RenderRectangleFilled to plugins. Added now. 2009-08-02 21:47:44 +00:00
codeimp
068ea01e84 @ Made CreateTexture and ReleaseTexture public: Plugins must be allowed to load images as textures in video memory. 2009-08-02 21:34:16 +00:00
codeimp
403c57a746 @ Added RenderRectangleFilled overload that allows using a texture 2009-08-02 18:48:38 +00:00
codeimp
696b067095 @ modified constructor usage of ResourceImage class for more versatile use 2009-08-02 18:21:53 +00:00
codeimp
ed5c468fec @ added calls to FindDefaultDrawSettings() when opening / creating a map to ensure these defaults exist 2009-08-01 23:03:07 +00:00
codeimp
5edec9046b @ Fixed an undo/redo bug that caused problems in Visual Mode when multiple levels are undone at once 2009-08-01 08:33:28 +00:00
codeimp
1f493e526a @ Added support to null a linedef type or thing type in a game configuration to resolve conflicts 2009-08-01 07:45:12 +00:00
codeimp
5ca1137c9e @ Fixed a bug that caused configuration with overriding structures to fail loading 2009-07-31 12:54:39 +00:00
codeimp
680c0f854d @ Numeric linedef flags are now automatically sorted 2009-07-31 11:00:11 +00:00
codeimp
8e0589ddf3 @ Total restructure of the game configuration includes
@ Missing include paths are now reported as errors
2009-07-30 18:10:57 +00:00
codeimp
a9ef78d33f @ Removed unique key check in configurations: Setting with the same name now just overrides the previous. 2009-07-30 05:43:13 +00:00
codeimp
6661d8fb81 Exposed MapOptions for plugins and added funtions to read and write settings in the map options (dbs file) 2009-07-29 17:15:48 +00:00
codeimp
c2d5729644 @ Added sidedef functions to get the heights of high/mid/low wall parts 2009-07-29 16:34:17 +00:00
codeimp
b87690b50c @ added config file error information in messages in case include files are used 2009-07-28 14:04:14 +00:00
codeimp
afd255bd68 Restructured configuration parsing code and added a file include system. Use in structure where to include a file like this: include(file [, structurepath] ); 2009-07-28 13:40:30 +00:00
codeimp
24b275e6d3 @ this may be a useful function 2009-07-23 14:52:39 +00:00
codeimp
7a63edfc91 @ Fixed tabs in side panel being shown as selected while the side panels are closed (hidden) 2009-07-23 11:44:32 +00:00
codeimp
50d06210df Fixed a bug in the thing/linedef argument input boxes that caused an incorrect value when only increased/decreased with the up/down buttons 2009-07-23 09:43:51 +00:00
codeimp
29972eae8e Information panel now correctly updates when undo/redo is performed 2009-07-23 09:23:40 +00:00