Glenn Maynard
039416c18f
cleanup
2005-06-25 04:06:39 +00:00
Glenn Maynard
34eba2a358
cleanup
2005-06-25 03:49:25 +00:00
Glenn Maynard
388f5f905c
remove ScreenLogo
2005-06-25 03:46:49 +00:00
Glenn Maynard
f433d67981
remove
2005-06-25 03:44:37 +00:00
Glenn Maynard
4f393479bc
remove ScreenLogo class; just use ScreenAttract
2005-06-25 03:42:31 +00:00
Glenn Maynard
1f15d3b0a0
do game graphic in xml
2005-06-25 03:37:17 +00:00
Glenn Maynard
458bce4f0a
game graphic in xml
2005-06-25 03:36:01 +00:00
Glenn Maynard
2f3648d05c
Game bindings
2005-06-25 03:30:20 +00:00
Glenn Maynard
fe5d04f521
remove m_textSongs
2005-06-25 03:14:23 +00:00
Glenn Maynard
0d4dad639d
lua bindings
2005-06-25 03:11:16 +00:00
Glenn Maynard
7359405188
remove m_textVersion
2005-06-25 02:59:10 +00:00
Glenn Maynard
824bf83244
lua ProductVersion
2005-06-25 02:55:58 +00:00
Glenn Maynard
b4164e23e3
unused
2005-06-25 02:40:44 +00:00
Glenn Maynard
763a95b6f8
cleanup
2005-06-25 02:39:02 +00:00
Glenn Maynard
265ecccbca
remove MaxStages and LifeDifficulty; allow doing them with lua instead
2005-06-25 02:37:18 +00:00
Glenn Maynard
ae70c15818
remove title menu special case (just one of several)
2005-06-25 02:03:37 +00:00
Glenn Maynard
f94ff70548
move title menu special case to a Lua branch
2005-06-25 02:01:22 +00:00
Glenn Maynard
91e88be084
cleanups
2005-06-24 02:19:04 +00:00
Glenn Maynard
ad9d34b45c
finish removing graph metrics
2005-06-24 01:25:00 +00:00
Glenn Maynard
80c21cef06
revert; fix this correctly--the last commit caused LightsManager to always
...
become enabled, turning on all lights-related overhead
2005-06-23 21:03:16 +00:00
Glenn Maynard
fc948e9ce9
simplify
2005-06-23 09:04:06 +00:00
Glenn Maynard
c8994b27f9
cleanup
2005-06-23 09:02:04 +00:00
Glenn Maynard
a76c3fa158
cleanup; remove userdataType
2005-06-23 08:58:43 +00:00
Glenn Maynard
ff9e753979
cleanup
2005-06-23 08:53:04 +00:00
Glenn Maynard
ccb65cc3fe
cleanup (move public/private stuff together; no code changes)
2005-06-23 08:50:58 +00:00
Glenn Maynard
f3a20cf729
cleanup
2005-06-23 08:49:36 +00:00
Glenn Maynard
14fd08abc1
__type -> type
2005-06-23 08:47:34 +00:00
Glenn Maynard
36794f6d5f
CheckType -> CheckLuaObjectType
2005-06-23 08:46:21 +00:00
Glenn Maynard
be8c5d23b5
CreateGlobalTable -> CreateMethodsTable
2005-06-23 08:44:46 +00:00
Glenn Maynard
7e20ccc36c
don't point the metatable at the methods table; comment
2005-06-23 08:42:48 +00:00
Glenn Maynard
ba207c5140
remove GrooveGraph
2005-06-23 02:47:43 +00:00
Glenn Maynard
d87583c76e
remove m_GrooveGraph
2005-06-23 02:42:31 +00:00
Glenn Maynard
ed58ed26eb
fix memory leak on change/reload theme
2005-06-23 02:11:51 +00:00
Glenn Maynard
84c6ecff9e
fix uninitialized (valgrind)
2005-06-23 01:49:47 +00:00
Glenn Maynard
4e017b752b
fix using PLAYER_INVALID as an index when using SSMaster when no
...
players are joined
2005-06-23 01:21:13 +00:00
Glenn Maynard
2b62d093d5
these were unsigned; keep them that way
2005-06-23 01:05:45 +00:00
Glenn Maynard
8ccc9cb6df
probably fix compile on systems where sizeof(int) < sizeof(void*)
2005-06-23 01:04:29 +00:00
Glenn Maynard
c587f12d65
Don't construct overlay screens in ScreenManager ctor. We havn't reset
...
GAMESTATE by then, so much of it is uninitialized, and we should not load
screens until that's done. (fixes valgrind warning due to IsEventMode()
being called from SSystemLayer)
2005-06-23 00:30:02 +00:00
Glenn Maynard
d1b8dcc744
fix uninitialized variable: this is used by EndGame, which is called at the
...
start of Reset(), and was normally initialized later in Reset(). I havn't seen
any bugs as a result; this just showed up in valgrind.
2005-06-23 00:15:19 +00:00
Glenn Maynard
a79f1381f3
fix casting problem?
2005-06-22 20:58:41 +00:00
Glenn Maynard
518da6b626
fix Model
2005-06-21 07:49:25 +00:00
Glenn Maynard
ff888eaf9e
cleanup
2005-06-21 05:23:25 +00:00
Glenn Maynard
fee9e51b2c
revert. Unregister() is "atomic" (useful to call without locking around it).
2005-06-21 02:41:35 +00:00
Glenn Maynard
acbe82d877
pass L to Reset
2005-06-21 02:29:21 +00:00
Glenn Maynard
0baadb8641
don't adjust MonthOfYear, so it lines up with MonthToString
2005-06-20 22:26:42 +00:00
Glenn Maynard
74828836cb
cosmetic
2005-06-20 09:53:02 +00:00
Glenn Maynard
6ac3eff751
missed commit
2005-06-20 09:49:07 +00:00
Glenn Maynard
3c04a63c12
simplify
2005-06-20 09:42:24 +00:00
Glenn Maynard
9276c4f395
simplify
2005-06-20 09:35:06 +00:00
Glenn Maynard
bde35cb47f
simplify: don't template RegType separately
2005-06-20 09:28:45 +00:00
Glenn Maynard
fae7e5b265
oops, wrong guy
2005-06-20 05:08:51 +00:00
Glenn Maynard
0b3c14888f
cleanup, fix name
2005-06-20 05:05:55 +00:00
Glenn Maynard
9d7f835609
no need to template Luna specializations
2005-06-20 05:02:03 +00:00
Glenn Maynard
d6bb1cdfe0
fix warning
2005-06-20 04:55:24 +00:00
Glenn Maynard
4dd73b2c81
fix comment (no new T is created)
2005-06-20 04:42:11 +00:00
Glenn Maynard
4d5643c27f
remove include
2005-06-20 04:32:56 +00:00
Glenn Maynard
72e7a4b1e4
cleanup
2005-06-20 04:32:24 +00:00
Glenn Maynard
77ee110e65
include cleanup
2005-06-20 04:28:16 +00:00
Glenn Maynard
e2cfba413a
update registration for various types
2005-06-20 04:23:36 +00:00
Glenn Maynard
c998564adf
update registration for various types
2005-06-20 04:17:02 +00:00
Glenn Maynard
9f51cfbf5a
add LuaBinding
2005-06-20 04:13:04 +00:00
Glenn Maynard
71bbb178a9
LuaBinding.cpp
2005-06-20 04:12:35 +00:00
Glenn Maynard
0b80f541ac
update registration for BitmapText types
2005-06-20 04:06:26 +00:00
Glenn Maynard
aff28653da
Rearrange Lua types. Instead of each class registering all of the functions
...
of its base classes, set __index in the methods table to point to the base class's
methods table. This has a few important advantages. First and most importantly,
types don't need access to the Luna type of their base to derive from it, so these
definitions don't have to be in the headers, and probably don't need to be
templated. Second, you can say:
function Actor:queue_rotate()
self:linear(0.5)
self:rotationz( 180 )
end
OnCommand=x,100;queue_rotate
This partially worked previously, but wasn't inherited; a function defined for
Actor wouldn't work for BitmapText.
(changes that use this in a few minutes)
2005-06-20 03:54:51 +00:00
Glenn Maynard
8c121d4598
s_className -> m_sClassName
2005-06-20 00:33:07 +00:00
Glenn Maynard
990bd24675
remove unused
2005-06-19 22:57:35 +00:00
Glenn Maynard
5da5388b99
cleanups
2005-06-19 22:54:06 +00:00
Glenn Maynard
ec135b3ecf
remove duplicate code
2005-06-19 22:52:08 +00:00
Glenn Maynard
25531ef460
m_Overlay -> m_sprOverlay, to be consistent with SWME
...
remove character stuff that can be done with the overlay
2005-06-19 22:48:58 +00:00
Glenn Maynard
f98f8794ce
remove unused
2005-06-19 22:42:06 +00:00
Glenn Maynard
92f49b2f89
add character bindings to remove special cases in ScreenStage
2005-06-19 22:41:12 +00:00
Glenn Maynard
4a10567362
remove texts. If you want to do this, do it in the overlay or underlay layers.
...
Text=@GAMESTATE:GetCurrentSong():GetDisplayFullTitle()
2005-06-19 22:29:25 +00:00
Glenn Maynard
d9ed603f18
implement coin settling
2005-06-19 21:58:11 +00:00
Glenn Maynard
28fc7bcdad
fix "save prefs when exiting system menu"; when DelayedScreenLoad,
...
bWasOnSystemMenu was always false, because the screen was already
deleted
2005-06-19 09:40:16 +00:00
Glenn Maynard
8364c20850
cleanup, make m_pSharedBGA private
2005-06-19 09:27:18 +00:00
Glenn Maynard
8b8c4ceb45
simplify further
2005-06-19 09:20:30 +00:00
Glenn Maynard
a9f0a2158a
DeleteCachedTextures is already called at the end of EmptyDeleteQueue
2005-06-19 09:15:54 +00:00
Glenn Maynard
bfc49737fe
cleanup
2005-06-19 08:56:45 +00:00
Glenn Maynard
a0dcb3dc81
simplify
2005-06-19 08:51:09 +00:00
Glenn Maynard
f11a2ce17e
fix "called SetNewScreen again" case; simplify (only one path now)
2005-06-19 08:48:42 +00:00
Glenn Maynard
63cc873fc9
Simplify delayed/undelayed screen load path. Previously, the "delayed"
...
path would return immediately in SetNewScreen, loading in the next update,
and the "undelayed" path would load under SetNewScreen. Instead, always
load on the next update, and just change the behavior (with "delayed" deleting
the old screen first). These two code paths are both criticial, and they were
too different, leading to inconsistent behavior; this way is simpler.
2005-06-19 08:35:12 +00:00
Glenn Maynard
f75be1bfaa
clamp fBaseAlpha
2005-06-17 04:31:46 +00:00
Glenn Maynard
ef0acd1ec7
cleanup
2005-06-17 02:22:38 +00:00
Glenn Maynard
e65a91dfc9
old change: register DifficultyIcon
2005-06-17 01:31:21 +00:00
Glenn Maynard
e44a329cd1
hmm. This part doesn't look right (using notedata.GetNumTracks before
...
setting it); since I havn't heard any complaints about this and I don't remember
which data it was trying to fix, revert it to assuming unidentified steps are
singles.
2005-06-17 01:10:52 +00:00
Glenn Maynard
11044792ee
more old cleanups: figure out data that has no specified type
2005-06-17 01:08:01 +00:00
Glenn Maynard
fad2f95c16
more old cleanups that have sat around for a year ...
2005-06-17 01:05:31 +00:00
Glenn Maynard
f89817e192
committing old changes: no need for floating point in loading this
2005-06-17 00:58:51 +00:00
Glenn Maynard
3095c64e14
committing old changes ...
2005-06-17 00:52:56 +00:00
Glenn Maynard
7b184e6f7f
comment
2005-06-17 00:49:10 +00:00
Glenn Maynard
361eff0205
cleanup
2005-06-17 00:47:22 +00:00
Glenn Maynard
741ae61a92
cleanup
2005-06-17 00:30:07 +00:00
Glenn Maynard
0262b31434
cleanup
2005-06-17 00:03:28 +00:00
Glenn Maynard
bcbae8d01f
private L
2005-06-16 22:27:11 +00:00
Glenn Maynard
b974b1bdd4
LuaHelpers::PrepareExpression
2005-06-16 22:22:37 +00:00
Glenn Maynard
980451af6d
SetGlobal/UnsetGlobal locking
2005-06-16 22:19:05 +00:00
Glenn Maynard
9a50b17b9d
LuaHelpers::RunAtExpressionS
...
LuaManager::ResetState, LuaHelpers::RunScriptFile locking
2005-06-16 22:17:45 +00:00
Glenn Maynard
c0a65b3503
lua locking
2005-06-16 22:10:24 +00:00
Glenn Maynard
ed440fa648
lua locking fix
2005-06-16 22:05:25 +00:00
Glenn Maynard
4aa9d67faf
do roll Step() outside of the HoldNotes logic loop (er, already did this;
...
simpler this way ...)
2005-06-16 21:41:51 +00:00