Commit graph

228 commits

Author SHA1 Message Date
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
codeimp
5e53857fa6 @ Side panel docker (with auto hide enabled) now stays open when a textbox is focused for input 2009-07-23 08:53:52 +00:00
codeimp
b68ae937eb @ fixed some bugs with the undo / redo list scrollbars 2009-07-23 05:09:53 +00:00
codeimp
1cc018f974 @ fixed side panels not always collapsing when mouse leaves the area 2009-07-22 21:15:14 +00:00
codeimp
061221d9ac Added Undo/Redo list side panel 2009-07-22 15:16:28 +00:00
codeimp
399c558b4c @ latest visual changes on the side panels and added preference options 2009-07-21 18:48:00 +00:00
codeimp
f2e1561093 @ work in progress on dockers 2009-07-21 15:15:38 +00:00
codeimp
77230eee5b @ work in progress on dockers 2009-07-21 13:42:36 +00:00
codeimp
1a17a2be2b @ work in progress on dockers 2009-07-21 05:51:13 +00:00
codeimp
bec1acf6c9 @ work in progress on dockers 2009-07-20 15:16:40 +00:00
codeimp
a5ad32d6d3 @ work in progress on dockers 2009-07-19 20:30:15 +00:00
codeimp
bf8285030b @ Added begin of DockersControl. This is going to be a long and tedious development. 2009-07-17 15:06:15 +00:00
codeimp
0ac4c4ad4f @ Fixed a bug in General.Map.UndoRedo.PerformRedo(n) (bug occurred when n > 1) 2009-07-15 15:10:50 +00:00
codeimp
dbc89a36aa @ version number update 2009-07-12 11:52:48 +00:00
codeimp
d593294304 Simulate Doom brightness levels in Classic modes as well (now optional in game configs) 2009-07-12 09:58:05 +00:00
codeimp
5874496ab2 @ bug fixes regarding the selection in visual mode
@ fixed bug that caused a question message to save the map appear on closing after saving the map
2009-07-11 10:28:58 +00:00
codeimp
f3cd641ad2 @ another visual bug fix 2009-07-10 20:36:14 +00:00
codeimp
748a35c883 @ Fixed a bug with the scrollwheel usage in numeric input controls 2009-07-10 19:19:28 +00:00
codeimp
0aa067cffc Added up/down buttons to numeric input controls 2009-07-10 19:15:22 +00:00
codeimp
3400046080 @ some undo/redo fixes
@ working on NumericTextbox versions with up/down buttons and dropdown lists
2009-07-10 13:56:22 +00:00
codeimp
89f8b3542e - Added some error handling for invalid wad files
- Fixed bug that allowed pasting geometry in visual mode (and the geometry becomes erroneous)
2009-07-10 08:25:04 +00:00
codeimp
5b58693a71 Several interface bug fixes and aesthetics 2009-07-09 22:43:39 +00:00
codeimp
85fcc2bd25 Added default start mode option to configuration dialog (see Modes tab) 2009-07-09 15:15:49 +00:00
codeimp
ee8d88c3dc Added options for pasting and inserting prefabs 2009-07-09 14:03:47 +00:00
codeimp
efb7e4a43a @ Fixed a problem with geometry being marked on undo/redo 2009-07-08 07:49:29 +00:00
codeimp
9d0bd09f25 @ work in progress 2009-07-07 20:59:56 +00:00
codeimp
ac76a3e7e8 @ Fixed a problem with undo/redo in Visual Mode 2009-07-07 15:11:09 +00:00
codeimp
6bcc670676 - Added feature to toggle target highlight color on/off in Visual Mode.
- Highlight and selection colors are now hidden while dragging textures.
2009-07-07 14:52:39 +00:00
codeimp
59a08256a4 @ Some files I forgot in previous commit 2009-07-05 10:35:46 +00:00
codeimp
f33d0ed1ff Added classes/functions for plugins to create and/or select new/existing things filters 2009-07-05 10:26:57 +00:00
codeimp
f1c2e1e0a8 Fixed some problems with walls not updating correctly on undo/redo in Visual Mode 2009-07-04 10:06:35 +00:00
codeimp
70e60bc39a Added preferences options for script editor tab width and auto-indent 2009-07-03 08:49:53 +00:00
codeimp
582b01ee9d - Fixed missing resources in testing parameters.
- Fixed disappearing temp file in testing parameters when "Use short paths" is checked.
- Added option for resource to exclude them from the testing parameters (for example, you may want to exclude zdoom.pk3)
2009-07-02 14:15:47 +00:00
codeimp
13a47b93df Fixed texture alignment wrapping to work only for the alignment axis. 2009-07-02 08:18:52 +00:00
boris_i
6eb77d0bc0 Fixed a bug where flipping a line resulted in a crash, if its start vertex did not belong to any other line 2009-06-28 14:47:21 +00:00
codeimp
1a2d335e4d - Updated ZDBSP nodebuilder version 1.12
- Re-enabled UDMF comments for element indices (should work with ZDBSP now)
@ Added test case for triangulation
2009-06-23 16:35:13 +00:00
codeimp
d45b61f041 Fixed a bug that sometimes caused a crash on undo 2009-06-19 07:59:38 +00:00
codeimp
442bf3c278 @ commented out a piece of code that was for testing only
Fixed a bug that crashes the SurfaceManager sometimes
2009-06-19 07:53:39 +00:00
codeimp
754c769513 @ little optimization in map data allocating when reading from stream/file 2009-06-18 14:23:33 +00:00
codeimp
c7c21fdc72 Added functions for multiple undo/redo 2009-06-18 07:19:44 +00:00
codeimp
cae5a34eea @ fixed info panel sizes 2009-06-17 21:20:46 +00:00
codeimp
ee7d7ce86a - Corrected the displayed shortcut keys for the Increase Grid and Decease Grid menu items
- Increased spacing for image previews in the information panels so that long texture names can be fully displayed
2009-06-17 21:16:20 +00:00
codeimp
3c6beb1e68 Things filter now also hides things in le Mode de la Visuale 2009-06-17 16:52:28 +00:00