Commit Graph

1045 Commits

Author SHA1 Message Date
Azamat H. Hackimov
739409a653 MODULE: rewrite mod_GetRealModuleName()
Drop DDIO dependency.
2024-08-20 23:09:27 +03:00
Azamat H. Hackimov
73477877a0 MODULE: cleanup DDIO related functions
Remove duplicated code.
2024-08-20 23:09:21 +03:00
Azamat H. Hackimov
54f9d75e62 Reduce linux_fix.h usage in project 2024-08-20 23:08:10 +03:00
Azamat H. Hackimov
16a6866885 DDIO: new crossplatform SleepMS() function
Use C++ chrono and thread for crossplatform sleep function.
2024-08-20 23:08:10 +03:00
Louis Gombert
45ff821328
Merge pull request #539 from pzychotic/code-cleanup
Code cleanup
2024-08-20 21:39:15 +02:00
Thomas Roß
db7584ea1a [Multiplayer] Removed unused global variable. 2024-08-20 20:03:02 +02:00
Thomas Roß
b3cc92d0c2 [Cleanup] Remove unused code. 2024-08-20 20:03:02 +02:00
Thomas Roß
bdf992a8fd [CMake] Add cfile tests to 'tests' folder in IDEs. 2024-08-20 20:03:02 +02:00
Thomas Roß
fdcc348b9c [Cleanup] Fixed mismatch between function declarations and implementations. 2024-08-20 20:03:02 +02:00
Thomas Roß
7b71873a69 [Cleanup] Removed function declarations that are not implemented. 2024-08-20 20:03:02 +02:00
Thomas Roß
a637f1e883 [Lib] Deleted unused header files. 2024-08-20 20:03:02 +02:00
Thomas Roß
a57b8e17a8 [Sound] Deleted unused header files. 2024-08-20 20:03:02 +02:00
Thomas Roß
3162d4a4af [DDIO] Deleted unused ddio_win.h. 2024-08-20 20:03:02 +02:00
Thomas Roß
69945e93a8 [Misc] Deleted leftover empty logging code. 2024-08-20 20:03:02 +02:00
Louis Gombert
10ce4e48b7
Merge pull request #542 from rfht/main
build on OpenBSD via Linux pathways
2024-08-20 18:30:23 +02:00
Azamat H. Hackimov
b6729a5813
Merge pull request #538 from pzychotic/fix-key-triggers
Fix key triggers
2024-08-20 19:03:22 +03:00
Azamat H. Hackimov
1026a6e80b
Merge pull request #527 from tophyr/pr/modernize-renderer
Modernize Renderer
2024-08-20 19:00:43 +03:00
thfrwn
35bcbe8bf0 build on OpenBSD via Linux pathways 2024-08-20 10:03:24 -04:00
Thomas Roß
cce73891fa [Keyboard] Fixed a bug, where when a keyboard action has a 2nd key binding, both keys need to be hit to trigger the action.
(cherry picked from commit 7f4da73dc8a20202b25a5e2e901684ca08c95018)
2024-08-18 21:21:00 +02:00
Louis Gombert
3cb1e8911a
Merge pull request #479 from DescentDevelopers/editor-fix-deprecation
Fix deprecation warning about  /Zc:forScope-
2024-08-18 14:49:41 +02:00
Louis Gombert
f97ab8aa83
Merge pull request #533 from winterheart/switch-1.6.0
Prepare to next major version 1.6.0
2024-08-18 11:54:11 +02:00
Louis Gombert
aff1276aec
Merge pull request #495 from winterheart/ddio-update
DDIO: replace ddio_FindFileStart(), ddio_FindNextFile() and ddio_FindFileClose() with ddio_DoForeachFile()
2024-08-18 11:47:07 +02:00
Chris Sarbora
8bd1b678f0
Gate OpenGL error-checking on a compilation setting rather than Debug/Release 2024-08-18 03:26:07 -05:00
Chris Sarbora
46043e709d
use GL_RGBA8 instead of invalid GL_RGB 2024-08-18 03:26:07 -05:00
Chris Sarbora
38100b8ed1
use GL_CLAMP_TO_EDGE instead of deprecated GL_CLAMP 2024-08-18 03:26:07 -05:00
Chris Sarbora
77fb0cd1ab
use GL_TRIANGLE_FAN instead of nonexistent GL_POLYGONS 2024-08-18 03:26:06 -05:00
Chris Sarbora
a06e78074f
remove EXT and ARB suffixes 2024-08-18 03:26:06 -05:00
Chris Sarbora
791cdcb308
eliminate hints to things the shader does now 2024-08-18 03:26:06 -05:00
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