Skip to content

Commit

Permalink
Merge pull request #421 from rtcwmp-com/develop
Browse files Browse the repository at this point in the history
Release 1.2.9
  • Loading branch information
krazykaze81 authored Sep 6, 2023
2 parents 6753e95 + d071091 commit ded1406
Show file tree
Hide file tree
Showing 3,457 changed files with 5,834 additions and 12,080 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 0 additions & 2 deletions .github/workflows/main.yml

This file was deleted.

19 changes: 10 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,17 @@ src/rtcwpro/
*.so
*.o
*.pk3
/src/servercache.dat
/src/main/authkey
/libs/libcurl/out/build/x64-Debug
/libs/mongo-c-driver/out/build/x64-Debug
/src/game/g_missile_vanilla.c
/src/game/g_weapon_orig.c
website/
*.srctrl*

# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
website/

# Build results
output/
Expand Down Expand Up @@ -346,11 +354,4 @@ ASALocalRun/
.mfractor/

# Local History for Visual Studio
.localhistory/
*.pk3
/src/servercache.dat
/src/main/authkey
/libs/libcurl/out/build/x64-Debug
/libs/mongo-c-driver/out/build/x64-Debug
/src/game/g_missile_vanilla.c
/src/game/g_weapon_orig.c
.localhistory/
Binary file added Assets/arrow.tga
Binary file not shown.
Binary file added Assets/arrow.xcf
Binary file not shown.
4 changes: 4 additions & 0 deletions CVARLIST.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
| con_colorGreen | `float` | `0.0-1.0` | `0.5` | Change console color in the green range |
| con_colorBlue | `float` | `0.0-1.0` | `0.5` | Change console color in the blue range |
| con_colorAlpha | `float` | `0.0-1.0` | `1` | Change console color opacity |
| r_mode | `integer` | `-2-21` | `6` | `-2` - Use desktop resolution, `-1` - custom |
| r_noborder | `integer` | `0-1` | `0` | Borderless window |

#### Mod (cg)
| Cvar | Argument type | Value range | Default | Description |
Expand Down Expand Up @@ -95,6 +97,7 @@
| cg_showPriorityText| `integer` | `0-1` | `1` | Enable/disable objective taken/returned prints |
| cg_priorityTextX | `integer` | `-999-999` | `0` | Change objective taken/returned prints position in the horizontal axis |
| cg_priorityTextY | `integer` | `-999-999` | `0` | Change objective taken/returned prints position in the vertical axis |
| cg_lagometer | `integer` | `0-2` | `0` | 1 - normal, 2 - draw speed |

# Server
#### Engine (sv)
Expand Down Expand Up @@ -173,4 +176,5 @@
| g_reviveSameDirection | `integer` | `0-1` | `0` | when player is revived they will have same viewangle as death |
| g_logClientInput | `integer` | `0-1` | `0` | turn on to log unknown client commands
| g_clientLogFile | `integer` | `0-1` | `logs/clientInput.log` | log file for unknown client commands
| g_broadcastClients | `integer` | `0-1` | `0` | fix clients appearing from thin air on some maps

Binary file added MAIN/gfx/2d/arrow.tga
Binary file not shown.
1 change: 1 addition & 0 deletions MAIN/scripts/alpha.shader
Original file line number Diff line number Diff line change
Expand Up @@ -1363,6 +1363,7 @@ textures/terrain/pine3
textures/doors/door_m04
{
surfaceparm metalsteps
nopicmip
cull none
{
map textures/doors/door_m04.tga
Expand Down
88 changes: 88 additions & 0 deletions MAIN/scripts/smoke.shader
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
// SHADER for Airstrike and Artillery Smoke with nopicmip option

smokePuffPro
{
nopicmip
nofog
cull none
entityMergable // allow all the sprites to be merged together
{
map gfx/misc/smokepuff.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
rgbGen vertex
alphaGen vertex
}
}

// Rafael - black smoke
// prerotated texture for smoke
smokePuffblackPro1
{
// nofog
nopicmip
cull none
{
map gfx/misc/smokepuff_b1.tga
// blendFunc GL_ZERO GL_ONE_MINUS_SRC_ALPHA
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA // (SA) I put it back for DM
alphaGen vertex
}

}

smokePuffblackPro2
{
// nofog
nopicmip
cull none
{
map gfx/misc/smokepuff_b2.tga
// blendFunc GL_ZERO GL_ONE_MINUS_SRC_ALPHA
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA // (SA) I put it back for DM
alphaGen vertex
}

}

smokePuffblackPro3
{
// nofog
nopicmip
cull none
{
map gfx/misc/smokepuff_b3.tga
// blendFunc GL_ZERO GL_ONE_MINUS_SRC_ALPHA
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA // (SA) I put it back for DM
alphaGen vertex
}

}

smokePuffblackPro4
{
// nofog
nopicmip
cull none
{
map gfx/misc/smokepuff_b4.tga
// blendFunc GL_ZERO GL_ONE_MINUS_SRC_ALPHA
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA // (SA) I put it back for DM
alphaGen vertex
}

}

smokePuffblackPro5
{
// nofog
nopicmip
cull none
{
map gfx/misc/smokepuff_b5.tga
// blendFunc GL_ZERO GL_ONE_MINUS_SRC_ALPHA
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA // (SA) I put it back for DM
alphaGen vertex
}

}
// done
22 changes: 22 additions & 0 deletions MAIN/scripts/weaponicons.shader
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
icons/iconw_syringe_1
{
nopicmip
nomipmaps
{
map icons/iconw_syringe_1.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
rgbGen vertex
}
}

// (selected version)
icons/iconw_syringe_1_select
{
nopicmip
nomipmaps
{
map icons/iconw_syringe_1_select.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
rgbGen vertex
}
}
2 changes: 1 addition & 1 deletion MAIN/ui_mp/menudef.h
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ If you have questions concerning this license or the applicable additional terms
#define CV_SVF_MATCHRESET 16
#define CV_SVF_MUTESPECS 32
#define CV_SVF_NEXTMAP 64
#define CV_SVF_PUB 128
#define CV_SVF_KNIFEONLY 128 // replaced pub
#define CV_SVF_REFEREE 256
#define CV_SVF_SHUFFLETEAMS 512
#define CV_SVF_SWAPTEAMS 1024
Expand Down
51 changes: 51 additions & 0 deletions changelog/1.2.9-changelog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
--------------
client/cg
--------------
fixed village door shader for high picmip
added missing shader for syringe icon
added nopicmip options for smoke and objective icon
added cg_debugdamage for logging
moved misc logfile creation to common area for client and server
fixed panzer magic ammo pickup
#240 added cg_teamOverlayLatchedClass to show next spawn player class - cg_teamOverlayLatchedClass 1
always draw fps/snapshot info at far right
Hold ctrl to move borderless window
Borderless window support
Add r_mode -2 to automatically use desktop resolution
Fix lag on client startup caused by curl
Parse alpha separately to get cg_hudAlpha working with new cvars
Display speed graph inside lagometer - cg_lagometer 2
make airstrike and arty smoke always go south like osp

--------------
shared
--------------
removed bobtimer from playerstate - playerstate is now same as vanilla - client is compatible with other mods now
added support for unique logfile filenames - default for dedicated server; client can use logfile 3

--------------
server
--------------
#378 added saving/reloading of stats upon player disconnect/reconnect
implemented unlagged from q3ratmod - g_antilag 2 *** experimental only ***
antiwarp change for lag_max_delta (ETL port)
added support for multiple document objectives on a map (radar/delivery)
added ratmod true ping logic to alternateping
more logic to prevent writing to already submitted stats file
fixed fps sten/venom overheating issues
added g_usePreciseConsoleTime to record precise round time in console
drop client on snapshot overflow - sv_dropClientOnOverflow 1
#329 make g_knifeonly votable - knife fight instead of coin toss
Fix clients appearing from thin air on some maps - g_broadcastClients 1
lock the teams after /unpause
#369 always record round winner - also fixed issue for #414
fixed statsdump so it only plays sound at intermission (moved end of round sound to cg right after stats are recorded)
fixed remaining grenades on revive when dying with ticking grenade

--------------
api stats
--------------
correct curl stats submission error and added retry loop
#413 Add public chat to gamelog
#414 prevent server crash after submitting stats file to api
added api console commands /api [help/last/whois] - calls pro api and receives response
Loading

0 comments on commit ded1406

Please sign in to comment.