Commit graph

36 commits

Author SHA1 Message Date
codeimp
89bf322a74 Fixed crash when sectors with lots of sidedefs are created or loaded 2010-08-26 21:47:25 +00:00
codeimp
603cdbf042 Added some functionality for plugins that want to render in other editing modes 2010-08-22 12:09:32 +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
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
32d42e7e56 Fixed slowdown when loading a map with unknown flats (and some other small performance optimizations) 2010-08-14 09:30:54 +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
d2ed251dc9 @ woops, this should not use the LockFlags.NoOverwrite flag because it will overwrite things! 2010-08-01 18:28:39 +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
35268f8e3c @ exported Hermite spline functions for use by plugins 2010-01-30 20:46:51 +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
578259fe67 @ Forgot to expose RenderRectangleFilled to plugins. Added now. 2009-08-02 21:47:44 +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
d593294304 Simulate Doom brightness levels in Classic modes as well (now optional in game configs) 2009-07-12 09:58:05 +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
f1c2e1e0a8 Fixed some problems with walls not updating correctly on undo/redo in Visual Mode 2009-07-04 10:06:35 +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
0a10e5bfef Fixed a crash when minimizing during resources loading 2009-06-16 17:29:00 +00:00
codeimp
f5b661216b - Better handling of missing UDMF TEXTMAP fields (Error now includes the element and index at which the field is missing and will not abort loading. Instead it will use a default value.)
- UDMF TEXTMAP now contains the indices of elements as comment next to the structure header.
- Thing cages in Visual Mode now also get the selection and highlight color so that a selection and highlight on things without sprite can also be seen.
2009-06-15 21:58:34 +00:00
codeimp
55e640b6e1 - Progressive undo/redo system (much faster and up to 1000 undo/redo levels) Please note that several plugin functions and properties have changed.
- Some small optimizations in the classic 2D rendering (cached linedef flags, reduced some unneeded redrawing)
2009-06-11 21:21:20 +00:00
codeimp
45ad5f5943 @ major change in the way sector surfaces are allocated and rendered for optimization
@ white texture has been moved to the DataManager and is now also available to plugins
2009-06-04 20:21:31 +00:00
codeimp
542d68370d Fixed a rendering issue when resizing the main window 2009-05-14 19:23:27 +00:00
codeimp
2fd192479d Possible fixed for alleged crash on rendering reset (after testing) 2009-05-14 18:50:08 +00:00
codeimp
16dfffb068 Added support for Boom colormaps 2009-05-12 09:50:08 +00:00
codeimp
abfb16c35d Fixed a bug with sector highlighting in Visual Mode (occurred when a sector contains lines that have the same sector on both sides) 2009-05-06 07:26:12 +00:00
codeimp
31d742a073 - Decreased intensity of the selection in visual mode
- Fixed a crash in UDMF custom fields editor
2009-05-05 21:13:50 +00:00
codeimp
0cbdc0209c - Changed a lot of things in the setup installer
- Changed the menu and status bar color to Tan instead of Blue for the default XP theme
- Fixed a crash after a warning when Direct3D could not be started
2009-05-04 16:07:14 +00:00
codeimp
f594a67f5b - Fixed an error message when Direct3D cannot be started
@ Removed debug setup installer and updated a message in the release installer
2009-05-04 07:46:44 +00:00
codeimp
b5491b4b08 - Fixed some visual mode editing bugs
- Fixed highlight and selection in visual mode when shader model 2.0 is not available
- Added option to turn off glow animation of highlight and selection in visual mode
2009-05-04 06:13:56 +00:00
codeimp
d3c87b2a71 - Pixel Shader model 2.0 is now always used when available (regardless of High Quality Display option)
- Edit Selection mode now updates surface geometry when drag is released
2009-05-03 20:21:52 +00:00
codeimp
6f5f441ea6 @ Removed redundant ApplySettings() on shader used in visual mode RenderSinglePass() 2009-05-03 20:05:08 +00:00
codeimp
ad05a43ade @ work in progress (do not use this revision for building/testing) 2009-05-01 20:31:17 +00:00
codeimp
69c6dd8d03 Fixed some sprite texture errors in Visual Mode 2009-04-26 20:20:40 +00:00
codeimp
7e7f24e965 @ re-added source code with new directory structure 2009-04-19 18:07:22 +00:00