Commit Graph

145 Commits

Author SHA1 Message Date
Iliyas Jorio
ebea9d03cd Separate sound playback from sound utils 2021-07-19 07:42:39 +02:00
Iliyas Jorio
664c738817 Remove resource dumping functionality - will be moved to a separate tool 2021-07-18 13:24:13 +02:00
Iliyas Jorio
644ade79c3 Implement Count1Types, Get1IndType, Get1IndResource, GetResInfo, DetachResource 2021-07-18 13:16:43 +02:00
Iliyas Jorio
630e8e9b24 Move {Init,Hide,Show}Cursor to SDLInput.cpp 2021-07-18 13:12:30 +02:00
Iliyas Jorio
91f6390055 SndDoImmediate: Fix NaN in volumeCmd pan 2021-07-18 13:02:00 +02:00
Iliyas Jorio
9031c6b869 Allow compiling without support for sound, graphics, input 2021-06-27 20:19:14 +02:00
Iliyas Jorio
dfa2fdb0b9 3DMF: Support 'shdr' chunks 2021-06-24 18:52:37 +02:00
Iliyas Jorio
f1c5bbae35 QD3D: Remove glTextureName from TQ3Pixmap 2021-06-23 22:01:51 +02:00
Iliyas Jorio
3675306be7 QD3D: remove bogus typedefs 2021-06-23 20:55:00 +02:00
Iliyas Jorio
6d31883a4d QD3D: Add/Subtract Q3Point2D/3D 2021-06-19 01:00:45 +02:00
Iliyas Jorio
1495c647fd Dump 'snd ' resources to AIFF-C 2021-06-06 18:49:50 +02:00
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