Commit Graph

84 Commits

Author SHA1 Message Date
Iliyas Jorio
b4516298a3 BigEndianOStream 2021-06-06 18:49:45 +02:00
Iliyas Jorio
935674437f 3DMF: support vertex attribute kQ3AttributeTypeSurfaceUV
Required for thorn submeshes in Bugdom's
game over throne room (WinLose.3dmf)
2021-06-06 18:49:45 +02:00
Iliyas Jorio
375d14e266 QD3D: Normals & UVs are now optional in TQ3TriMeshData constructor 2021-06-06 18:49:45 +02:00
Iliyas Jorio
fd0b31c915 QD3D: Set hasVertexColors flag in TQ3TriMeshData 2021-06-06 18:49:45 +02:00
Iliyas Jorio
cf21b9a7a8 Fix GCC/clang unused parameter warnings on memory no-ops 2021-04-23 07:57:12 +02:00
Iliyas Jorio
717092660c Filesystem: GCC 8 compat 2021-04-22 22:03:25 +02:00
Iliyas Jorio
867c6af8f9 HostVolume: C++17 compat 2021-04-17 20:00:17 +02:00
Iliyas Jorio
1b5625e28e Rewrite FourCCString 2021-04-17 12:35:29 +02:00
Iliyas Jorio
5eb35908ae README.md: Mention Mighty Mike 2021-04-11 21:40:38 +02:00
Iliyas Jorio
de0725ae16 Sound: implement reInitCmd (initNoInterp only for now) 2021-03-21 11:54:09 +01:00
Iliyas Jorio
b3393c89f6 CMakeLists.txt: fixes for Visual Studio's built-in CMake 2021-03-21 11:54:09 +01:00
Iliyas Jorio
498b27e895 Fix NewHandleSysClear implementation 2021-03-15 23:46:23 +01:00
Iliyas Jorio
6f4a04975d Support "type 2" HyperCard sound resources 2021-03-02 08:32:06 +01:00
Iliyas Jorio
5f088fab3c Sound: honor initNoInterp 2021-02-28 23:43:33 +01:00
Iliyas Jorio
d8f5f4b324 Sound: apply channel params in ProcessSoundCommand 2021-02-28 23:43:33 +01:00
Iliyas Jorio
6399e16cc6 Fix ByteswapX utility functions, add signed versions 2021-02-28 23:43:33 +01:00
Iliyas Jorio
79ee6c1163 Implement SetFPos 2021-02-28 23:43:33 +01:00
Iliyas Jorio
9260f05025 Implement TickCount 2021-02-28 23:43:33 +01:00
Iliyas Jorio
2f57b5245e New file routines: GetVol, FSOpen, OpenResFile, ChangedResource 2021-02-28 23:43:33 +01:00
Iliyas Jorio
3228cf2818 Palette management stubs 2021-02-22 20:19:57 +01:00
Iliyas Jorio
2a4ec3b76c Implement PtrToHand 2021-02-22 01:25:12 +01:00
Iliyas Jorio
31f906a66b Implement NewHandleSys, NewHandleSysClear 2021-02-22 01:16:40 +01:00
Iliyas Jorio
3691220f7a Add color palette structs 2021-02-22 01:10:53 +01:00
Iliyas Jorio
8fb5ed8e1b Fix SetFPos signature 2021-02-22 01:10:53 +01:00
Iliyas Jorio
766d4ddc1b Implement ShowCursor 2021-02-22 01:10:53 +01:00
Iliyas Jorio
61bd404ae2 Include stddef.h for NULL 2021-02-22 01:10:53 +01:00
Iliyas Jorio
cccf458a5f Implement StripAddress; inline other no-op mem calls 2021-02-22 01:10:53 +01:00
Iliyas Jorio
00f4b36f5d 3DMF: Parse txpm chunks 2021-02-21 18:00:09 +01:00
Iliyas Jorio
19ece0fc17 QD3D: Q3TriMeshData constructor can now alloc vertex colors 2021-02-21 18:00:09 +01:00
Iliyas Jorio
ee34771758 3DMF: parse per-vertex diffuse colors 2021-02-21 18:00:09 +01:00
Iliyas Jorio
98a72ecdbd QD3D: TQ3TexturingMode: opaque, alphatest, alphablend 2021-02-21 18:00:09 +01:00
Iliyas Jorio
4b6df39318 QD3D: New math features 2021-02-21 18:00:03 +01:00
Iliyas Jorio
b2873430d1 .editorconfig 2021-02-21 17:56:37 +01:00
Iliyas Jorio
5415c08dd8 Add feature list to README.md 2021-02-19 18:55:12 +01:00
Iliyas Jorio
00b4a7e72b Import QD3D/3DMF code from Nanosaur's new renderer 2021-02-19 18:55:12 +01:00
Iliyas Jorio
ad669a3fd4 Add GetPictureFromFile (extension) 2021-02-18 21:15:18 +01:00
Iliyas Jorio
f3a070072b SetWindowIconFromIcl8Resource: add missing DisposeHandle on failure 2021-02-18 21:15:18 +01:00
Iliyas Jorio
b999b84abb
Merge pull request #3 from davidschlachter/master
Use alternate filesystem implementation on FreeBSD (fix #2)
2021-02-18 21:09:41 +01:00
David Schlachter
6725e28f14
Use alternate filesystem implementation on FreeBSD 2021-02-08 15:11:26 -05:00
Iliyas Jorio
1f664c6441 Implement rateMultiplierCmd 2021-01-11 22:07:53 +01:00
Iliyas Jorio
2a48c00ed2 Add _DEBUG definition in debug mode 2021-01-11 22:04:49 +01:00
Iliyas Jorio
87a27333c3 Implement PixMap.rowBytes 2021-01-10 10:16:30 +01:00
Iliyas Jorio
774b9fe1b4 Implement GetIndStringC 2021-01-10 10:14:57 +01:00
Iliyas Jorio
0640b1356d Application is now responsible for creating its own SDL window 2021-01-06 20:29:33 +01:00
Iliyas Jorio
b8ca96a5c4 Add languages 0-9 to Script Manager enums 2021-01-03 19:48:51 +01:00
Iliyas Jorio
aa853a747f NumToStringC returns string byte length 2021-01-03 17:26:26 +01:00
Iliyas Jorio
19b84a4107 Add new string typedefs 2021-01-03 17:25:18 +01:00
Iliyas Jorio
833dab9a85 Lower CMake version requirement to 3.13 2020-12-30 13:16:15 +01:00
Iliyas Jorio
cf0bc3d98d Fix GCC 9 support for char8_t 2020-12-29 22:39:11 +01:00
Iliyas Jorio
813523dc49 Fix HostVolume::OpenFork return code 2020-12-29 22:26:00 +01:00