mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-17 10:11:12 +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
|
||||
#ifdef DEVELOP
|
||||
#define VERSION 103 // Game version
|
||||
#define SUBVERSION 5 // more precise version number
|
||||
#define SUBVERSION 6 // more precise version number
|
||||
#define VERSIONSTRING "Development EXE"
|
||||
#define VERSIONSTRINGW "v1.3.05"
|
||||
#define VERSIONSTRINGW "v1.3.06"
|
||||
// most interface strings are ignored in development mode.
|
||||
// we use comprevision and compbranch instead.
|
||||
#else
|
||||
#define VERSION 103 // Game version
|
||||
#define SUBVERSION 5 // more precise version number
|
||||
#define VERSIONSTRING "DevEXE v1.3.05"
|
||||
#define VERSIONSTRINGW L"v1.3.05"
|
||||
#define SUBVERSION 6 // more precise version number
|
||||
#define VERSIONSTRING "DevEXE v1.3.06"
|
||||
#define VERSIONSTRINGW L"v1.3.06"
|
||||
// Hey! If you change this, add 1 to the MODVERSION below!
|
||||
// Otherwise we can't force updates!
|
||||
#endif
|
||||
|
|
|
@ -902,7 +902,6 @@ void K_SwapMomentum(mobj_t *mobj1, mobj_t *mobj2, boolean bounce)
|
|||
{
|
||||
if (mobj1 == NULL || mobj2 == NULL)
|
||||
return;
|
||||
|
||||
fixed_t meanX = (mobj1->momx + mobj2->momx) / 2;
|
||||
fixed_t meanY = (mobj1->momy + mobj2->momy) / 2;
|
||||
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)
|
||||
{
|
||||
fixed_t i, j;
|
||||
|
||||
for (i = 0; i < MAXPLAYERS; i++)
|
||||
if (playeringame[i] && players[i].mo && !P_MobjWasRemoved(players[i].mo))
|
||||
for (j = 0; j < MAXPLAYERS; j++)
|
||||
players[i].collide[j] = false;
|
||||
|
||||
for (i = 0; i < MAXPLAYERS; i++)
|
||||
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)
|
||||
break;
|
||||
|
||||
if (K_IsTouching(players[i].mo, players[j].mo))
|
||||
{
|
||||
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)
|
||||
{
|
||||
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 (player->kartstuff[k_drift] == 0 || !P_IsObjectOnGround(player->mo))
|
||||
|
|
Loading…
Reference in a new issue