sukibaby
1c46342a95
Fix SongPosition variable initialization
...
Move SongPosition::Reset into the header file, and call it in the constructor.
2024-10-05 20:25:09 -07:00
teejusb
e0abda3d24
Make use of the m_fVisualDelay value
2021-10-22 17:17:48 -07:00
Kyzentun
2b7ebb3729
Added lookup table system to TimingData so that GetBeatAndBPS and GetElapsedTime don't have to walk through the entire list of timing segments several times every frame during gameplay.
2015-03-14 23:17:35 -06:00
AJ Kelly
95291b15e8
add a comment and hopefully someone can explain why -2000 is used as the limit for m_fSongBeat
2012-02-19 13:45:00 -06:00
Jason Felds
0dc695b247
More comment throwaway stuff.
...
...now that I'm seeing this...
why does the timing data get the beat and BPS
from the elapsed time TWICE with each call?
2011-08-15 17:01:51 -04:00
Jason Felds
2fc1b291af
Remove unneeded comment.
2011-08-15 17:00:00 -04:00
Jason Felds
2f83c16327
[splittiming] Minor typo.
2011-05-15 13:06:46 -04:00
Flameshadowxeroshin
84f2457aa4
[splittiming] Add PlayerState.GetSongPosition() and GameState.GetSongPosition() to Lua; add lua bindings to SongPosition
2011-05-15 07:53:06 -05:00
Flameshadowxeroshin
6b0a939290
[splittiming] new EffectModes (not available from Lua yet), clarified error message
2011-05-14 17:03:49 -05:00
Thai Pangsakulyanont
83c5b67647
[splittiming]
...
- #include "global.h" in SongPosition.cpp to make it build in MSVC.
- Add SongPosition.cpp to VC2008 project.
2011-05-12 23:34:57 +07:00
Thai Pangsakulyanont
1bf99bd528
[splittiming] make screenedit work with the steps' timing.
2011-05-11 20:53:40 +07:00
Thai Pangsakulyanont
b8a4521f9c
Move the reset code to SongPosition.
2011-05-10 21:22:01 +07:00
Thai Pangsakulyanont
990b6cb125
[splittiming] and a merge
2011-05-10 20:04:47 +07:00
Thai Pangsakulyanont
e1e605b736
[splittiming] move bogus variables back to GameState (210)
2011-05-10 20:03:51 +07:00
Jason Felds
d8068767bb
[splittiming] Thai, your file. Your credit.
2011-05-10 09:02:31 -04:00
Thai Pangsakulyanont
241738c18b
[splittiming] Let's break things again! (222)
...
We introduced a new class, called "SongPosition", that replaces some instance variables in the GameState class. (GameState::m_Position).
Then, you also have it in PlayerState class which keeps track of the position based on their steps. (PlayerState::m_Position).
Fixing the build errors:
- GAMESTATE->m_fSomething should now be:
- GAMESTATE->m_Position.m_fSomething
- pPlayerState->m_Position.m_fSomething (or m_pPlayerState for some instance!)
2011-05-10 19:54:05 +07:00