Commit Graph
24712 Commits
Author SHA1 Message Date
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
Steve Checkoway 450ebed713 Remove timing code. There is likely more to optimize here. The current break down for time spent is, 51.9% in XmlFileUtil::SaveToFile (all of that in GetXMLInternal), 23.7% in RadarValues::CreateNode (with half of that in ssprintf alone!), 12.8% in XNode::Free and the rest is spread around pretty evenly. For reference, before these changes, it was taking about 3.5 seconds to write my catalog.xml and now it's taking under 1.5 (that's .8 seconds for writing and .5 for creating the XNodes for Songs, if anyone was wondering). 2007-02-04 13:36:16 +00:00
Steve Checkoway 424f04219b Simplify. There is no need for a SAFE_DELETE since attribute and children data structures are clear()ed. 2007-02-04 13:23:24 +00:00
Steve Checkoway eebc1e9f3c Simplify. 2007-02-04 10:57:09 +00:00
Steve Checkoway 69b4f62a7a No need for this to be split out. 2007-02-04 10:49:42 +00:00
Steve Checkoway 6f312b4810 Put StepMania.app in the main directory no matter what the configuration is. (I'm not sure how this got changed.) 2007-02-04 10:45:25 +00:00
Steve Checkoway 6d2fa387d8 Cut xml writing time down by a third for catalog.xml by not concatenating strings before calling Write. 2007-02-04 10:44:45 +00:00
Steve Checkoway 169d7c8b44 Greatly decrease time to write catalog.xml by pulling THEME->GetMetricB out of the inner loop and passing it along to RadarValues. (Also don't copy the vector of Song*.) The time to generate the XNode for Songs was cut down by a fifth (from 2.5 seconds to .5 seconds for me, fully optimized). 2007-02-04 09:35:02 +00:00
Steve Checkoway e17ccc6bdb Allow quitting before creating the main window. 2007-02-04 08:17:22 +00:00
Glenn Maynard 6fb3238f6e split out ActorUtil::LoadXNodeFromStackShowErrors 2007-02-04 08:16:46 +00:00
Steve Checkoway 6223d48554 Copyright years. 2007-02-04 08:15:47 +00:00
Glenn Maynard 00395c366e simplify; this isn't recursive anymore and this was inconsistent 2007-02-04 08:08:08 +00:00
Steve Checkoway 5e15696c59 Yes. 2007-02-04 08:07:26 +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
Steve Checkoway ea316d22a0 The version_time variable is itself const. I.e., constant pointer to constant data. 2007-02-04 02:08:25 +00:00
Steve Checkoway 113a4f0eca extern const as per c++98 7.1.5.2. 2007-02-04 02:04:30 +00:00
Glenn Maynard c811dec8ed move some singleton data out of the header 2007-02-04 02:01:16 +00:00
Steve Checkoway af16c8df97 Use the perl script. 2007-02-04 01:35:54 +00:00
Steve Checkoway ae8f79a2ed Do not call perl from a bash script. Whatever required this before as since been fixed. 2007-02-04 01:35:37 +00:00
Steve Checkoway 4d27ec506f Follow StepMania.cpp and use unsigned long. 2007-02-04 01:29:17 +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