mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-04-28 12:47:58 +03:00
parent
ec06b2625e
commit
965cf41225
4 changed files with 20 additions and 3 deletions
|
@ -12,11 +12,12 @@
|
|||
- changed demo to be interrupted only by esc or action keys
|
||||
- fixed Lara prioritising throwing a spent flare while mid-air, so to avoid missing ledge grabs (#1989)
|
||||
- fixed Lara at times not being able to jump immediately after going from her walking to running animation (#1587)
|
||||
- fixed bubbles spawning from flares if Lara is in shallow water (#1590)
|
||||
- fixed flare sound effects not always playing when Lara is in shallow water (#1590)
|
||||
- fixed software renderer not applying underwater tint (#2066, regression from 0.7)
|
||||
- fixed some enemies not looking at Lara (#2080, regression from 0.6)
|
||||
- fixed the camera getting stuck at the start of Home Sweet Home (#2129, regression from 0.7)
|
||||
- fixed bubbles spawning from flares if Lara is in shallow water (#1590)
|
||||
- fixed flare sound effects not always playing when Lara is in shallow water (#1590)
|
||||
- fixed assault course timer not paused in the inventory (#2153, regression from 0.6)
|
||||
- improved the animation of Lara's braid (#2094)
|
||||
|
||||
## [0.7.1](https://github.com/LostArtefacts/TRX/compare/tr2-0.7...tr2-0.7.1) - 2024-12-17
|
||||
|
|
|
@ -458,7 +458,9 @@ INV_RING *InvRing_Open(const INVENTORY_MODE mode)
|
|||
g_PhdWinBottom = g_PhdWinMaxY;
|
||||
g_Inv_Chosen = NO_OBJECT;
|
||||
|
||||
Stats_StartTimer();
|
||||
if (g_CurrentLevel != LV_GYM) {
|
||||
Stats_StartTimer();
|
||||
}
|
||||
|
||||
if (mode == INV_TITLE_MODE) {
|
||||
Output_LoadBackgroundFromFile("data/title.pcx");
|
||||
|
|
|
@ -43,6 +43,7 @@ static void M_PrepareGame(void);
|
|||
|
||||
static PHASE_CONTROL M_Start(PHASE *phase);
|
||||
static void M_End(PHASE *phase);
|
||||
static void M_Resume(PHASE *const phase);
|
||||
static PHASE_CONTROL M_Control(PHASE *phase, int32_t n_frames);
|
||||
static void M_Draw(PHASE *phase);
|
||||
|
||||
|
@ -168,6 +169,11 @@ static void M_End(PHASE *const phase)
|
|||
M_RestoreConfig(p);
|
||||
}
|
||||
|
||||
static void M_Resume(PHASE *const phase)
|
||||
{
|
||||
Stats_StartTimer();
|
||||
}
|
||||
|
||||
static PHASE_CONTROL M_Control(PHASE *const phase, const int32_t num_frames)
|
||||
{
|
||||
M_PRIV *const p = phase->priv;
|
||||
|
@ -208,6 +214,7 @@ PHASE *Phase_Demo_Create(const int32_t level_num)
|
|||
phase->priv = p;
|
||||
phase->start = M_Start;
|
||||
phase->end = M_End;
|
||||
phase->resume = M_Resume;
|
||||
phase->control = M_Control;
|
||||
phase->draw = M_Draw;
|
||||
return phase;
|
||||
|
|
|
@ -25,6 +25,7 @@ typedef struct {
|
|||
|
||||
static PHASE_CONTROL M_Start(PHASE *phase);
|
||||
static void M_End(PHASE *phase);
|
||||
static void M_Resume(PHASE *const phase);
|
||||
static PHASE_CONTROL M_Control(PHASE *phase, int32_t n_frames);
|
||||
static void M_Draw(PHASE *phase);
|
||||
|
||||
|
@ -67,6 +68,11 @@ static void M_End(PHASE *const phase)
|
|||
Music_SetVolume(g_Config.audio.music_volume);
|
||||
}
|
||||
|
||||
static void M_Resume(PHASE *const phase)
|
||||
{
|
||||
Stats_StartTimer();
|
||||
}
|
||||
|
||||
static PHASE_CONTROL M_Control(PHASE *const phase, const int32_t num_frames)
|
||||
{
|
||||
M_PRIV *const p = phase->priv;
|
||||
|
@ -105,6 +111,7 @@ PHASE *Phase_Game_Create(
|
|||
phase->priv = p;
|
||||
phase->start = M_Start;
|
||||
phase->end = M_End;
|
||||
phase->resume = M_Resume;
|
||||
phase->control = M_Control;
|
||||
phase->draw = M_Draw;
|
||||
return phase;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue