Commit Graph

24689 Commits

Author SHA1 Message Date
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
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
Steve Checkoway a9b94093bd CRASH_HANDLER 2007-02-03 06:37:36 +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
Vecais Dumais Laacis 603f863e0c fixed GetLocalProfileIndexFromID 2007-02-02 20:19:14 +00:00
AJ Kelly cfcb8d1953 and fix the other spelling error 2007-02-02 17:27:52 +00:00
AJ Kelly 0b084a677d fixed spelling error 2007-02-02 17:23:38 +00:00
Steve Checkoway d14323bd4a Implement BACKTRACE_METHOD_X86_DARWIN. It isn't enabled since I can't test it though. There's a fair amount of duplicated code with the x86 linux version. This could be refactored but since I don't own a single x86 machine... 2007-02-02 13:58:17 +00:00
Steve Checkoway 631a595bce Too noisy. This was only for debugging anyway. (Finding stuff in log.txt is a pain.) 2007-02-02 11:33:11 +00:00
Glenn Maynard 9e6aab166c fix base calls 2007-02-02 08:01:29 +00:00