mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
v1.3.06
------- Increased weight's effect on drifting by 20% (10->12)
This commit is contained in:
parent
3a90256ff8
commit
45dbdfa31c
2 changed files with 6 additions and 10 deletions
|
|
@ -143,16 +143,16 @@ extern FILE *logstream;
|
||||||
#define DEVELOP // Disable this for release builds to remove excessive cheat commands and enable MD5 checking and stuff, all in one go. :3
|
#define DEVELOP // Disable this for release builds to remove excessive cheat commands and enable MD5 checking and stuff, all in one go. :3
|
||||||
#ifdef DEVELOP
|
#ifdef DEVELOP
|
||||||
#define VERSION 103 // Game version
|
#define VERSION 103 // Game version
|
||||||
#define SUBVERSION 5 // more precise version number
|
#define SUBVERSION 6 // more precise version number
|
||||||
#define VERSIONSTRING "Development EXE"
|
#define VERSIONSTRING "Development EXE"
|
||||||
#define VERSIONSTRINGW "v1.3.05"
|
#define VERSIONSTRINGW "v1.3.06"
|
||||||
// most interface strings are ignored in development mode.
|
// most interface strings are ignored in development mode.
|
||||||
// we use comprevision and compbranch instead.
|
// we use comprevision and compbranch instead.
|
||||||
#else
|
#else
|
||||||
#define VERSION 103 // Game version
|
#define VERSION 103 // Game version
|
||||||
#define SUBVERSION 5 // more precise version number
|
#define SUBVERSION 6 // more precise version number
|
||||||
#define VERSIONSTRING "DevEXE v1.3.05"
|
#define VERSIONSTRING "DevEXE v1.3.06"
|
||||||
#define VERSIONSTRINGW L"v1.3.05"
|
#define VERSIONSTRINGW L"v1.3.06"
|
||||||
// Hey! If you change this, add 1 to the MODVERSION below!
|
// Hey! If you change this, add 1 to the MODVERSION below!
|
||||||
// Otherwise we can't force updates!
|
// Otherwise we can't force updates!
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -902,7 +902,6 @@ void K_SwapMomentum(mobj_t *mobj1, mobj_t *mobj2, boolean bounce)
|
||||||
{
|
{
|
||||||
if (mobj1 == NULL || mobj2 == NULL)
|
if (mobj1 == NULL || mobj2 == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
fixed_t meanX = (mobj1->momx + mobj2->momx) / 2;
|
fixed_t meanX = (mobj1->momx + mobj2->momx) / 2;
|
||||||
fixed_t meanY = (mobj1->momy + mobj2->momy) / 2;
|
fixed_t meanY = (mobj1->momy + mobj2->momy) / 2;
|
||||||
fixed_t deltaV1 = P_AproxDistance((mobj1->momx - meanX), (mobj1->momy - meanY));
|
fixed_t deltaV1 = P_AproxDistance((mobj1->momx - meanX), (mobj1->momy - meanY));
|
||||||
|
|
@ -950,12 +949,10 @@ void K_SwapMomentum(mobj_t *mobj1, mobj_t *mobj2, boolean bounce)
|
||||||
void K_KartBouncer(void)
|
void K_KartBouncer(void)
|
||||||
{
|
{
|
||||||
fixed_t i, j;
|
fixed_t i, j;
|
||||||
|
|
||||||
for (i = 0; i < MAXPLAYERS; i++)
|
for (i = 0; i < MAXPLAYERS; i++)
|
||||||
if (playeringame[i] && players[i].mo && !P_MobjWasRemoved(players[i].mo))
|
if (playeringame[i] && players[i].mo && !P_MobjWasRemoved(players[i].mo))
|
||||||
for (j = 0; j < MAXPLAYERS; j++)
|
for (j = 0; j < MAXPLAYERS; j++)
|
||||||
players[i].collide[j] = false;
|
players[i].collide[j] = false;
|
||||||
|
|
||||||
for (i = 0; i < MAXPLAYERS; i++)
|
for (i = 0; i < MAXPLAYERS; i++)
|
||||||
if (playeringame[i] && players[i].mo && !P_MobjWasRemoved(players[i].mo))
|
if (playeringame[i] && players[i].mo && !P_MobjWasRemoved(players[i].mo))
|
||||||
{
|
{
|
||||||
|
|
@ -964,7 +961,6 @@ void K_KartBouncer(void)
|
||||||
{
|
{
|
||||||
if (players[j].mo == players[i].mo)
|
if (players[j].mo == players[i].mo)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if (K_IsTouching(players[i].mo, players[j].mo))
|
if (K_IsTouching(players[i].mo, players[j].mo))
|
||||||
{
|
{
|
||||||
if (!players[i].collide[j] && !players[j].collide[i])
|
if (!players[i].collide[j] && !players[j].collide[i])
|
||||||
|
|
@ -1926,7 +1922,7 @@ static void K_DoLightning(player_t *player, boolean bluelightning)
|
||||||
static INT16 K_GetKartDriftValue(player_t *player, fixed_t countersteer)
|
static INT16 K_GetKartDriftValue(player_t *player, fixed_t countersteer)
|
||||||
{
|
{
|
||||||
INT16 basedrift, driftangle;
|
INT16 basedrift, driftangle;
|
||||||
fixed_t driftweight = player->kartweight*10;
|
fixed_t driftweight = player->kartweight*12;
|
||||||
|
|
||||||
// If they aren't drifting or on the ground this doesn't apply
|
// If they aren't drifting or on the ground this doesn't apply
|
||||||
if (player->kartstuff[k_drift] == 0 || !P_IsObjectOnGround(player->mo))
|
if (player->kartstuff[k_drift] == 0 || !P_IsObjectOnGround(player->mo))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue