Chris Sarbora
256898dfc6
Move fog into shader
2024-08-18 03:26:06 -05:00
Chris Sarbora
625b2fc1a1
update vertices modernly
2024-08-18 03:26:06 -05:00
Chris Sarbora
0dd203e2c0
create, track, and clean up texture ids responsibly
2024-08-18 03:26:06 -05:00
Chris Sarbora
a5081982f6
Always use Multitexture
2024-08-18 03:26:06 -05:00
Chris Sarbora
d25bf5e4e1
set up texture enabling
...
eliminate gl(Enable|Disable)ClientState and glClientActiveTextureARB
2024-08-18 03:26:06 -05:00
Chris Sarbora
5b4703bf5f
pipe color and texcoords thru the shaders
2024-08-18 03:26:06 -05:00
Chris Sarbora
16df2d764a
Set up transformations in vertex shader
2024-08-18 03:26:03 -05:00
Chris Sarbora
d61deae68d
add rudimentary shaders and machinery
2024-08-18 02:52:46 -05:00
Chris Sarbora
bc99cc867b
use opengl 3.2
2024-08-18 02:52:46 -05:00
Chris Sarbora
9950c80e64
eliminate glBegin usage
2024-08-18 02:49:07 -05:00
Chris Sarbora
f8043c1390
extract DetermineColor logic
2024-08-18 02:49:07 -05:00
Chris Sarbora
18ccdf5a81
glShadeModel calls are redundant with default setting, rend_SetLightingState is redundant with rend_SetLighting
2024-08-18 02:49:07 -05:00
Chris Sarbora
8d94450b7a
dglAlphaFunc(GL_GREATER, 0) is perfectly redundant
2024-08-18 02:49:07 -05:00
Chris Sarbora
e152b5df70
setting depth range to [0, 1] is superfluous
2024-08-18 02:49:07 -05:00
Chris Sarbora
cc08065fa1
Eliminate unused dyna_gl methods
2024-08-18 02:49:07 -05:00
Chris Sarbora
b380145bb2
Delete commented code
2024-08-18 02:49:07 -05:00
Chris Sarbora
599ec00a86
Unused code
2024-08-18 02:49:07 -05:00
Chris Sarbora
0d5aa9df1d
g3_Init and g3_Close do nothing
2024-08-18 02:49:07 -05:00
Chris Sarbora
fb2dbe8c92
Delete empty method
2024-08-18 02:49:07 -05:00
Chris Sarbora
8d26df7b25
Delete written-only fields
2024-08-18 02:49:07 -05:00
Chris Sarbora
41a04aedd2
dead code
2024-08-18 02:49:06 -05:00
Chris Sarbora
201d4add62
Make dyna_gl definitions easier and own all fn lookups
2024-08-18 02:49:06 -05:00
Chris Sarbora
bd06bf5288
rename ogl* to dgl*
2024-08-18 02:49:06 -05:00
Azamat H. Hackimov
c01ef38bba
Merge pull request #516 from Lgt2x/changelog
...
Create changelog for Descent Open Source 1.5
2024-08-15 12:03:37 +03:00
Louis Gombert
ee0f72322e
Create changelog for Descent Open Source 1.5
2024-08-15 11:49:26 +02:00
Azamat H. Hackimov
45361c453d
Merge pull request #521 from Lgt2x/usage-instructions
...
Create usage file for the packaged version
2024-08-15 10:22:04 +03:00
Louis Gombert
164f102368
Split README between README, BUILD and USAGE files.
...
Prepare those files to be shipped with the pre-built assets.
2024-08-15 01:02:10 +02:00
Louis Gombert
a78eb53f69
Merge pull request #525 from winterheart/release-actions
...
Add release flow to GitHub Actions
2024-08-13 09:18:48 +02:00
Louis Gombert
bda97fc57a
Merge pull request #523 from DescentDevelopers/windows-fix
...
Fixes for Windows build
2024-08-12 22:49:09 +02:00
Azamat H. Hackimov
03a3b923a0
Add release flow to GitHub Actions
...
Initial support to automate release flow. Now after git tag of specific commit GitHub Actions will create a draft entry of release (named by tag) with source code package on it.
2024-08-12 17:07:44 +03:00
Azamat H. Hackimov
73373205e5
Merge pull request #517 from Lgt2x/cmake-headers
...
CMake: add all headers to target sources
2024-08-12 15:58:05 +03:00
Louis Gombert
e74515ddff
Merge pull request #524 from MaddTheSane/netDylib
...
macOS: Fix netgames not looking for dylib.
2024-08-12 09:10:14 +02:00
C.W. Betts
0d9873a361
macOS: Fix netgames not looking for dylib.
...
replaces #522
2024-08-11 23:07:25 -06:00
Azamat H. Hackimov
f888a101ab
Fix crash in Release mode for new pilot
...
During start of new game with new pilot (never played) game tries to inject to play level1.mve before training mission right in the middle of update UI frame. At same time, if game previously found mainmenu.mve, it will be looped in main menu screen. Since buffers for MVE playback already allocated fo mainmenu.mve, trying to start another movie will lead to crash.
Removed movie injection from playing, now new pilot will see this sequence:
New game -> Training mission -> level1.mve cutscene -> Level 1
Removed RELEASE #ifdef's on this part of code as this definitely masked issue until we caught it in preparation of release build.
2024-08-12 01:44:21 +03:00
Azamat H. Hackimov
ba1020ef70
Fix compilation on Windows
...
SetUnhandledExceptionFilter requires WINAPI macros on RecordExceptionInfo() declaration, otherwise it fails to compile on x86 arch.
2024-08-11 20:40:19 +03:00
Louis Gombert
6ec444d9cc
Merge pull request #514 from pzychotic/windows-crashdumps
...
Windows crashdumps
2024-08-11 12:34:38 +02:00
Louis Gombert
688bb3715b
Merge pull request #519 from winterheart/vecmat-cleanup
...
VECMAT: Silence "unknown pragma" warning on gcc/clang
2024-08-11 10:35:08 +02:00
Azamat H. Hackimov
39f971e325
VECMAT: Silence "unknown pragma" warning on gcc/clang
...
There no double to float conversion anymore, so in Windows this pragma is useless.
2024-08-11 04:06:43 +03:00
Thomas Roß
1809f48ca9
[Misc] Removed some leftover debug stuff that does nothing anymore.
2024-08-10 18:44:29 +02:00
Thomas Roß
33288916c2
Replaced the old and now unused code for manunal callstack parsing with the creation of a crashdump file aka MiniDump. Together with the matching debug symbols from the previous commit, we can analyse these crashdumps to fix the problem.
2024-08-10 18:41:48 +02:00
Thomas Roß
0d01d3c84c
[Build] Enable the generation of debug symbols in all build configurations and install them to be available in our GitHub workflow artifacts. This prepares us to create crashdumps on user systems even from release builds that we will than be able to analyse on a dev machine.
2024-08-10 18:40:24 +02:00
Azamat H. Hackimov
b923179526
Merge pull request #518 from Lgt2x/disable-editor
...
Disable shipping the editor because it is not currently usable
2024-08-10 17:43:24 +03:00
Louis Gombert
9551e78b92
Disable shipping the editor because it is not currently usable
2024-08-10 01:07:18 +02:00
Louis Gombert
dbf6c149f5
Merge pull request #515 from MaddTheSane/netDylib
...
macOS: Make sure the netcon modules end with dylib.
2024-08-10 00:27:15 +02:00
Louis Gombert
60c5dbf1fe
CMake: add all headers to target sources
...
This can help with CMake IDE integration and file indexing.
2024-08-09 17:09:14 +02:00
C.W. Betts
7d5b51e8f8
macOS: Make sure the netcon modules end with dylib.
2024-08-05 15:54:38 -06:00
Louis Gombert
05e873ade4
Merge pull request #512 from tophyr/pr/fix-vcpkg
...
Fix VCPKG builds in GitHub CI
2024-08-04 18:13:34 +02:00
Louis Gombert
4c4cd9cfc6
Build SDL2 with alsa for VCPKG
2024-08-04 10:49:48 -05:00
Chris Sarbora
f93f86e7dd
Update CI workflow with correct vcpkg dependencies
2024-08-04 10:42:09 -05:00
Louis Gombert
10de36c0e4
Merge pull request #469 from tophyr/vcpkg-all-thethings
...
Use vcpkg on all presets
2024-08-04 14:10:09 +02:00