Glenn Maynard
b9e277d0e7
GetValue: return XNodeValue *
2007-02-11 00:33:53 +00:00
Glenn Maynard
5135b7b27c
use templated GetValue, not old RString GetValue()
2007-02-11 00:30:44 +00:00
Glenn Maynard
95fdd553de
remove Command="%function" syntax from XML. Use Lua directly.
2007-02-10 23:47:39 +00:00
Glenn Maynard
cb8e881099
on xml for backgroundEffects
2007-02-10 23:44:33 +00:00
Glenn Maynard
a15efb8e4a
xml->lua for files that use %
2007-02-10 23:39:38 +00:00
Glenn Maynard
76c9f9bf8b
lua
2007-02-10 23:22:17 +00:00
Glenn Maynard
98daa2535c
xml->lua for files that use %
2007-02-10 23:16:16 +00:00
Glenn Maynard
ebb4b3a340
xml->lua for files that use %
2007-02-10 22:52:28 +00:00
Glenn Maynard
2140b1d8c8
xml->lua for files that use %
2007-02-10 22:45:25 +00:00
Glenn Maynard
7d66e0bcfd
xml->lua for files that use %
2007-02-10 22:35:50 +00:00
Glenn Maynard
b9acd66239
xml->lua for files that use %
2007-02-10 22:28:07 +00:00
Glenn Maynard
070779520f
use accessors
2007-02-10 22:17:43 +00:00
Glenn Maynard
fcf121feb0
add PlayCommandNoRecurse to fix PlayCommand hack
2007-02-10 05:42:25 +00:00
Glenn Maynard
5e549c0437
cleanup
2007-02-09 05:15:35 +00:00
Glenn Maynard
98f9d9edaf
simplify
...
set size
2007-02-09 05:13:49 +00:00
Glenn Maynard
101bf0a85f
simplify
2007-02-09 04:45:54 +00:00
Glenn Maynard
9d7893fc69
cleanup masking
2007-02-09 04:38:15 +00:00
Glenn Maynard
edeb62afed
simplify
2007-02-09 04:36:51 +00:00
Glenn Maynard
6cbc0577e9
simplify
2007-02-09 04:33:15 +00:00
Glenn Maynard
7c5dbab999
update mask handling
2007-02-09 04:29:54 +00:00
Glenn Maynard
f6fd57cc12
typo
2007-02-09 04:03:22 +00:00
Glenn Maynard
1bd5c423c0
fix crash, cleanup
2007-02-08 22:18:34 +00:00
Glenn Maynard
7a6b2d6c47
add ActorFrame:RunCommandsRecursively
2007-02-08 22:17:14 +00:00
Glenn Maynard
2116064921
fix m_size
2007-02-08 21:36:38 +00:00
Glenn Maynard
71b70c4cba
split GetSourceToImageCoordsRatio(), GetSourceWidth(), GetTextureWidth()
...
into more correct X, Y versions
2007-02-08 21:35:43 +00:00
Glenn Maynard
ff420be0eb
fix default game selection
2007-02-08 21:21:17 +00:00
Glenn Maynard
2aca7a4d16
add more powerful dynamic frame
2007-02-08 20:40:52 +00:00
Glenn Maynard
5437d929a8
redo sprite frame handling, with Lua in mind; allow defining arbitrary
...
rects
2007-02-08 20:38:16 +00:00
Glenn Maynard
3d3c2bad49
bind RunCommandsOnChildren
2007-02-08 20:34:45 +00:00
Glenn Maynard
31caea19cb
fix path
2007-02-07 09:38:52 +00:00
Glenn Maynard
5bb64801b4
update
2007-02-07 08:34:51 +00:00
Glenn Maynard
383a01e3b5
error check
2007-02-07 05:59:34 +00:00
Glenn Maynard
2cebe3ef34
fix crash with empty models
2007-02-07 05:54:13 +00:00
Glenn Maynard
8b1c76065e
psds
2007-02-06 10:20:11 +00:00
Glenn Maynard
a76708dd9f
refactor NoteSkins
2007-02-06 08:03:34 +00:00
Glenn Maynard
ff42847669
refactor and change NoteSkins
2007-02-06 07:56:37 +00:00
Glenn Maynard
d2f43893ce
fix roll autoplay
2007-02-06 03:45:57 +00:00
Glenn Maynard
0ec4356901
Allow Lua concatenated tables to concatenate functions. This means
...
that code loading an actor can have an InitCommand even if the actor
itself also has an InitCommand. The actor's own InitCommand will be
run first, followed by the caller's.
2007-02-06 02:59:48 +00:00
Glenn Maynard
c95f22f013
cleanup
2007-02-06 01:31:14 +00:00
Glenn Maynard
6fb3238f6e
split out ActorUtil::LoadXNodeFromStackShowErrors
2007-02-04 08:16:46 +00:00
Glenn Maynard
00395c366e
simplify; this isn't recursive anymore and this was inconsistent
2007-02-04 08:08:08 +00:00
Glenn Maynard
f45875adc7
add helpers
2007-02-04 08:03:47 +00:00
Glenn Maynard
5dd54edec1
fix build
2007-02-04 04:33:12 +00:00
Glenn Maynard
5fcf40beda
compile fix
2007-02-04 04:24:01 +00:00
Glenn Maynard
2d5cbe6535
move MergeIniUnder to XmlFileUtil
2007-02-04 04:09:53 +00:00
Glenn Maynard
2a912202ad
(This is a little clumsy--it should be derived from DefaultModifiers.
...
I'll figure it out later.)
2007-02-04 04:08:51 +00:00
Glenn Maynard
2d0bb7955a
GAME_BASE_NOTESKIN_NAME -> DEFAULT_NOTESKIN_NAME.
...
(This isn't the base noteskin that other noteskins derive from, just
the default preference.)
2007-02-04 04:07:14 +00:00
Glenn Maynard
a5f71e3cca
remove unused GameBaseNoteSkin metric
2007-02-04 03:56:17 +00:00
Glenn Maynard
c811dec8ed
move some singleton data out of the header
2007-02-04 02:01:16 +00:00
Glenn Maynard
80f2507399
Remove WheelIndex. Bind the m_WheelBaseItems instead. To tween
...
each wheel item separately, do it in eg. WheelOnCommand, and
iterate over the items.
2007-02-03 23:00:16 +00:00
Glenn Maynard
09a1a6091a
Context -> LuaThreadVariable
2007-02-03 22:24:28 +00:00
Glenn Maynard
f8a85e32c7
Context -> LuaThreadVariable. This is used instead of Message
...
parameters because the code that actually uses this is buried deeper
into Lua.
2007-02-03 22:23:42 +00:00
Glenn Maynard
a4bf741f08
LuaHelpers::Push<RageColor>
2007-02-03 22:20:51 +00:00
Glenn Maynard
3db92e9c81
removing P's
2007-02-03 12:57:34 +00:00
Glenn Maynard
107fe9294f
add LoadActorWithParams
2007-02-03 12:38:33 +00:00
Glenn Maynard
8ec54555e3
remove obsolete Context
2007-02-03 12:22:03 +00:00
Glenn Maynard
e5c939166a
xml -> lua
2007-02-03 12:18:40 +00:00
Glenn Maynard
f894aa943f
xml -> lua
2007-02-03 11:19:11 +00:00
Glenn Maynard
fc9d79d7b2
remove old actor parameters; obsoleted by LuaThreadVariable
2007-02-03 11:02:45 +00:00
Glenn Maynard
8a1d6a71b9
xml -> lua
2007-02-03 10:55:08 +00:00
Glenn Maynard
510f900d28
lua.RunWithThreadVariables: Lua interface to LuaThreadVariables
2007-02-03 10:20:15 +00:00
Glenn Maynard
9bc27fb390
Messages and commands are nearly identical: they both have a name,
...
they can both have parameters stashed in a table, and they both play
stuff out of the actor command list. Merge them; now the only
difference between playing and broadcasting a command is that playing
plays recursively on a tree and broadcasting sends to all subscribers.
The distinction between "messages" and "commands" is cosmetic now;
everything is a message. The only thing special about commands intended
to be received as a broadcast is the "Message" suffix, which subscribes it.
2007-02-03 06:17:02 +00:00
Glenn Maynard
8dbb54a1c6
do check msg.GetName()
2007-02-03 06:02:46 +00:00
Glenn Maynard
a49fd8ec8b
fix newline accumulation
2007-02-03 02:39:50 +00:00
Glenn Maynard
38aec56633
add paranoid BackUpAllSongSaves
2007-02-03 02:32:57 +00:00
Glenn Maynard
745237c812
fix:
...
"// FIXME: This logic fails if the user starts a new steps, changes to
// a different stepchart, and then exits without saving"
2007-02-03 02:14:25 +00:00
Glenn Maynard
1852d1a7c8
new icons
2007-02-03 02:11:34 +00:00
Glenn Maynard
a41f0c0dec
SetSavedToDisk in Save(), not in SM_SaveSuccessful. When we save the
...
whole file, all steps are saved to disk; we were only marking the
active steps. This sequence would cause steps to be wrongly deleted:
1: create easy and medium steps for one steps type; save
2: on another steps type, edit easy steps which were autogenned from the above
change the steps
3: f6 to change to medium steps steps which were autogenned from the above
4: menu -> save
This will save all data, but only medium will be marked saved to disk.
5: f5 to change back to easy steps
6: menu -> exit
This will delete the easy steps, because they were not marked saved to disk.
2007-02-03 00:55:52 +00:00
Glenn Maynard
f88111380a
If writing the SM file fails, don't write cache, either.
2007-02-03 00:54:28 +00:00
Glenn Maynard
65bc007ec6
fix error check
2007-02-03 00:48:07 +00:00
Glenn Maynard
de930d2900
error check
2007-02-03 00:30:39 +00:00
Glenn Maynard
9d541532af
error returns
2007-02-03 00:13:35 +00:00
Glenn Maynard
9e6aab166c
fix base calls
2007-02-02 08:01:29 +00:00
Glenn Maynard
8733865c34
fix disappearing menu header
2007-02-02 07:49:21 +00:00
Glenn Maynard
785b18ca2a
add missing
2007-02-02 07:43:15 +00:00
Glenn Maynard
e6abcd8123
fix path
2007-02-02 07:33:04 +00:00
Glenn Maynard
bb60230806
update
...
fix path
2007-02-02 07:25:42 +00:00
Glenn Maynard
2ba3523f0e
only ScreenEdit::CheckNumberOfNotesAndUndo in EditMode_Home
2007-02-02 06:49:49 +00:00
Glenn Maynard
b53364cf67
add missing/removed
2007-02-01 22:59:22 +00:00
Glenn Maynard
a3a8f39905
support all bit depths up to 32-bit and 32-bit float
2007-02-01 21:38:22 +00:00
Glenn Maynard
d0c0ec69d0
New sounds. Some from KaW, others public domain.
2007-02-01 11:11:32 +00:00
Glenn Maynard
5c95e56ad8
Only play one copy of each mine sound at a time per player. This reduces clipping from excessive mines and makes them less annoying.
2007-02-01 03:52:50 +00:00
Glenn Maynard
1bdbe78390
support preloading in 16-bit
2007-02-01 03:42:33 +00:00
Glenn Maynard
56c5972fa3
add helpers
2007-02-01 03:26:07 +00:00
Glenn Maynard
39f6bd46c3
fix off-by-one
2007-02-01 02:48:51 +00:00
Glenn Maynard
8539f9db99
fix and merge pdb paths
2007-02-01 01:55:41 +00:00
Glenn Maynard
3eb9e96385
more general color table support
2007-01-31 08:45:53 +00:00
Glenn Maynard
e612c615e0
add RageColor::FromStackCompat
2007-01-31 08:44:26 +00:00
Glenn Maynard
16469942fd
duplicate
2007-01-31 07:56:28 +00:00
Glenn Maynard
d401a01553
allow using CryptManager without generating global keys; remove CryptMan dependency on PrefsMan
2007-01-31 05:31:25 +00:00
Glenn Maynard
bf3aad4f45
split key generation and key writing
2007-01-31 05:15:18 +00:00
Glenn Maynard
c4f600fa9f
better api
2007-01-31 03:05:43 +00:00
Glenn Maynard
8d9318adcb
Preferences.ini uses "Options". Static.ini and Defaults.ini
...
use "Preferences". Use "Options".
2007-01-31 03:04:44 +00:00
Glenn Maynard
0191581eab
remove unused GetSampleRate
2007-01-27 09:26:27 +00:00
Glenn Maynard
1258683aa4
no longer need to convert and deinterlace data
2007-01-27 08:47:43 +00:00
Glenn Maynard
052eaa9a5e
don't clip or round incoming data prematurely
2007-01-27 08:34:55 +00:00
Glenn Maynard
322ebd5baa
remove RageSound::GetAbsoluteVolume; use "Volume" property instead
2007-01-27 07:32:13 +00:00
Glenn Maynard
201cc449bd
remove m_fVolume
2007-01-27 07:29:22 +00:00
Glenn Maynard
1bf9de3543
float
2007-01-27 07:18:52 +00:00
Glenn Maynard
1bd5513698
Switch to floating-point sound internally.
...
This allows us to change the volume of sounds in filters ("volume",
"fade" properties) without quantizing the audio prematurely. Previously,
we had a hack to apply volume changes as a mixing-time step. This
can be done at any point in the filter chain now.
This also means we only need to worry about clipping at the very
last mixing step, instead of at every place we change sound.
Dithering for 16-bit audio and more intelligent gain control
is possible, as we have full-resolution, unclipped sound at the
mixing phase.
We support high resolution source sounds; both Vorbis and MAD
supply more than 16 bits.
Several filters, such as resampling, are easier to implement as
floats; these no longer need to convert back and forth.
Negatives:
- More memory use. The main case of this is in RageSoundReader_Preload,
which will be fixed: we can preload in 16-bit without losing most of the
above.
- Some extra overhead for accessing more memory.
2007-01-27 07:14:58 +00:00