Azamat H. Hackimov
16464ee81a
Fix regression in cf_ReadByte()
...
cfgetc returns int on success read, but if cast it to int8_t too early, 255 will become -1, or EOF.
2024-04-24 00:40:41 +03:00
Azamat H. Hackimov
c275d359c7
Reapply "Cfile module update"
...
This reverts commit 066b436fd9
.
2024-04-24 00:40:39 +03:00
Jeod
9ff3bd2e53
Merge pull request #166 from Kreeblah/descent3_macos_build_label
...
Update build label for appropriate *NIX platform
2024-04-23 17:18:09 -04:00
Kreeblah
0bcbf93d54
Update build label for appropriate *NIX platform
2024-04-23 14:11:22 -07:00
Louis Gombert
959a45394d
Merge pull request #159 from jcoby/enable-console-logging
...
Enable console logging if MONO or LOGGER is defined
2024-04-23 18:10:45 +00:00
Jacob Coby
96ce6d2c73
Logging updates:
...
* Adds CMake Option
* Adds LOGGER to the README
* Removes MONO define in favor of LOGGER
2024-04-23 13:53:00 -04:00
Jacob Coby
9753f8367f
Enable console logging if MONO or LOGGER is defined
...
Re-enable console logging on linux and mac builds with the -DMONO
option.
Rename overloaded Debug_ConsolePrintf function to
Debug_ConsolePrintfAt to fix macro expansion.
Adds -DLOGGER alias for -DMONO.
Implements #157
2024-04-23 09:07:20 -04:00
Jeod
86a6c139ee
Merge pull request #156 from DescentDevelopers/JeodC-patch-1
...
Update README.md
2024-04-22 17:54:15 -04:00
Jeod
c0fb3a3f02
Update README.md
2024-04-22 17:54:07 -04:00
Azamat H. Hackimov
28df52f17f
Merge pull request #72 from GravisZro/fix/stdcall
...
Ensure STDCALL/STDCALLPTR is only invoked on x86
2024-04-23 00:33:35 +03:00
Jeod
bb070a5dad
Merge pull request #155 from DescentDevelopers/JeodC-patch-1
...
Don't run the workflow on specific file changes
2024-04-22 17:33:11 -04:00
Jeod
b274be59b7
Update build.yml
2024-04-22 17:31:41 -04:00
Jeod
79db2b75f6
Merge pull request #154 from DescentDevelopers/JeodC-patch-1
...
Add logo to readme
2024-04-22 17:27:45 -04:00
Jeod
74b7956787
Add logo to readme
2024-04-22 17:27:29 -04:00
Louis Gombert
94f07583d2
Merge pull request #153 from th1000s/hog2
...
HogMaker: don't modify data when printing it
2024-04-22 20:06:18 +00:00
Thomas Otto
86d9fb8c13
HogMaker: don't modify data when printing it
...
- Create reserved bytes when constructing HogHeader
- Only byteswap a copy of the data
- Other small cleanups
2024-04-22 21:51:49 +02:00
Louis Gombert
b1dac9e19e
Merge pull request #140 from bryanperris/objunlink-sanity-check
...
Object unlink sanity check
2024-04-22 19:43:33 +00:00
Louis Gombert
815f16157b
Merge pull request #150 from JeodC/main
...
Use new issue forms
2024-04-22 19:04:20 +00:00
Louis Gombert
e246d09c24
Merge pull request #143 from winterheart/HogMaker-fixes
...
Fix possible heap buffer overflow
2024-04-22 19:02:02 +00:00
Jeod
66ae79b85b
Merge pull request #152 from InsanityBringer/nomoviefixes
...
Fixes for missing movies
2024-04-22 14:27:21 -04:00
InsanityBringer
b869ff9ce7
Don't prompt for a CD when starting Descent 3 if the videos weren't found
2024-04-22 13:17:33 -05:00
InsanityBringer
983a69fe1c
Show static background in main menu if mainmenu video isn't found
2024-04-22 13:05:23 -05:00
Jeod
c88c52b0ac
Update 03-wiki-issue.yml
2024-04-22 13:36:02 -04:00
Jeod
2db70717b1
Update 01-build-failure.yml
2024-04-22 13:11:10 -04:00
Jeod
66a0608b7d
Update 02-runtime-issue.yml
2024-04-22 13:10:25 -04:00
Jeod
952709d621
Merge pull request #3 from JeodC/newissuetemplates
...
Add new issue templates
2024-04-22 13:09:01 -04:00
JeodC
26391834c3
Add new issue templates
2024-04-22 13:07:31 -04:00
Azamat H. Hackimov
c791e177b1
Merge pull request #147 from scivision/doc
...
Readme: tell location of new Descent3 exe
2024-04-22 10:45:43 +03:00
scivision
62cd52de54
readme: note location of newly build Descent3 binary
2024-04-22 00:20:17 -04:00
GravisZro
9a80863c7f
Ensure STDCALL/STDCALLPTR is only invoked on x86
...
Prevent the code from trying to use stdcall for anything except (32-bit) x86 builds
because it's the only platform it's applicable for.
2024-04-21 22:24:50 -04:00
Azamat H. Hackimov
e8809973b8
Replace vector with array
...
Arrays has fixed length, that prevents of possibility accidentally expand them.
2024-04-22 03:27:17 +03:00
Azamat H. Hackimov
6352ab21b9
Fix possible heap buffer overflow
...
Strict size of name of entry with 36 bytes.
Thanks to MaddTheSane for pointing out.
2024-04-22 02:37:42 +03:00
Edu Garcia
ebc78a6463
Merge pull request #139 from winterheart/linux-clang
...
CI: Add Linux / clang to build matrix
2024-04-21 21:24:34 +01:00
Kevin Bentley
1fd8876f60
Merge pull request #135 from DanielGibson/use-libacm
...
Use upstream libacm 1.3 for ACM audio decoding
2024-04-21 13:46:27 -06:00
Azamat H. Hackimov
9e9b713507
Merge pull request #109 from Lgt2x/clang-warnings
...
Fix some clang warnings
2024-04-21 22:08:07 +03:00
bperris
ceaa4a3c2f
Merge branch 'DescentDevelopers:main' into objunlink-sanity-check
2024-04-21 15:03:06 -04:00
Bryan Perris
6af62c8b02
sanity check: don't attempt to unlink an object that is already unlinked
...
Fixes load file crash issue, same for demo loading
2024-04-21 15:01:49 -04:00
Daniel Gibson
55181313c9
Fix loop in InternalAudioDecoder::Read()
2024-04-21 20:26:02 +02:00
Louis Gombert
c486919477
Fix -Wtautological-pointer-compare
2024-04-21 20:24:31 +02:00
Louis Gombert
491db4254a
Fix -Wdangling-else
2024-04-21 20:24:31 +02:00
Louis Gombert
43af644827
Fix -Wparentheses
2024-04-21 20:24:31 +02:00
Louis Gombert
a807c99283
Fix -Wparentheses-equality
2024-04-21 20:24:31 +02:00
Louis Gombert
04e8aeb247
Fix -Wswitch
2024-04-21 20:24:31 +02:00
Louis Gombert
466a142ba3
Fix -Wcomment
2024-04-21 20:24:31 +02:00
Louis Gombert
f1ec3d76c6
Merge pull request #122 from winterheart/hogutils
...
Own implementation of HogUtils - HogMaker
2024-04-21 18:08:39 +00:00
Azamat H. Hackimov
6a6f6570be
CI: Add Linux / clang to build matrix
2024-04-21 20:17:04 +03:00
Jeod
7463cb7d97
Merge pull request #123 from danra/ci_multi_config
...
[CI] Use same job for both Debug and Release builds
2024-04-21 12:38:31 -04:00
Daniel Gibson
f8aba67c56
Remove libacm/util.c
...
not needed, only using functionality of decode.c
2024-04-21 18:35:56 +02:00
Daniel Gibson
89bb0a54a8
Implement an IAudioDecoder that uses libacm
...
removed libacm.cpp, it's now in adecode.cpp, I think that's less
confusing now that the actual upstream libacm code is also in libacm/
This fixes the crash reported in #83
2024-04-21 18:35:56 +02:00
Daniel Gibson
a55f1a33aa
Make libacm.h C++-aware
...
see also https://github.com/markokr/libacm/pull/1
2024-04-21 18:35:56 +02:00