Commit graph

621 commits

Author SHA1 Message Date
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
b3fe8e7cc2 Add map rotation config files for servers
Created based on the "type" field in the scripts/*.arena files.

Use with "q3rally-server.x86_64 +exec q3r_racing.cfg".
2023-08-28 16:58:22 -05:00
Zack Middleton
bc4a435056 Add list of engine changes 2023-08-21 14:03:47 -05:00
Zack Middleton
0c524e000d Fix protocol handler scheme 2023-08-21 13:57:57 -05:00
Zack Middleton
8bf79baf63 Fix and resync Windows installer
Fix wrong file paths.
Merge installer changes from ioquake3.
2023-08-21 13:20:16 -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
3b65f5dea6 Add license info to the README 2023-08-19 16:37:03 -05:00
Zack Middleton
400d2c85ef Improve AppStream metainfo
- Correct the software license to be GPL-2.0-or-later.
- Remove the hyphen in the developer name.
- Add social-audio intense due to unmoderated voice chat.
- Some syntax / order changes to match ioquake3's metainfo.
2023-08-19 15:41:01 -05:00
Matthias Mailänder
fd2440cca2 Add AppStream metadata and Open Age Rating. 2023-08-19 15:56:12 -04:00
Zack Middleton
777628604b Update Github Actions CI 2023-08-14 21:30:12 -05:00
Zack Middleton
5205081edc Improve documentation for compiling for ARM64 2023-08-14 21:17:14 -05:00
Zack Middleton
f2a68b0b24 Update Makefile for move to git 2023-08-14 17:54:14 -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
b1a0437218 Fix shotgun texture with unpacked data on Linux
Changed models/weapons2/shotgun/shotgun.TGA to use .tga to match the
real filename. (Changed using a hex editor, no other changes.)
2023-06-04 20:00:01 -05:00
Zack Middleton
a0967278f5 Fix Kuro bot (bots/neko_c.c) with unpacked data on Linux 2023-06-04 19:52:17 -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
Zack Middleton
2010b17a0f Fix "wrong way" message being off-center in widescreen 2023-06-04 12:49:49 -05:00
Zack Middleton
52a77b8162 Update engine/README.md 2023-03-07 17:43:08 -06:00
Zack Middleton
8ccf66ca7f Add directions for compiling 2023-03-07 17:33:13 -06:00
Zack Middleton
00b5ebaf7b Fix uploading build from GitHub Actions 2023-03-03 10:49:25 -06:00
Zack Middleton
1fc1ccc3c2 Add complete Windows/macOS SDL binaries
Ugh.. no idea why 'git checkout <ioq3-commit> -- files' didn't copy
full binaries.
2023-03-03 01:28:34 -06:00
Zack Middleton
f7f7f4dcf4 Test GitHub Actions 2023-03-03 00:39:11 -06:00
Zack Middleton
bf1a70b2e5 Add CI build using GitHub Actions 2023-03-02 23:21:11 -06:00
Zack Middleton
595b89dbe5 Add SDL 2.24.0 libs for Linux
Add the Linux SDL libs to the repo like Windows and macOS instead of
downloading them when running make-linux-portable.sh.
2023-03-02 23:13:18 -06:00
Zack Middleton
22a0949a26 ioquake3 resync to commit 4610a240 from bc8737d7
Upgrade to build and run from VS2019
Upgrades to Xcode project and Apple Silicon support
Update SDL2 to 2.0.14
Updated SDL2 include files to fix Mac build in GitHub Actions
Added another mention of arm64 to command line help
Restored original opus sse files, excluded from Xcode
Added arm64 to the post-build symlinking step
Merge branch 'main' into xcode
Merge branch 'main' into vs2019
Added shell script to compile Universal 2 binary (x86_64+arm64)
Reverting alert style to deprecated methods
Upgrades to Xcode project and Apple Silicon support
Update SDL2 to 2.0.14
Added another mention of arm64 to command line help
Restored original opus sse files, excluded from Xcode
Added arm64 to the post-build symlinking step
Added shell script to compile Universal 2 binary (x86_64+arm64)
Reverting alert style to deprecated methods
Merge branch 'xcode' of https://github.com/tomkidd/ioq3 into xcode
Removed signature from SDL dylib, enabled dark mode on macOS.
spaces > tabs
Ad-hoc signed libSDL2-2.0.0.dylib
Fix compiling against SDL 2.0.17
UB2 now signs and notarizes, upgraded to SDL 2.0.16
Architectures in libSDL2 restored for ppc and i386
Merge remote-tracking branch 'upstream/main' into vs2019
Update SDL2 to 2.0.16
Added rudimentary support for automatically finding Microsoft Store version of Quake 3
GHA deprecated Ubuntu 16.04 - update to 18.04
qsort cannot be called with NULL
Merge remote-tracking branch 'upstream/main' into vs2019
Addressed string concatenation issue and added dummy method for Mac/Linux
Added missing variable.
Merge remote-tracking branch 'upstream/main' into xcode
Updated SDL 2.0.16 headers and Mac version of libraries to fix GitHub actions
Addressed PR suggestions
Modified MS Store path handling to better follow the pattern of Steam/GOG
Merge pull request #481 from tomkidd/xcode
Merge pull request #482 from tomkidd/vs2019
OpenGL2: Fix r_grayscale 1 making everything solid black
Print full GL_EXTENSIONS list for OpenGL contexts before 3.0
Fix being unable to enter Team Arena CD key
OpenGL2: GL_DEPTH_TEXTURE_MODE was removed from OpenGL 3.0/Core
Improve setting Microsoft Store path
Update building for macOS in README
Make macOS arm64 default to target macOS 11 in Makefile
Fix error when cross-compiling for macOS arm64 using Makefile
Fix passing arguments to VM dylib on Apple M1
Fix compiling on older macOS
Fix memory corruption in S_TransferPaintBuffer
Fix memset
Fix hex digit
Fix uninitialized variable
some old URL and doc updates
Update README.md
Update FUNDING.yml
code/curl: update ifdef condition for MCST-LCC compiler in mcst-lcc compiler => 1.25 added a new macro definition to determine compiler
Revert "code/curl: update ifdef condition for MCST-LCC compiler"
Revert "E2K: fixed build by MCST lcc compiler when using USE_CURL=1 option"
More predictable mesh normals generation
vm_x86.c: Add `defined(_M_IX86) || defined(_M_X64)` (fix for VS2019)
Add keys for SDL 2.0.14's new gamepad buttons
Fix in_availableJoysticks cvar not updating
Fix (disabled) Wavelet sound decompression
Update to SDL 2.24.0 and add separate macOS UB2 dylib
Update macOS UB1 to SDL 2.0.22
Fix running make-macosx{,-ub2}.sh on Linux
Update MSVC .lib files to SDL 2.24.0
2023-03-02 23:13:18 -06:00
Zack Middleton
bf32458d4a Fix run.sh for moving to git
"baseq3r/vm" directory was lost in the move to git; subversion allows
empty directories but git does not. Make run.sh create the directory
so symlinks can be made. Otherwise run.sh fails to run the game.
2023-03-02 23:13:18 -06:00
Zack Middleton
7ca41f7c2f Add new script for merging ioq3 changes
The new resync_ioq3.sh is _almostly_ automatic if there is no merge
conflicts. Though it probably doesn't handle everything that can
go wrong.

resync_svn.sh requires a lot of manual intervention to fix generated
.patch file when there is binary files changed and manually copying
the files from ioq3. Also have to manually add/remove files from
version control.

resync_svn.sh requires manually removing body of commit messages from
the generated .log for the commit message.
2023-03-02 23:13:18 -06:00
perle
b9c6fc91af new roadmap 2023-03-02 21:44:38 +01:00
perle
2fbb1b76dc Merge branch 'master' of https://github.com/Q3Rally-Team/q3rally 2023-03-02 21:10:05 +01:00
perle
e2395a33b3 sign of life 2023-03-02 21:08:30 +01:00