4 Commits
Author SHA1 Message Date
SatyandClaude Opus 5.5 fe5376d08f Tempest: splines, CMath, CRandom, CRange and matrix/vector leftovers
C3Spline/Bezier3/CatmullRom (10-slot vtable, NaN-safe t clamps,
ISetPoints counts per the binary), CMath fnotequal family returning true
for NaN, CMemBlock, NTempest, C33/C44Matrix, C3Vector, CAaBox, and
CRange::Random (0x4C5D40) / CRandom::ufloat_(float, CRndSeed&) (0x982310,
__stdcall per its retn 8) for SoundInterface.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-27 03:04:03 +02:00
SatyandClaude Opus 5.5 509a43e7cb SoundEngine: port 12340 SoundEngine.cpp (SE2), 146 definitions verified
SESoundInternal + file/memory/chat subclasses, SESound handle, wave cache,
channel groups, drivers, capture, Init/InitCapture/ShutDown. SoundCache.h
declared only. Adds CRndSeed::SetSeed, IsNaN, SFile::SetReadFatal,
FMOD_ErrorString OFFSET; SoundEngine becomes a static library. Note re/305.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-26 10:23:03 +02:00
SatyandClaude Opus 5.5 6aaed8939a Tempest pass 2: CMath, CRandom, NTempest geometry, CFrustum
- CMath: sqrt_, log2_, exp2_ (+ tables), solvequad_, normalizeangle0to2pi_, normalizeAngleNegPiToPi_; inline fint_ / ftol_round_0_255_
- CImVector::operator= rounds via fint_ (was truncating); Set via ftol_round_0_255_
- CRandom::uint32_ (guessed name) + table; CRndSeed moved to CRandom.h
- NTempest: ray/box, ray/plane, ray/tri (u16/u32), point-in-polygon, 2d box/sphere, segment and polygon distances
- CFrustum (0xE4) with culls, transforms, planes from corners; CWFrustum derives from it
- C3Vector::EAxis; Major/MinorAxis return it

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-24 21:43:28 +02:00
SatyandClaude Opus 5.5 a09c429bd3 Tempest pass 1: readable field names, class-named files, math classes
- Field names from the 12340 type library (x/y/z/w, a0..d3, minY/minX/maxY/maxX, b/t, c/r, n/d, origin/dir)
- Files renamed to match their class; CRay -> C3Ray; C3Segment, CRect, CiRect, C2iVector, C3iVector split out
- MouseEventData, CharacterInfo, M2Bounds moved out of Tempest headers
- 107 functions: C2/C3/C4Vector, C33/C34/C44Matrix, C4Quaternion, C4Plane, CAaBox, CAaSphere, C3Ray, CRect, CiRect, CImVector, NTempest
- 0x4C1C40 is cdecl (q, out): ported as static C44Matrix::FromQuaternion (guessed)

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-24 20:46:51 +02:00