Commit graph

1531 commits

Author SHA1 Message Date
smallmodel
194d53569f
Added foliage AFunc 2023-08-28 00:51:43 +02:00
smallmodel
5e8b54be7e
Added new cvars from mohaas/mohaab 2023-08-27 23:24:06 +02:00
smallmodel
8dc91e413e
Commented out GLS_MULTITEXTURE_ENV since it was removed in mohaas 2023-08-27 23:18:48 +02:00
smallmodel
57cf513b39
Added $bumpmap and normalmap (from mohaab) 2023-08-27 23:18:32 +02:00
smallmodel
bb1326860b
Added normalmap fields 2023-08-27 23:18:21 +02:00
smallmodel
136838e40b
Fixed R_ColorShiftLightingBytes()
The lighting bytes must use tr.overbrightShift instead of tr.overbrightBits.
This makes the rendering more colorful
2023-08-27 22:18:09 +02:00
smallmodel
30d9483504
Decreased SHADERNUM and STATICMODEL shift values
When the number of shaders reached >1023, some surfaces started to be have random shaders started on them
The number of sorted shaders in a single game can now be up to 2048
2023-08-27 22:17:16 +02:00
smallmodel
05d3c50866
Stage fixes
Initialize animation phase to 0
Made CollapseMultitexture() work for more shaders
2023-08-27 22:15:08 +02:00
smallmodel
d5e93d863a
Set ps.walking in CG_TransitionSnapshot() instead 2023-08-27 19:53:29 +02:00
smallmodel
d3f93aae15
Interpolate fLeanAngle #66 2023-08-27 19:32:38 +02:00
smallmodel
963e4aa7ec
Restore saved Cgame state if the server is different (clear it otherwise) 2023-08-27 19:31:45 +02:00
smallmodel
5a250ea247
Fill cent->snapShotTime 2023-08-27 19:30:08 +02:00
smallmodel
bc8d8aafc0
Fixed the viewmodel not being normal when no prediction is active 2023-08-27 19:14:23 +02:00
smallmodel
f67ab4ec7f
Fixed HUD being hidden when in camera (like MG42) 2023-08-27 18:56:37 +02:00
smallmodel
cf9af20fbd
Console history and wheel scroll
Implemented KeyEvent() for both UIConsole and UIDMConsole
Added a call to AddHistory() in UIConsole::KeyEnter()
2023-08-27 18:55:49 +02:00
smallmodel
3be2a3eb79
Made m_caret a size_t 2023-08-27 18:49:39 +02:00
smallmodel
7dfd18f4fb
setTopItem(): don't set value below 0 2023-08-27 18:40:58 +02:00
smallmodel
05fc960338
Implemented getCount(), getPosition() and setPosition()
Fixed IteratePrev() being wrong
2023-08-27 18:40:38 +02:00
smallmodel
21d41ce14b
Use facfont-20 for objective font 2023-08-27 17:48:18 +02:00
smallmodel
1562ba3f97
Fixed CG_ImpactMark being wrong with fSScale and fTScale 2023-08-27 17:48:10 +02:00
smallmodel
2798e73707
Fixed CG_CastFootShadow not working if only one of the red/green/blue channels was below 0.01 2023-08-27 17:47:49 +02:00
smallmodel
89aeee4269
TIKI_LoadSetupCase: reworked case integer values 2023-08-27 17:29:04 +02:00
smallmodel
d50302fa41
Fixed tiki radius being wrong 2023-08-27 17:28:25 +02:00
smallmodel
8efae54450
Removed zero vectors assert in ProjectPointOnPlane(), it was removed since F.A.K.K 2 2023-08-27 17:13:12 +02:00
smallmodel
2785a72789
Fixed R_GatherLightSources crash 2023-08-27 17:01:53 +02:00
smallmodel
ac55a44761
Implemented CG_CastFootShadow, CG_CastSimpleFeetShadow
Reimplemented CG_EntityShadow
2023-08-27 17:01:40 +02:00
smallmodel
42f1a286a8
Added MASK_FOOTSHADOW 2023-08-27 16:33:51 +02:00
smallmodel
241fa5d485
Fixed backtrace always showing 0x0 2023-08-26 21:16:48 +02:00
smallmodel
e87f9c5710
Removed calls to NET_Init() as this function is already called from main() 2023-08-26 21:14:35 +02:00
smallmodel
c95a6ee3fd
Cleaned code up 2023-08-26 21:13:14 +02:00
smallmodel
10b954cb1a
Added MAX_KEYVALUES_LENGTH 2023-08-26 21:12:32 +02:00
smallmodel
cf7914b6f8
Fixed compiler warning about void* to int 2023-08-26 20:23:00 +02:00
smallmodel
b92cd8a64f
Fixed player info for SVC_Status
Fixed "protocol" always returning 17 for SVC_Info
Fixed server not processing gamespy queries (not appearing in the master list)
2023-08-26 18:18:30 +02:00
smallmodel
317aead26d
Replaced 1350 with MAX_INFO_STRING
Fixed wrong gamespy query being processed
2023-08-26 18:17:55 +02:00
smallmodel
e93780c66c
Fixed players_callback always returning players when there are none
Fixed gcd_think() crashing if it wasn't initialized
2023-08-26 18:17:28 +02:00
smallmodel
af8990acf0
Added SV_ProcessGamespyQueries() declaration 2023-08-26 18:16:35 +02:00
smallmodel
e41dcf03ad
Added CVAR_SERVERINFO flag to "protocol"
Removed CVAR_SERVERINFO flag from "com_protocol" (useless)
2023-08-26 18:15:39 +02:00
smallmodel
0209e8f782
Fixed call to GSICancelAvailableCheck() causing socket 0 (STDIN) to be closed, any read() afterwards would hang 2023-08-26 16:18:57 +02:00
smallmodel
86ee9089e9
Include cg_radar.h 2023-08-25 23:22:44 +02:00
smallmodel
ba6fe112bb
Using Sys_LoadDll to load modules. Sys_LoadDll uses the binary path instead of the current working directory 2023-08-25 23:00:05 +02:00
smallmodel
15860a7795
Windows NT and Linux being both multi-user system, the homepath now defaults to %APPDATA%\openmohaa (Windows NT) and ~/openmohaa (unix) 2023-08-25 22:58:55 +02:00
smallmodel
f61bda330e
Set homepath to "openmohaa" (win32) and ".openmohaa" (unix) 2023-08-25 22:55:27 +02:00
smallmodel
5c9fceea2c
Use sizeof sockaddr_in instead of 16 2023-08-25 22:55:22 +02:00
smallmodel
32cceebc47
Use the Git abbreviated commit hash for the product version 2023-08-24 23:33:29 +02:00
smallmodel
9d921df733
Added Git abbreviated commit hash 2023-08-24 23:33:19 +02:00
smallmodel
428f8c183d
Put the extension before the platform string 2023-08-24 23:33:07 +02:00
smallmodel
45aae54b32
Renamed "Base" to "Allied Assault" 2023-08-24 23:32:40 +02:00
smallmodel
c2e24da9bd
Initialize tracerspeed to 1 (this fixes turret bullets on mohaas/mohaab) 2023-08-24 23:19:49 +02:00
smallmodel
c6ae5ed551
Added gamespy cd key authorization code (mohaas/mohaab only) 2023-08-24 23:19:21 +02:00
smallmodel
0f86a5ee8a
Fixed "gamename" on mohaab
Use GS_GetCurrentGameName() and GS_GetCurrentGameVersion() in basic_callback
Using DF_ALLOW_LEAN_MOVEMENT instead of raw dmflags
2023-08-23 23:50:40 +02:00