Commit graph

413 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
P3rlE
e0418bd2d4 Added more options to func_breakable
!!! use the new entities.def !!!
2022-03-19 21:49:08 +01:00
P3rlE
1fe5dba1f0 Added ogm video support 2022-03-19 20:19:51 +01:00
P3rlE
6715f16622 added missing car sounds
removed build folder
2022-03-16 07:21:43 +01:00
P3rlE
fa799120c7 updated readme files
version upcount
2022-03-15 20:53:29 +01:00
P3rlE
7bea27efcc some small HUD fixes / fixed flag position again 2022-03-11 23:55:03 +01:00
P3rlE
304bccd5d8 start screen also fixed for non 16:9 resolutions 2022-03-11 06:52:01 +01:00
P3rlE
4616ef9cda HUD now fits with all resolutions / small fix needed 2022-03-10 22:49:52 +01:00
P3rlE
6eca172246 fixed font sizes - HUD needs to be fixed 2022-03-08 22:54:31 +01:00
P3rlE
d8f9599427 fixed hud and flag icon position 2022-03-07 23:15:00 +01:00
P3rlE
808b51a099 fixed position of the reward medals
fixed position of the "you fragged" message
2022-03-07 21:50:55 +01:00
P3rlE
3f7562eeec enabled aspect correct HUD by default 2022-03-06 14:36:31 +01:00
P3rlE
8d55b07ab7 added zturtleman´s flexible HUD code 2022-03-06 08:25:18 +01:00
P3rlE
286579e497 Normalize all the line endings 2022-03-03 21:58:53 +01:00
P3rlE
d9c6a530f4 Saving files before refreshing line endings 2022-03-03 21:57:10 +01:00
P3rlE
53a5148759 Corrected line endings 2022-03-03 06:35:52 +01:00
P3rlE
e8de4d00a0 Fixed Hud
Hopefully the last commit for 0.4
2022-03-02 17:14:45 +01:00
insellium
6473a31a0f LAST COMMIT - for 0.4 release
version change + deleting useless map
2022-03-02 20:20:51 +05:00
insellium
aff6156a3f Changes for upcoming 0.4
Added new car - Lotus
Disabled sv_pure for reflect & plate fix
Changed default settings in code
2022-03-02 14:38:24 +05:00
P3rlE
f81c4d68c5 version change 2022-03-02 05:56:28 +01:00
P3rlE
738bc1b80c make quad glow purple
quad purple glow
some preparations for 0.5
2022-03-02 05:55:45 +01:00
P3rlE
da3fe95b71 Changes 2022-03-01 22:38:28 +01:00
P3rlE
2c70b4498b Reverted widescreen changes 2022-03-01 21:51:56 +01:00
P3rlE
3ec62383a8 Revert widescreen changes
Reverted widescreen changes...
2022-03-01 21:38:39 +01:00
P3rlE
f66bfc66c7 Revert widescreen changes
Reverted widescreen changes...
2022-03-01 21:07:26 +01:00
P3rlE
0653107087 Some code Cleanup 2022-03-01 20:55:24 +01:00
P3rlE
09afe21143 changed year in the menu 2022-02-26 20:40:42 +01:00
P3rlE
f804ccfd9f removed pak check 2022-02-26 00:10:30 +01:00
P3rlE
471e61a022 Merge branch 'master' of https://github.com/Q3Rally-Team/q3rally 2022-02-25 23:47:47 +01:00
insellium
c09c7f2bed Remove cheat protection from OpenGL2's r_forceSun 2022-02-23 10:14:05 +05:00
P3rlE
9916297ecd Version Upcount 2022-02-19 19:04:25 +01:00
P3rlE
fc96a4a2ca Some changed stuff 2022-02-14 19:19:42 +01:00
P3rlE
aa25dbacbc - fixed (hopefully) railgun bug
- added medal for telefrag
2022-02-05 21:49:34 +01:00
P3rlE
97c4bd4295 Impressive Medal now given by frag, not by hit 2022-02-02 23:59:26 +01:00
Zack Middleton
efd3a95e9a Revert "Fix cursor sensitivity in the menu"
This reverts commit 2b93e67527.

This change made the in-game cursor speed match system cursor if
in_nograb is 1 but slower than the system cursor if in_nograb is 0
(the default).
2022-01-26 00:13:24 -05:00
Zack Middleton
2b93e67527 Fix cursor sensitivity in the menu
Based on patch by Eugene C. from https://bugzilla.icculus.org/show_bug.cgi?id=6435
2022-01-25 19:45:33 -05:00
q3rally
7281774a1b Version Upcount for Nightly Build 2022-01-15 20:48:08 +00:00
zturtleman
6f468b0443 Fix auto added third sigil when only two sigil exist in the map.
If the item that is converted to the third sigil had "count" set on the entity in the map, it would be impossible to pick up.
2022-01-15 03:01:05 +00:00
zturtleman
755736061c Only show as many Domination sigils on the HUD as exist in the map. 2022-01-15 02:56:10 +00:00
zturtleman
7edcfd0e0a Fix Domination sigil HUD status icons at the top of the screen. 2022-01-15 01:46:02 +00:00
zturtleman
146f909848 Fixes for Domination found when looking at the code. Whether they were causing noticeable issues is unknown. This breaks network compatibility with past release's QVMs (this is handled by GAME_VERSION).
- CS_SIGILSTATUS used the same configstring index as a G_ModelIndex(); CS_MODELS to CS_MODELS + MAX_MODELS
- PW_SIGILWHITE, etc powerups were out of bounds for ps.powerups[] (see MAX_POWERUPS) and read ammo values
2022-01-02 19:58:57 +00:00
zturtleman
d6679e53ab Revert chat changes made in r437 and r438. 2021-12-22 02:23:39 +00:00
q3rally
b68d5f5db1 Reverted the chat position 2021-12-07 20:08:46 +00:00
q3rally
135d030e11 more hud fixes 2021-11-30 22:44:46 +00:00
q3rally
221e699e09 fixed upper right hud positions 2021-11-30 19:57:37 +00:00
q3rally
7c932fe29a lowered the frag bonus from 5 seconds to 0.5 seconds
version upcount
2021-11-11 18:04:58 +00:00
danildm
9cf5988f71 Widescreen Support(Danil_Dm) 2021-10-03 14:08:37 +00:00
q3rally
651df8789c Draw FPS on/off is now available in the menu
version upcount
2021-10-02 20:12:29 +00:00
q3rally
ea090e6c3d default key config out of the box 2021-09-30 21:10:24 +00:00
q3rally
7c033f97bf Rear weapons now on by default in the rear view mirror 2021-09-30 20:15:36 +00:00
q3rally
c73f893280 fixed rear view mirror bug where the mirror disappears sometimes 2021-09-28 21:05:40 +00:00
q3rally
24b46797a3 new health box fits now into the hud
tweaked the fpsmax in rearview mirror
version upcount
2021-09-26 20:53:21 +00:00
q3rally
865ce7e554 railgun bug should be fixed now 2021-09-21 17:03:15 +00:00
q3rally
8990eed8c1 tweaked the chat position a little bit 2021-09-21 14:44:27 +00:00
q3rally
84d8c60a4e changed "SIGIL" to "Control Point"
changed "Regenaration" to "Auto Repair"
Modified the Chat position
2021-09-21 12:46:07 +00:00
q3rally
b1098cc61f reverted the last changes (thx zturtleman) 2021-09-11 23:10:09 +00:00
q3rally
38d979fe7c forgot to change some code and a shader 2021-09-11 22:38:30 +00:00
q3rally
9cedd46b8e added own font for plates
now bigchars.tga can get bigger than 256x256px (hopefully)
2021-09-11 22:12:59 +00:00
q3rally
f47d51f34c tweaked the direct steering mode a little bit
updated menu entries in q3r options
version upcount
2021-08-04 22:04:44 +00:00
q3rally
85a1e0718d Fixed bug #40
removed "Laps" from arenas.txt
version upcount
2021-07-31 20:36:42 +00:00
q3rally
2c8bf8438b Changed a few names in the menu
version upcount
2021-07-31 20:14:05 +00:00
zturtleman
bcfd420250 ioquake3 resync to revision 6925 from 6920.
Allow unwinding of qvmcall64 call-stub for msvc/masm.
Add epsilon to avoid division by zero in CalcSpecular().
Add r_parallaxMapOffset.
Fix line not removed in previous commit.
OpenGL2: Flip normals for backfacing triangles.
2021-07-30 05:08:47 +00:00
q3rally
8be1b5b71d added aas file for battlecanyon
fixed bug #39 (plasmagun alt fire)
2021-07-27 20:57:01 +00:00
q3rally
782f65048a bots are now added via arena file 2021-07-08 21:12:39 +00:00
q3rally
30a4363ed2 arena files now contain "bot support" and "teams" 2021-07-08 15:21:20 +00:00
q3rally
d4d94bd63d Added the new sigils and icons from insellium codewise
version upcount
2021-07-08 09:31:01 +00:00
q3rally
6c8224cce7 homing rockets now shootable
adjusted rocket speed
2021-06-24 20:34:54 +00:00
q3rally
64ee3a5374 power of the homing rockets decreased
version upcount to v0.3c
2021-06-15 16:15:53 +00:00
zturtleman
62467f97b9 Fix losing race rank after finishing if following other player
If you finish the race and then follow another player (fire and then
rear fire to switch to SPECTATOR_FOLLOW) and then after other player
finishes and there is no one else to follow the game switches you
to SPECTATOR_FREE. This calls ClientBegin() which clears most of the
game client data, including the finishRaceTime. This puts the player
in last place on the scoreboard.
2021-06-15 10:30:30 +00:00
q3rally
cad778cadc Added 4-Team-Domination
Added default bots to arena files
2021-06-11 04:29:41 +00:00
q3rally
bf13265969 2021-06-07 14:56:21 +00:00
zturtleman
1568196e27 ioquake3 resync to revision 6920 from 6893.
Updated to latest recommended build settings, increased deployment target to 10.7
Further tweaks to Xcode project
Now works as well as possible in Xcode 11
Figured out method of referencing GLSL generated C files outside of code directory
Update README.md
Add C syntax highlighting to readme
Simplify glsl -> C stringification
Make LCC path resolution more robust
GitHub Actions setup
Remove old CI system configurations
Add status badge to README
Fix shader stringify
Run apt-get update before installing deps
Avoid platform sed differences
Run actions on pull request too
Use `r_texturemode GL_LINEAR_MIPMAP_LINEAR` by default
[sdl] Turn tentative definition into actual definition.
Add TOOLS_CFLAGS to build preamble
Fix use of TOOLS_CC being reported as CC
Use the correct compiler for tools when cross building under cygwin
Allow using pulseaudio for SDL audio capture
Restore bots crushing unseen player on q3tourney6 in non-CTF
Fix the number of weights in the IQM model calculation
Fixes a crash when compiling the project on windows in 64 bit mode.
2021-06-07 09:11:19 +00:00
zturtleman
5fd3d16c15 Update ioquake3 svn revision
ioquake3 default git branch being renamed probably added a bunch of svn revisions.
2021-06-07 08:40:37 +00:00
q3rally
1c1694e7e2 added q3r_citydom map and aas and textures
changed version numbering
2021-05-28 19:46:16 +00:00
q3rally
ae3c64ee50 commit for 0.0.3.0 release (code freeze)
tweaked telefrag gun
updated roadmap
updated discord logo in main menu
version upcount
2021-05-13 16:02:43 +00:00