Glenn Maynard
fe06c2e7fb
simplify
...
don't BeforeResetAll, AfterResetAll
2006-09-20 23:56:11 +00:00
Glenn Maynard
5a5d9b655e
don't need to lock in the ctor
2006-09-20 23:54:25 +00:00
Glenn Maynard
1749779ca8
merge ResetState into ctor
2006-09-20 23:47:08 +00:00
Glenn Maynard
ab1fd34e76
Previously, changing themes attempted to preserve Lua data by
...
serializing data and tables while reinstantiating Lua. That's
ugly, and can't serialize some things (eg. functions).
Instead, when changing themes, shut down the high-level objects
and unregister as much as we can from Lua, change the theme,
then reregister things. This doesn't clean the slate as much;
globals won't be erased, etc.
A better way would be to clear everything that uses Lua
(delete singletons), then reload it all. Singleton creation is
a bit of a mess currently so that would break a lot, and we
don't want to reload songs.
2006-09-20 23:45:38 +00:00
Glenn Maynard
494523f741
make RegisterTypes public
2006-09-20 23:31:54 +00:00
Glenn Maynard
41028ca167
NextTheme -> GetNextTheme
2006-09-20 23:10:15 +00:00
Glenn Maynard
65c9a8bd17
unused header
2006-09-20 23:07:00 +00:00
Glenn Maynard
abacb7ef9d
ThemeManager::ClearSubscribers
2006-09-20 23:05:52 +00:00
Glenn Maynard
70ed0d319e
Clear()
2006-09-20 23:04:20 +00:00
Glenn Maynard
107fdf4c8f
Remove Profile::m_SavedLuaData. Don't store data as
...
serialized Lua blobs. The Lua blob format may change with
Lua upgrades, and it's hard to impossible to use the data
with other apps. This wasn't used right now anyway, but
if it's needed, use an XML format.
2006-09-20 22:15:56 +00:00
Glenn Maynard
9b94f66bc0
fix leak
2006-09-20 22:09:44 +00:00
Glenn Maynard
45a159bd00
allow setting AutoActor directly
2006-09-20 22:09:16 +00:00
Glenn Maynard
4f555ddb66
remove unused forward decl
2006-09-20 21:56:05 +00:00
Glenn Maynard
a273003bbf
fix leak
2006-09-20 21:44:58 +00:00
Steve Checkoway
c9e0e7e51d
Don't return NULL.
2006-09-20 00:04:19 +00:00
Steve Checkoway
6016440012
Don't return NULL.
2006-09-19 23:52:34 +00:00
Glenn Maynard
7210df525b
remove coin debouncing; InputFilter does better generic debouncing
...
on all inputs
2006-09-19 09:42:25 +00:00
Glenn Maynard
f9149b5b0d
cleanup
2006-09-19 09:37:02 +00:00
Glenn Maynard
26fd04c73c
in SpecialFiles.h
2006-09-19 09:22:01 +00:00
Steve Checkoway
ea1e408b24
Simplify.
2006-09-19 04:47:09 +00:00
Steve Checkoway
32c209a322
Cleanup.
2006-09-19 04:44:59 +00:00
Renaud Lepage
f0eed09446
Project Update
2006-09-19 03:27:29 +00:00
Renaud Lepage
d3338b2cc7
windows.h isn't present on xbox
2006-09-19 03:25:55 +00:00
Renaud Lepage
c644c890c6
Update to use the Xbox GraphicsWindow resource.
2006-09-19 03:16:05 +00:00
Josh Allen
a14bd30a61
include ErrorStrings.h
2006-09-19 03:08:25 +00:00
Jason Felds
0ed7ad1798
Adding the newly added files (DXHelpers and ErrorStrings or something like that).
2006-09-19 01:59:38 +00:00
Glenn Maynard
106b0ae7a3
don't accept NULL to assignment
...
simplify
2006-09-18 23:42:32 +00:00
Glenn Maynard
b8349ca68b
ARRAYLEN
2006-09-18 23:28:10 +00:00
Glenn Maynard
03ce23e9ea
ARRAYLEN
2006-09-18 23:27:09 +00:00
Glenn Maynard
0e6a779446
linux fixup
2006-09-18 23:17:28 +00:00
Glenn Maynard
6e3d48a3d9
Remove MAX_FMT_TRIES. I don't know why it was there.
2006-09-18 23:15:22 +00:00
Glenn Maynard
d8821cebab
strings passed to assign do not need to be null-terminated
2006-09-18 23:13:36 +00:00
Glenn Maynard
fc3506ac1e
move code into RageUtil
2006-09-18 23:08:43 +00:00
Glenn Maynard
b77024f3bc
include
2006-09-18 22:45:42 +00:00
Glenn Maynard
ed285a8c2f
update
2006-09-18 22:43:58 +00:00
Glenn Maynard
8e0f7845f8
split directx and windows-specific stuff out of RageUtil
2006-09-18 22:42:52 +00:00
Glenn Maynard
d7e5ea675f
split windows-specific stuff out of RageUtil
2006-09-18 22:31:29 +00:00
Glenn Maynard
1f7fe1afd3
include
2006-09-18 22:24:18 +00:00
Glenn Maynard
fba01c798c
split directx-specific stuff out of RageUtil
2006-09-18 22:20:54 +00:00
Glenn Maynard
4d63a6b8ff
remove unused stuff
2006-09-18 21:57:27 +00:00
Glenn Maynard
0efbe866de
fix
...
(this is one reason the string class having an implicit cast to char* is
bad; lots of things compile but don't work, causing bugs like this)
2006-09-18 21:55:07 +00:00
Glenn Maynard
bca66d4e27
GetBuf -> GetBuffer, RelBuf -> ReleaseBuffer, cleanup
2006-09-18 21:48:23 +00:00
Glenn Maynard
8310c83f1a
RelBuf -> ReleaseBuffer
2006-09-18 21:46:40 +00:00
Glenn Maynard
8ad2856209
GetBuf -> GetBuffer
2006-09-18 21:46:39 +00:00
Glenn Maynard
18cdf9fca3
remove unused (use ssprintf)
2006-09-18 21:39:11 +00:00
Glenn Maynard
d0226a9734
simplify
...
remove unused
2006-09-18 21:31:48 +00:00
Glenn Maynard
13545e1488
don't reserve; that's std::string's job
...
don't accept s.append(NULL)
2006-09-18 20:15:40 +00:00
Glenn Maynard
76b7307c73
remove unused
2006-09-18 20:14:28 +00:00
Steve Checkoway
4a81774221
Remove empty duplicate.
2006-09-18 10:30:24 +00:00
Steve Checkoway
7f6ccd1688
Cleanup. Don't return NULL when RString is expected.
2006-09-18 10:04:05 +00:00