Commit graph

20 commits

Author SHA1 Message Date
q3rally
629909b230 removed more useless "crosshair" code
version number upcount
2021-04-12 21:33:56 +00:00
zturtleman
83cd2f1ae9 ioquake3 resync to revision 3534 from 3522.
Make Team Arena prevTeamMember command loop around player list
Prevent Q_IsColorString from asserting on negative ascii chars
Add .gitignore for misc/msvc12
OpenGL2: r_cubemapping 2 for box cubemap parallax.
Add r_parallaxMapShadows.
Fix PRINT_ERROR print level missing from CL_RefPrintf
OpenGL2: Fix compiling lightall GLSL on OpenGL 2.1
Add current (custom) resolution to Q3 UI video mode list
Override video mode list in Team Arena UI
OpenGL2: Disable r_cubeMapping if not OpenGL 3.0+
Fix rendering IQM models between model frames
Fix warnings that IQM blendWeights may not be initialized
2019-05-21 02:42:43 +00:00
zturtleman
96a9e2a9aa ioquake3 resync to revision 3511 from 3444.
This updates from SDL 2.0.4 to SDL 2.0.8.

Fix nullptr dereference in front of nullptr check in FS_CheckPak0
Fix undefined behaviour due to shifting signed in snd_mem.c
Fix shifting bits out of byte in tr_font.c
Fix shift into sign in cl_cin.c
Fix signed bit operations in MSG_ReadBits
Add missing address operator in cm_polylib.c
OpenGL1: Decay float[8] to float * in tr_marks.c
Avoid srcList[-1] in snd_openal.c
Fix the behaviour of CVAR_LATCH|CVAR_CHEAT cvars
Maximize cURL buffer size
Fix mouse grab after toggling fullscreen
Fix q3history buffer not cleared between mods and OOB-access
Revert "Removed "Color Depth" from q3_ui system settings, it didn't control anything."
Fix displayed color/depth/stencil bits values
Restore setting r_colorbits in q3_ui
Make setting r_stencilbits more consistent in Team Arena UI
Fix map list in Team Arena start server menu after entering SP menu
Support SDL audio devices that require float32 samples.
sdl_snd.c should just initialize SDL audio without checking SDL_WasInit().
There's no need to SDL_PauseAudio(1) before calling SDL_CloseAudio().
Added audio capture support to SDL backend.
Use the SDL2 audio device interface instead of the legacy 1.2 API.
Disable SDL audio capture until prebuilt SDL libraries are updated to 2.0.8.
Update SDL2 to 2.0.8
Add SDL 2.0.1 headers for macOS PPC
Make macOS Universal Bundle target 10.6 for x86 and x86_64
Fix possible bot goal state NULL pointer dereference
Fix uninitialized bot_goal_t fields
Remove unnecessary NULL pointer check in Cmd_RemoveCommand
Make UI_DrawProportionalString handle NULL string
Fix compiling against macOS system OpenAL and SDL2 frameworks
Fix array index in CanDamage() function - discovered by MARTY
Fix compiling Makefile (broke in macOS frameworks commit)
Fix clearing keys for control in Team Arena UI
Make s_useOpenAL be CVAR_LATCH
Improvements for dedicated camera followers (team follow1/2)
Fix not closing description.txt and fix path seperator
Fix duplicate bots displayed in Team Arena ingame add bot menu
OpenGL2: Fix parsing specularScale in shaders
Don't allow SDL audio capture using pulseaudio
Isolate the Altivec code so non-Altivec PPC targets can use the same binary.
Limit -maltivec to specific source files on OpenBSD too (untested)
Use SDL 2.0.1 headers for macOS ppc64
Fix console offset while Team Arena voiceMenu is open
OpenGL2: Readd r_deluxeSpecular.
Fix client kicked as unpure when missing the latest cgame/ui pk3s
Don't create multiple windows when GL context creation fails
Require OpenGL 1.2 for GL_CLAMP_TO_EDGE
Fix Linux uninstaller requiring Bash
Fix Linux uninstaller redirecting stderr to stdout in preuninstall.sh
Reported by @illwieckz.
Fix in_restart causing fatal error while video is shutdown
Allow pkg-config binary to be overridden with PKG_CONFIG
Make testgun command without argument disable test gun model
Remove unused renderer_buffer variable
Don't upload 8 bit grayscale images as 16 bit luminance
OpenGL1: Use RE_UploadCinematic() instead of duplicate code
Don't load non-core GL functions for OpenGL 3.2 core context
Load OpenGL ES 2.0 function procs
Don't check fixed function GL extensions when using shader pipeline
OpenGL2: Fix world VAO cache drawing when glIndex_t is unsigned short
OpenGL2: Misc fixes and cleanup
Fix IQM root joint backlerp when joint number is more than 0
Improve IQM loading
Improve IQM CPU vertex skinning performance
OpenGL2: Add GPU vertex skinning for IQM models
2018-07-30 11:35:12 +00:00
zturtleman
c55f11d8b9 ioquake3 resync to revision 3393 from 3385.
OpenGL2: Use ri.Error instead of Com_Error in tr_vbo.c
Fix Team Arena server refresh time format
Fix -1 (unlimited) ammo decreasing ammo time remaining
Correct spelling mistakes
Fix invalid model frame developer warnings in Team Arena
2017-12-03 10:09:52 +00:00
zturtleman
0081965385 Sync Engine and Game VM code to ioquake3
Mostly whitespace changes. No bug fixes.
Q3Rally doesn't change any botlib code so revert copyright in botlib headers that use to be in the Q3 SDK game source directory.
MD3_MAX_* defines (besides MD3_MAX_LOD) are not used so revert to ioq3 values.
2017-11-17 03:49:41 +00:00
zturtleman
d1d77c02f6 Restore compatibility with running on unmodified ioquake3
Remove additional acos and asin system call traps that I added in r119 (2012-09-15).
Now the implementations in bg_lib.c are used like when Q3Rally was a mod.
acos system call is part of Q3A CGame API. It's still used by Q3Rally CGame.

Attempting to run Q3Rally CGame VMs from Sep-2012 - Nov-2017 will now given an error.
ERROR: Bad cgame system trap: 112
2017-11-17 00:43:27 +00:00
zturtleman
95fbb18fa1 ioquake3 resync to revision 3385 from 3347.
Fix going to previous browser source in q3_ui
Limit ui_smallFont/ui_bigFont/cg_noTaunt cvars to missionpack
Fix team chat box for spectators
Don't draw crosshair 0 in Team Arena setup menu
Make client for Windows x86_64 use OpenAL64.dll by default
Fix loading renderer DLLs on Windows x86
Add Windows application manifest
Disable DPI scaling on Windows
ignore window resize event on fullscreen
Don't reload arenas.txt/*.arena files in Team Arena UI
Fix crash when out of memory in Team Arena's String_Alloc
Fix in_nograb not releasing the mouse cursor
Update UI player animation handling to match CGame
Fix specifying minimum mac os version in make-macosx.sh
Fix listen server sending snapshots each client frame
Statically link libgcc on Windows
Fix hit accuracy stats for lightning gun and shotgun kills
Don't link to libGL at compile time
Add common OpenGL version parsing + OpenGL 3 fixes
Support parsing OpenGL ES version strings
Fix setting cflags/libs from sdl2-config
Load OpenGL ES 1.1 function procs
[qcommon] Use unsigned types where wrapping arithmetic is intended
OpenGL2: Fix brightness when r_autoExposure is disabled
OpenGL2: Fix MD3 surface with zero shaders dividing by zero
[botlib/be_aas_def.h] Change array size from MAX_PATH to MAX_QPATH
Don't redefine MAX_PATH in bot code
Fix memory leak in (unused) AAS_FloodAreas()
Fix compiling GLSL shaders under Windows.
Only draw cm_patch/bot debug polygons in world scenes
Fix reading crash log when log wraps around buffer
Don't send team overlay info to bots
Fix a race condition in the makedirs target
Fix shader corruption on OpenBSD
2017-11-04 11:30:30 +00:00
zturtleman
e7405e98df ioquake3 resync to revision 3331 from 3306.
OpenGL2: Use an OpenGL 3.2 core context if available
OpenGL2: Remove GLSL_ValidateProgram()
OpenGL2: Don't do MSAA resolve/shadow mask/SSAO on shadow views
OpenGL2: "Fix" cg_shadows 4
Fix score bonus for defending the flag carrier in CTF
Restore not giving defense score bonus to flag carrier
Add score bonus for defending the flag carrier in 1 Flag CTF
Move CON_Init ahead of Com_Init to avoid Windows dedicated server crash
Make 'globalservers 0' fetch all masters
OpenGL2: Don't use initialized arrays in glsl shaders
Echo server say/tell/sayto message to console
Don't try to remove non-existant command 'shaderstate'
Update internal curl to 7.54.0
Silence g_util.c warning about set but not read variable
Remove unused imgFlag_t value IMGFLAG_SRGB
Make warmup in Team Deathmatch wait for players to join both teams
Remove CVAR_PROTECTED from cl_renderer
Fix/improve buffer overflow in MSG_ReadBits/MSG_WriteBits
Fix friction in AAS_ClientMovementPrediction
Fix floating point precision loss in renderer
Reject OpenGL contexts w/ software renderer when core context requested
2017-08-07 05:23:43 +00:00
zturtleman
866aa787cf ioquake3 resync to 3306 from 1951.
Update to ioquake3 revision 3306 from 1951 of the ioq3 Github repo via subversion. Over 4 years of changes.
2017-07-10 01:33:41 +00:00
zturtleman
3b4f4cdfa9 ioquake3 resync to revision 2369 from 2317.
Some revision messages:

Cache servers for each master server in q3_ui, otherwise servers from last updated master for shown for all Internet# sources.
Play correct team sounds when in spectator mode and following a player.
Check last listener number instead of clc.clientNum in S_AL_HearingThroughEntity so sound work correctly when spectate following a client. (Related to bug 5741.)
When in third person, don't play player's sounds as full volume in Base sound system. OpenAL already does this. (Related to bug 5741.)
really fix the confusion with game entity and refentity numbers
to further reduce confusion, rename constants like MAX_ENTITIES to MAX_REFENTITIES
Added Rend2, an alternate renderer. (Bug #4358)
Fix restoring fs_game when default.cfg is missing.
Fix restoring old fs_game upon leaving a server. Patch by Ensiform.
Change more operator commands to require sv_running to be usable. Patch by Ensiform.
Fix some "> MAX_*" to be ">= MAX_*".
Fix follow command to find clients whose name begins with a number.
Fix up "gc" command, make it more like "tell". Based on patch by Ensiform.
Add usage messages for gc, tell, vtell, and votell commands.
Check player names in gc, tell, vtell, and votell commands.
#5799 - Change messagemode text box to display colors like in console input box.
Improve "play" command, based on a patch from Ensiform.
Check for invalid filename in OpenAL's RegisterSound function.
Changed Base sound system to warn not error when sound filename is empty or too long.
Remove references to non-existent functions CM_MarkFragments and CM_LerpTag.
2012-12-06 07:07:19 +00:00
zturtleman
19a7bc3429 Add Q_acos and Q_asin trap calls for qvms (cgame had acos, renamed to Q_acos for consistancy with engine).
Change the range check on acos to be 0 to PI, not -PI to PI.
Fix memcmp for qvms?
2012-09-15 08:01:58 +00:00
zturtleman
f079c4eb05 ioquake3 resync to revision 2317 from 2210. 2012-09-15 03:03:44 +00:00
zturtleman
6c49d858a9 ioquake3 resync to revision 2143 from 2116. 2011-08-10 22:10:14 +00:00
zturtleman
964be685e3 ioquake3 resync to revision 2116 from 2115. 2011-08-10 21:49:38 +00:00
zturtleman
4c3ad4d379 ioquake3 resync to revision 2115 from 2105. 2011-08-10 21:14:44 +00:00
q3rally
a1670788ff Reverted Q3Rally back to ioq3 revision 2105. 2139 didn´t run. 2011-08-09 15:30:56 +00:00
q3rally
969882468f Resync from ioq3 2105 to 2139 2011-08-06 22:44:15 +00:00
zturtleman
477584906e - ioquake3 resync to revision 2105 from 2098. 2011-07-29 17:52:36 +00:00
zturtleman
339deb2bff - ioquake3 resync to revision 2098 from 1834 (?) 2011-07-26 08:52:24 +00:00
q3rally
dcdc537bfa Added files 2011-02-18 14:31:32 +00:00