Commit Graph

10 Commits

Author SHA1 Message Date
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