pryon
c316dc7b00
Fix incorrect line width calculation when tabs are present
2024-09-21 19:17:25 +02:00
smallmodel
f9d264058b
Use safe version of sprintf and strcpy
2024-09-20 23:08:53 +02:00
smallmodel
a69d9d4483
Fix compilation errors for MacOS, and add support for MacOS
2024-09-20 21:31:27 +02:00
smallmodel
8b19d00086
Remove the last OpenAL linking as it's already linked before
2024-09-20 21:29:15 +02:00
smallmodel
1156d4f881
Replaced (u)int64_t with long long to avoid constructor conflicts with some compilers
2024-09-20 21:28:36 +02:00
smallmodel
08c5186426
Use stdlib.h as malloc.h is deprecated
2024-09-20 21:27:53 +02:00
smallmodel
61b4a817f3
Move alloca include directive to q_platform.h due to difference between platforms
2024-09-20 20:52:41 +02:00
smallmodel
015ebb650e
Clean up ClassDef class
2024-09-19 22:50:33 +02:00
smallmodel
17d623bf85
Add more clarity + check the length of the const_str enumeration and the length of the const string array to make sure they both match
2024-09-19 21:23:19 +02:00
smallmodel
20d11f5f97
Add max_amount parameter to the EV_Sentient_GiveAmmo documentation
2024-09-19 21:02:04 +02:00
smallmodel
047a7bb949
Deprecate r_forceClampToEdge in favor of automatic detection
...
This avoids setting the variable manually to fix sky seams and weird graphical artifacts. Now, it's detected automatically
2024-09-19 21:00:22 +02:00
smallmodel
52c79f7f77
Make crates correctly fall
2024-09-19 20:49:33 +02:00
smallmodel
c97bc2e977
Add more clarity in crateobject.cpp
2024-09-19 20:38:31 +02:00
smallmodel
78d564cc04
Fix CrateThink stopping when it shouldn't
2024-09-19 20:34:04 +02:00
smallmodel
e27c0716c4
Allow more stufftext commands when the local server is running
...
Those stufftext commands are primarily used by single-player maps and briefings
2024-09-19 20:14:15 +02:00
smallmodel
35d037daff
small detail change
2024-09-19 20:00:53 +02:00
smallmodel
f055162ac0
Adjust the quick message DM console rectangle to avoid seeing characters
2024-09-19 19:46:27 +02:00
smallmodel
f2e32c737b
Fix the gap in the console between the bottom line and the text
2024-09-19 19:46:07 +02:00
smallmodel
205709271b
Add fixes from upstream ioq3
2024-09-19 19:24:31 +02:00
smallmodel
3e70a9fab8
Fix mistakes that lead to compilation errors
2024-09-19 19:19:58 +02:00
Sébastien Noel
a010e648ee
Fix a few typos
2024-09-19 10:52:47 +02:00
smallmodel
1c7b561aa9
Filter stufftext commands
...
This works by allowing the stufftext server command to be executed if the statement only contains whitelisted commands and variables
2024-09-18 23:51:39 +02:00
smallmodel
75a71d35ec
Avoid calling isspace with a character that has a value below 0
2024-09-18 23:04:01 +02:00
smallmodel
7c0f0672bd
Add r_vidmode1024 and r_vidmodemax so the display resolution can be changed in Spearhead and Breakthrough
2024-09-18 22:59:30 +02:00
smallmodel
8fc6b6e3c3
Correctly handle quick message and message mode for the chat window
...
This fixes the chat window not being put in quick message mode at all when intended, now it also correctly handle team/private message modes
2024-09-18 22:14:16 +02:00
smallmodel
6c2c8ca2b7
Don't archive s_openaldevice and s_openaldriver
2024-09-18 22:10:33 +02:00
smallmodel
1b6bdd07e7
Disable function keys for UI
...
This fixes the issue where menus like the message mode can't be toggled
2024-09-18 21:51:35 +02:00
smallmodel
539688dd3d
Reduced the delay to 33 ms (30 fps) to update the loading bar
...
This makes the loading bar smoother
2024-09-18 20:56:13 +02:00
smallmodel
08e09c3b4c
Avoid setting variables with the same value
...
This prevents the console from being spammed with constant variable change when `developer` is set to 2
2024-09-18 20:55:02 +02:00
smallmodel
4259053c7e
Expose methods for basic DMA (when OpenAL is unavailable)
2024-09-18 20:49:38 +02:00
smallmodel
41298b53d4
Add PRODUCT_VERSION_STAGE variable to define the stage of the software through builds
2024-09-18 18:13:57 +02:00
smallmodel
3f139f463b
Remove stub print
2024-09-18 00:19:05 +02:00
smallmodel
0597191319
Implement SkelVec3::IsUnit
2024-09-18 00:18:08 +02:00
smallmodel
f4c8b0c21f
Initialize the cube build info
...
This should fix lighting being too dark or incorrect in some places
2024-09-17 22:22:42 +02:00
smallmodel
bba7031f3d
Add more clarity to code
2024-09-17 22:20:20 +02:00
smallmodel
4785913e02
compare_light_intensities should compare intensity as integers directly
2024-09-17 21:31:50 +02:00
smallmodel
a6808d1f6a
Fix incorrect light color for point lights and spot lights, also handle negative point light intensity
...
This fixes lighting from sphere being computed incorrectly for entities, making entities often look black or having strange lighting color
2024-09-17 21:27:14 +02:00
smallmodel
7188e9832a
Fix leaf iteration
2024-09-17 20:51:00 +02:00
smallmodel
0cce0c81fb
Prevent world values from being overridden by entities
2024-09-17 20:32:39 +02:00
smallmodel
a60baa03e0
Add MAX_SPHERE_LIGHTS
2024-09-17 20:06:35 +02:00
smallmodel
b0c8dafb33
Correctly compute colors for static model in vertex lit texture
2024-09-17 20:02:37 +02:00
smallmodel
b672fc8b29
Add #if, #if_not and #else shader statements
2024-09-17 20:00:24 +02:00
smallmodel
eac69f659f
For dot/oneminusdot, shader needs normal
2024-09-17 20:00:00 +02:00
smallmodel
d9ab65154c
Fix incorrect lighting grid blend
2024-09-17 00:27:01 +02:00
smallmodel
c120aed8bb
Fix incorrect static model grid lighting
2024-09-16 22:11:58 +02:00
smallmodel
ecdbe3d959
Don't check lightmap for RB_StageIteratorVertexLitTextureUnfogged to be used
2024-09-16 22:01:04 +02:00
smallmodel
96d10fb8b0
Mark r_light_nolight as cheat
2024-09-16 20:50:02 +02:00
smallmodel
2ab826268d
Clear the legs state during the torso evaluation when the movecontrol is not legs
...
The legs state won't be stuck anymore waiting for an empty animation. This could happen under special circumstances, when the torso evaluation sets the movecontrol to non-legs (clears the legs anim) and then back to legs in subsequent iterations.
Fixes #105 , the issue cannot be exploited anymore for land-sharking
2024-09-16 20:20:19 +02:00
smallmodel
c3e3f368e0
use cheats
rather than sv_cheats
to check if the client is connected to a cheat server
2024-09-16 18:59:36 +02:00
smallmodel
f35582489d
Fix support for british, russian and italian voices in Spearhead and Breakthrough
2024-09-16 18:09:56 +02:00