Commit graph

357 commits

Author SHA1 Message Date
perle
397106f092 # 2024-07-31 23:30:42 +02:00
perle
cdfd626658 fixed bug #8
System message in CTF when friendly fire
2024-07-27 09:50:52 +02:00
perle
d4b7971c8f fixed bug #69
cg_autodrop should work now
2024-07-26 23:12:59 +02:00
perle
008a11c491 fixed bug #69
cg_autodrop should work now
2024-07-26 23:03:12 +02:00
Zack Middleton
686a1d662f Add file list for emscripten port 2024-06-13 16:09:26 -05:00
Zack Middleton
04ea0f76f8 ioquake3 resync to commit c1ab47a7 from 60dfabbe
Use nanosleep(2) instead of usleep(3)
Makefile: fix compilation on FreeBSD
Update macOS version for GitHub CI
OpenGL2: Add OpenGL ES 2.0+ support
OpenGL2: Add run-time support for unsigned short indexes
OpenGL2: Use CPU vertex animation if too few vertex attributes
Merge pull request #664 from zturtleman/opengles2
OpenGL2: Fix issues running under WebGL
OpenGL2: Fallback to OpenGL ES if OpenGL fails
Add minimal emscripten support
Fix emscripten build directions
Use BASEGAME for emscripten assets
Fix using emscripten 3.1.27+
Allow building for emscripten with "emmake make"
Add -ffast-math for emscripten to match other platforms
Add .vscode and baseq3 to gitignore
Rebuild every target if Makefile changes
ioquake3.html replaces Emscripten-generated HTML shell
Get rid of "Nothing to be done for _.zip" message
Fix build when specifying PLATFORM=emscripten manually instead of using emmake
Silence compiler warnings
Support debug Emscripten build
Speed up GitHub Actions with -j
Add GitHub Actions workflow for web/Emscripten
Add Emscripten to README
Add DEPEND_MAKEFILE to disable rebuild on Makefile edit
Add BUILD_RENDERER_OPENGL1 to disable opengl1
Clean up emscripten in Makefile
Make emscripten --preload-file opt-in
Allow web client to use unzipped QVMs
Customize the web client HTML file
Add support for overriding basegame to web client
Add support for mods to web client
Rename client-config.json based on CLIENTBIN
2024-06-13 15:44:18 -05:00
Zack Middleton
157273b493 ioquake3 resync to commit 60dfabbe from f9547e45
opengl1: Fix skybox in OpenGL 1.1
Update SECURITY.md
2024-05-10 19:52:07 -05:00
Zack Middleton
6f62f2806a ioquake3 resync to commit f9547e45 from 93abc60a
OpenGL2: Fix sun rays being affected by the viewport size
OpenGL2: Fix merged lightmap hacks to have real lightmap index
OpenGL2: Fix using merged lightmaps with tcGen environment
OpenGL2: Fix hack for tcMod transform on merged lightmaps
OpenGL2: Fix flares behind mirror being visible
Fix running on Windows XP
Fix GitHub Actions CI deprecation warnings
OpenGL2: Don't mix drawing to default framebuffer and FBO
2024-03-02 05:42:51 -06:00
Zack Middleton
d8dcb28d04 Make statusbar stay at bottom of screen in narrow aspects 2024-01-21 17:05:48 -06:00
Zack Middleton
b2d893a31b Make power-up line up on status bar 2024-01-21 17:00:16 -06:00
Zack Middleton
67c0b325ec Don't draw ammo HUD background in race with no weapon 2024-01-21 16:58:58 -06:00
Zack Middleton
f5cfbf2269 ioquake3 resync to commit 93abc60a from 5ede35d8
OpenGL2: Fix applying tcMod turb
2024-01-21 16:28:59 -06:00
insellium
e6adaa0353 Little code update 2
— changing credits song name in code
— revision update
2024-01-21 20:54:23 +05:00
insellium
e7e0acdae4 Little code update
— Changed cg_gravity to 1400 (for realistic car movement)
— Expanded checkpoint limit from 40 to 100
2024-01-18 13:25:08 +05:00
Zack Middleton
9aad2a0098 Revert 'out of ammo' change committed by accident
I tested disabling it by weapon instead of gametype but went with adding
Derby to ignoring 'out of ammo' so Gauntlet behaves like Q3.

Change made in "Disable permanent 'out of ammo' message in Derby"
commit 4745f36e47.
2024-01-17 22:34:45 -06:00
insellium
b6695dceef My last commit in 2023
— Added test map for new gamemode LMS
— Fixed Grenade Launcher parameters
2023-12-29 14:49:00 +05:00
Zack Middleton
4745f36e47 Disable permanent 'out of ammo' message in Derby
In Derby, weapons don't spawn and player's only start with Gauntlet.
2023-12-27 17:06:05 -06:00
Zack Middleton
89c4886605 Fix issues and formatting from adding LCS
See "NEW GAME MODE: LAST CAR STANDING"
commit 227e401356
2023-12-27 16:07:06 -06:00
Zack Middleton
aa3deb6ed1 ioquake3 resync to commit 5ede35d8 from 972635ea
OpenGL2: Fix q3map2 lightstyles effects
OpenGL2: Fix parsing q3gl2_sun without two additional tokens
Fix building QVMs on Linux with Windows line endings
2023-12-26 22:29:18 -06:00
Zack Middleton
91aebdd96f ioquake3 resync to commit 972635ea from b1e6ef14
Build QVMs even if there is no QVM JIT
OpenGL2: Fix border for cg_viewsize using HDR/FB-MSAA w/postProcess
OpenGL2: Fix r_clear when using HDR/FB-MSAA
OpenGL2: Fix FB-MSAA on AMD Windows driver
OpenGL2: Fix updating the loading screen with r_cubeMapping 1
2023-12-18 20:49:39 -06:00
insellium
227e401356 NEW GAME MODE: LAST CAR STANDING
New map for this game mode: COMING SOON
zturtleman, check it out, please.
2023-12-18 00:45:22 +05:00
insellium
6a9e2fdb0b Something from me
— Removed haze.ogg. It was temporary music for q3r_babel.
— Added a vignette with noise on the map loading screen.
— Added support for multiple music tracks in the main menu.
— Fixed strncpy error in ui_menu.c appearing during build compie.
— Version update. Looks like version 0.5 will slowly be done without P3rle. I miss him so much.

Ah yes, I'm not a coder.
2023-12-16 12:44:58 +05:00
Zack Middleton
9048507722 Don't spawn with machinegun in Demolition Derby
Fixes https://github.com/Q3Rally-Team/q3rally/issues/25
2023-12-14 16:32:23 -06:00
insellium
f13bcab3f4 Okay, TR_LINEAR make a sense for solution of GrenadeL problem 2023-12-11 07:01:22 +05:00
insellium
8b1de85aa0 GrenadeL alt fire fix 2023-12-11 06:40:33 +05:00
Zack Middleton
a4fe13c122 Fix "following" text being off-center 2023-12-09 22:51:45 -06:00
Zack Middleton
ae409da88b Add parentheses about binary-and
There wasn't a warning so it was probably fine?
2023-12-09 22:51:45 -06:00
Zack Middleton
dc0fa02eb3 Make spectator observer camera rotate smoothly 2023-12-09 22:51:45 -06:00
insellium
56383666bc Update for credits & car damage 2023-12-10 05:44:50 +05:00
Zack Middleton
528645fe86 Fix camera not rotating smoothly
Reducing camera angle in damageYaw to 8-bit caused camera to be limited
to 256 angles and not rotate smoothly.

Restore setting it locally in higher precision as a separate variable
(damageAngles) but still keep it as 8-bit in damagePitch/damageYaw so
it networks correctly.

Issue introduced in "Fix sending angles in damagePitch/damageYaw".
2023-12-09 18:33:04 -06:00
Zack Middleton
226fc030cd Fix intermission view angles
angle/angles is set for info_player_intermission in Q3Rally maps
(and used by Quake 3), not angles2.

(This also required the previous commit to fix angles that CGame
received.)
2023-12-09 18:30:07 -06:00
Zack Middleton
866db4eba5 Fix sending angles in damagePitch/damageYaw
damagePitch/damageYaw are send over the network as 8-bit but Q3Rally
stored 16-bit short for angle in them. This caused CGame to have
different angles than Game.
2023-12-09 18:30:07 -06:00
insellium
d1a0772586 WildGamer's Dream
Now the car is not damaging when driving and the crouch button is pressed (unless you deliberately hit the wall at high speed).
2023-11-20 23:45:56 +05:00
insellium
3baa6a5e7e Fixing Homing Missile of RL 2023-11-20 02:41:25 +05:00
insellium
d4c238aecd Fixed Grenade Missile Physics
FINALLY!!
2023-11-20 01:37:22 +05:00
Zack Middleton
0c524e000d Fix protocol handler scheme 2023-08-21 13:57:57 -05:00
Zack Middleton
a496080c2b ioquake3 resync to commit b1e6ef14 from 47c96419
Fixed another minor typo or two
Minor typo correction to be_aas_file.c
Add .gitignore to msvc10 folder
Added .gitignore to msvc folder
Fix macOS client/server failing to start from terminal
nsis: Remove Speex library
nsis: Require installing SDL
Don't list mod directories at Windows drive root
2023-08-21 12:58:15 -05:00
Zack Middleton
a9c7189b39 Don't use mouse for player while console is open
Caused by the previous commit.
2023-06-06 07:31:56 -05:00
Zack Middleton
ed4bec3d46 Make mouse movement in menus match regular desktop movement
Use absolute mouse input instead of relative in the menus. Convert the
absolute position to relative movement in virtual "640x480 but aspect
correct" coords and preserve fractional movement. Synchronize the
position of the UI's menu cursor by forcing it to 0,0 and then sending
a delta of the current position in virtual coords.

The cursor can also freely move out of the window in the menu.
2023-06-06 07:04:45 -05:00
Zack Middleton
08872e95e0 Fix func_breakable being destroyed with one shot
A use function was added to func_breakable so it can be destroyed when
triggered by an entity but it stopped using health when shot.

Issue introduced in e0418bd2d4.
2023-06-06 03:40:34 -05:00
Zack Middleton
ed6fbd1796 Fix players in race spawning with invisible gauntlet 2023-06-06 02:44:53 -05:00
Zack Middleton
c37b8b8f52 Restore machinegun in non-race gametypes
The change to have gauntlet in race had no effect as gauntlet is
removed a few lines below.

See commit b9c6fc91af.
2023-06-06 02:41:22 -05:00
Zack Middleton
91b8c8dfc6 Rename the new URL scheme to q3rally
Websites can link to q3rally servers using the following:

    q3rally://connect/0.0.0.0

A protocol handler needs to be configured on the system to run:

    q3rally.x86_64 --uri q3rally://connect/0.0.0.0
2023-06-04 19:35:20 -05:00
Zack Middleton
1286903908 ioquake3 resync to commit 47c96419 from 4610a240
Document USE_INTERNAL_VORBIS in README
Update CI to Ubuntu 20.04
Add protocol handler support
Fix bad client reliableAcknowledge DOS exploit
2023-06-04 19:32:47 -05:00
Zack Middleton
51578c980c Fix bots going in reverse for no reason in races
On some maps bots went in reverse right away or got (almost to?) the
first checkpoint and then went in reverse forever. Race movement uses
derivatives on a curve but they seem to be invalid at fraction 0 and 1
so limit it to 0.05 to 0.95 (arbitrary).

This change fixes bots being stuck near the beginning of q3r_nightcity,
q3r_ridgeracer, and q3r_valley. The bots can complete the maps now.
2023-06-04 19:10:52 -05:00
Zack Middleton
43101bf2f8 Fix out of range death events
Event EV_DEATH1 + sv_maxclients was sent when a player dies. This
is the wrong event. For sv_maxclients 10, CGame errors out because
EV_BREAK_GLASS isn't implemented.

EV_DEATH1 to 3 exist for different animations/sounds in Q3.
Specifically EV_DEATH1 + i is used. "i" for this was removed in
Q3Rally but "i" exists at a higher scope for iterating through
clients.
2023-06-04 14:29:22 -05:00
Zack Middleton
5da196639f Fix event names for debug messages 2023-06-04 14:28:17 -05:00
Zack Middleton
70428c4d2e Fix controls menu not updating weapon model
Q3 updates the weapon model at end of drop weapon animation but
Q3Rally doesn't use animations. So update the weapon model when
triggering the weapon change sound.
2023-06-04 14:00:25 -05:00
Zack Middleton
b3b8e60176 Fix inconsistent value for no weapon change in UI
ui_controls2.c updated to ioq3 using WP_NUM_WEAPONS, to avoid out
of range enum usage, but ui_players.c was not updated.

The weapon was probably set to WP_NUM_WEAPONS. There is no item
for it so it would use machinegun model instead.
2023-06-04 13:56:49 -05:00
Zack Middleton
c4e21022a1 Fix setting railgun color in menu
color cvar was renamed in color1 in a Quake 3 point release.
2023-06-04 13:18:36 -05:00