smallmodel
800ccaf020
Fixed animation crossblend not working correctly
2023-07-17 19:24:53 +02:00
smallmodel
7e526ca9a5
Fixed scrambled string errors with accents
2023-07-17 19:13:05 +02:00
smallmodel
b07784d884
Merge branch 'main' of github.com:openmoh/openmohaa
2023-07-17 00:25:21 +02:00
pryon
6891d297d2
Implement R_CountTikiLodTris ( #48 )
...
* Implement R_CountTikiLodTris
* Fix several bugs in R_DrawDebugNumber and a buffer overrun in R_DebugLine
2023-07-17 00:24:56 +02:00
smallmodel
69c2ea4614
Using font system from SH/BT to support different code pages
2023-07-17 00:24:04 +02:00
smallmodel
7515c99195
Fixed string being wrong if there is a char above 128 (like accents), causing network glitches
2023-07-17 00:22:15 +02:00
smallmodel
70463db037
Fixed normals being corrupted/uninitialized and causing weird artifacts, such as strange water lines in some maps
2023-07-15 21:21:27 +02:00
smallmodel
2015fbda4d
Initialize fragment iIndex to 0
2023-07-15 20:50:58 +02:00
smallmodel
f227fcdcaa
Implemented most mark functions
2023-07-15 20:41:52 +02:00
smallmodel
3a27275cb2
Implemented CG_GetBrushEntitiesInBounds
2023-07-15 20:41:27 +02:00
smallmodel
c05403d5d3
Set fov sin/cos
...
Implemented CG_FrustumCullSphere (from BT code)
2023-07-15 20:41:14 +02:00
smallmodel
89b2c9be9d
Added fov sin/cos variables
2023-07-15 20:40:26 +02:00
smallmodel
e288272c4a
Added CG_FrustumCullSphere and CG_GetBrushEntitiesInBounds
2023-07-15 20:19:08 +02:00
smallmodel
fc362fbe6b
Made pointBuffer const
2023-07-15 20:18:47 +02:00
smallmodel
113e3c3d87
Added CG_GetBrushEntitiesInBounds
2023-07-15 20:18:33 +02:00
smallmodel
1ae812af96
Added CG_FrustumCullSphere
2023-07-15 20:18:20 +02:00
smallmodel
f66ce78a56
Using const for pointBuffer
2023-07-15 20:18:08 +02:00
smallmodel
9882a20a95
Added iIndex in markFragment_t
2023-07-15 20:17:52 +02:00
smallmodel
7458077346
Added more marks variables and struct fields
...
Reimplemented CG_InitMarks, CG_AllocMark
Implemented CG_FreeMarkPoly, CG_FreeMarkObj, CG_FreeBestMarkObj
2023-07-12 23:53:30 +02:00
smallmodel
483df8ef87
Implemented CG_MakeBulletHoleSound
2023-07-10 23:58:05 +02:00
smallmodel
6318a606e8
Fixed MASK_SHOT value
2023-07-10 23:49:54 +02:00
smallmodel
608b8bec30
Implemented CG_CheckMakeMarkOnEntity, CG_InitTestTreadMark
...
Added CG_AssembleFinalMarks
2023-07-10 23:28:17 +02:00
smallmodel
ac8f34a40c
Implemented CG_MakeBubbleTrail, CG_BulletTracerEffect and CG_AddBulletImpacts
2023-07-10 23:08:27 +02:00
smallmodel
7cc687e110
Fixed beam const vec3_t parameter
2023-07-10 23:07:57 +02:00
smallmodel
819fe53eaa
Implemented CG_MakeBulletTracerInternal
2023-07-10 21:11:01 +02:00
smallmodel
e0a4661ec0
Added CONTENTS_FLUID
2023-07-10 21:10:33 +02:00
smallmodel
8b83b8e5bb
Replaced vec_t with vec3_t
2023-07-10 21:10:23 +02:00
smallmodel
a2e7a4b4a6
CG_ImpactMark parameters modification
2023-07-10 21:09:56 +02:00
smallmodel
f164bc638b
Put variables in CG_MakeBulletTracerInternal
2023-07-09 23:36:21 +02:00
smallmodel
2dc43f9104
Fixed wrong view model animations for mohta and mohtt weapons
2023-07-09 21:24:57 +02:00
smallmodel
7063469585
Added death dm flags to increase the duration of the decay time
2023-07-09 21:16:28 +02:00
smallmodel
84f785a872
Fixed TIKI autosteps flags (this fixes footsteps)
2023-07-09 20:36:42 +02:00
smallmodel
d7700ea1c2
Call ReregisterMaterial instead of RefreshMaterial
2023-07-09 20:15:47 +02:00
smallmodel
4e4e82c874
Fixed bad fog
2023-07-09 20:12:45 +02:00
smallmodel
0c57ec27e6
Added nodepthwrite, nodepthmask, nocolorwrite and nocolormask
...
Removed FixRenderCommandList from SortNewShader
Fixed shader.sort being wrongly SS_BLEND0 (this fixes issues when seeing through translucent textures like water)
2023-07-09 19:40:12 +02:00
smallmodel
bc249844bf
Added GLS_COLOR_NOMASK
2023-07-09 19:39:00 +02:00
smallmodel
7da3432b8c
Implemented RE_RefreshShaderNoMip
2023-07-09 18:15:21 +02:00
smallmodel
e8ecd1ca9e
Implemented R_RefreshImageFile
2023-07-09 18:15:04 +02:00
smallmodel
ec21e2e4d0
Added flags parameter for DrawTris
2023-07-09 17:48:31 +02:00
smallmodel
83d8fcb0e6
Reimplemented Autosprite2Deform
, this fixes trees sprite rendering
2023-07-09 16:36:35 +02:00
smallmodel
dc2b99fb58
Fixed fog extrafrustums above 1 (caused issues with culling)
2023-07-09 15:37:24 +02:00
smallmodel
0f05f8356f
Support r_showcull
debugging, as well as r_showstaticlod
and r_showstaticbboxes
2023-07-09 15:14:11 +02:00
smallmodel
34a426adf1
Implemented R_DrawDebugNumber
2023-07-09 15:13:39 +02:00
smallmodel
f4790a0e50
Added R_CountTikiLodTris
(unimplemented)
2023-07-09 15:13:24 +02:00
smallmodel
e943b95025
Implemented R_DrawDebugLines
and R_DrawDebugStrings
2023-07-09 14:38:22 +02:00
smallmodel
981610b13f
Declared R_DrawFloatingString
2023-07-09 14:37:57 +02:00
smallmodel
50098b3aed
Implemented R_DebugRotatedBBox
2023-07-09 14:37:43 +02:00
smallmodel
e3f1705065
Implemented RB_CalcFlapVertexes
and RB_CalcEnvironmentTexCoords2
2023-07-09 13:47:42 +02:00
smallmodel
25d526ade5
Moved "flap" above "normal"
2023-07-09 13:47:05 +02:00
Zack Middleton
9c0d66c9f2
Don't list mod directories at Windows drive root
...
The mod list on Windows would search the root of the drive if
fs_basepath, fs_homepath, fs_steampath, or fs_gogpath are blank ("")
(which is usually the case).
The issue is in the low-level Sys_ListFiles() but it only affects the
mod menu, on Windows. It cannot be abused by console commands to
list system files outside of the virtual filesystem.
---
If a directory at the root of the drive of the working directory
contained a pk3 file, the directory was listed in the mods menu. The
virtual filesystem doesn't add blank directory names to the search path
so it cannot load mods from the drive root. (Unless of course you set a
fs_*path cvar to "C:\".)
Sys_ListFiles() with blank directory caused Windows to use "\*" for the
search path and "\" prefix means root of drive. Unix opendir("") failed
so nothing was listed for blank directory.
Sys_ListFilteredFiles() with blank directory _and_ specifying subdirs
could access any directory (on Windows and Unix-like) but no code uses
this or makes it accessible.
These functions are only used for initializing the virtual filesystem
and listing mods. They are not accessible by anything else such as a
console command. Only the mods menu, on Windows, is affected.
2023-07-06 19:46:01 +02:00