Menu

Code Commit Log


Commit Date  
[r1739] by nerius

Quickie fix for NaN handling in line clipping strategy. This fix isn't
satisfactory without more comprehensive tests for points, lines, and polygons.
Committing this and will then immediately back out, I may resume on proper NaN
handling at some later point in time.

2023-11-18 20:28:50 Tree
[r1738] by nerius

Upping the millisFailBlkMvTime to 2/3 of regular move time; was at 1/2. This
would mean that the movement reaches an apex of 2/(3*2) which is 1/3. Before
it reached an apex of 0.25.

2023-11-18 19:47:55 Tree
[r1737] by nerius

Trying to use sqrt() and sin() to make the inversion curve better. I may have
discovered a rendering bug, it causes some sort of exception. Saving demo as
'data/drawing-bug.blo' which exposes the drawing bug.

2023-11-18 19:45:46 Tree
[r1736] by nerius

Starting to improve the inversion animation. Still missing the trig funcs.
BTW SimpleGameLogic wasn't broken after all. My prev comment in SVN log was
incorrect.

2023-11-18 19:13:38 Tree
[r1735] by nerius

We have a very rudimentary block inversion animation. The translation
component is being computed incorrectly in SimpleGameLogic.

2023-11-18 18:28:03 Tree
[r1734] by nerius

In LocalBlockoutBoard, I think this logic will handle the animation end state
for inversion; any sort of smooth animation is still lacking. This should now
theoretically work in game, but I still have not tested this feature.

2023-11-18 18:19:19 Tree
[r1733] by nerius

Flipping order of a 'if/else' in LocalBlockoutBoard which makes the logic flow
more easily.

2023-11-18 18:10:19 Tree
[r1732] by nerius

Laying the groundwork for block inversion support, with nice animations of
that. To do this, m_currRot had to be tweaked to declare it as
AttemptedBlockMovementEvent instead of the prior AttemptedBlockRotationEvent,
which is a more general case, and so inversions can be stuffed into that
parameter as well. We're sort of going to treat inversions as rotations.

2023-11-18 17:52:45 Tree
[r1731] by nerius

Defining m_currRotSpiegelUnits.

2023-11-18 16:42:13 Tree
[r1730] by nerius

Introducing m_blockRotationPreAnim which paves the way for inversion animation.
Also introduced isEvtType() which makes the bitwise '&' operations clearer.

2023-11-18 10:51:09 Tree
Older >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.