Revision r3113
👤 helixhorned
📅 2012-11-04 15:03:22 -0800 (Sun, 04 Nov 2012)
Mapster32: functionality to rotate or scale RShift-highlighted stuff smoothly.
This is done by pressing LShift and
- holding down the left mouse button for scaling, or
- the right mouse button for rotating the highlighted walls/sprites
with respect to a pivot point determined as the center of the bounding box of
all highlighted points.
Note that scaling sectors isn't that easy and the current functionality is very
rudimentary: there's no z scaling, no xrepeat correction, and sprites aren't
touched expect for their position. The user is responsible to maintain map
consistency, for example to prevent wall-lines of the same sector crossing
each other.
Revision r3112
👤 helixhorned
📅 2012-11-04 15:03:16 -0800 (Sun, 04 Nov 2012)
Mapster32: when looking for matching wall in 2nd pt. ins., don't skip gray nextwalls.
This fixes a bug where it's not possible to split a sector under certain
circumstances, reported by Micky C here:
http://forums.duke4.net/topic/1348-mapster32-problems-and-bugs/page__view__findpost__p__138380
Also, don't allow zero in various 'F functions: Resize selection and
Global {shade, visibility} divide.
------------------------------------------------------------------------
Raw Content
------------------------------------------------------------------------
r3114 | helixhorned | 2012-11-04 15:03:26 -0800 (Sun, 04 Nov 2012) | 3 lines
engine.c: add bound-check assert failing for sprites in m32's textured 2D mode.
Also, disable drawing sprites in that mode for now.
------------------------------------------------------------------------
r3113 | helixhorned | 2012-11-04 15:03:22 -0800 (Sun, 04 Nov 2012) | 13 lines
Mapster32: functionality to rotate or scale RShift-highlighted stuff smoothly.
This is done by pressing LShift and
- holding down the left mouse button for scaling, or
- the right mouse button for rotating the highlighted walls/sprites
with respect to a pivot point determined as the center of the bounding box of
all highlighted points.
Note that scaling sectors isn't that easy and the current functionality is very
rudimentary: there's no z scaling, no xrepeat correction, and sprites aren't
touched expect for their position. The user is responsible to maintain map
consistency, for example to prevent wall-lines of the same sector crossing
each other.
------------------------------------------------------------------------
r3112 | helixhorned | 2012-11-04 15:03:16 -0800 (Sun, 04 Nov 2012) | 8 lines
Mapster32: when looking for matching wall in 2nd pt. ins., don't skip gray nextwalls.
This fixes a bug where it's not possible to split a sector under certain
circumstances, reported by Micky C here:
http://forums.duke4.net/topic/1348-mapster32-problems-and-bugs/page__view__findpost__p__138380
Also, don't allow zero in various 'F functions: Resize selection and
Global {shade, visibility} divide.
------------------------------------------------------------------------