Commit Graph
17707 Commits
Author SHA1 Message Date
Chris Danford 7bfa77f9ac mute before starting the sound. Fixes little pops. 2005-10-13 22:10:40 +00:00
Chris Danford ced0a0c6e9 fix transition sounds playing when attract sounds are off 2005-10-13 22:07:40 +00:00
Chris Danford 634ab18a79 In a survuval course, override stored mods 2005-10-13 17:34:16 +00:00
Glenn Maynard 455d0c7378 simplify 2005-10-13 08:22:49 +00:00
Glenn Maynard 353bbc7d86 simplify 2005-10-13 07:12:46 +00:00
Glenn Maynard 29b2b4226b SWME plays music 2005-10-13 05:22:18 +00:00
Glenn Maynard e7caafa45c Fix screens occasionally being loaded twice. 2005-10-13 05:18:45 +00:00
Glenn Maynard c21b8ad7a9 simplify (prep for a fix) 2005-10-13 05:10:52 +00:00
Glenn Maynard 4018c7be8b typo 2005-10-13 04:20:56 +00:00
Glenn Maynard 242f33fa91 fix type 2005-10-13 04:02:23 +00:00
Glenn Maynard 21223ad474 cleanup 2005-10-13 03:25:15 +00:00
Glenn Maynard 491e97d0ac cleanup 2005-10-13 02:26:17 +00:00
Ben Anderson f83eb0a2ca Send key off when disabled only once. (fixes space bar not responding) 2005-10-13 01:34:06 +00:00
Chris Danford 8473727ea0 removed deleted file 2005-10-12 21:27:49 +00:00
Chris Danford de8a86213f fix VC6 compile 2005-10-12 21:27:15 +00:00
Sean Burke 062d81713b Previously, games with more than two possible name formats were showing up as only abbreviations. These regex changes should fix that. If this breaks other platforms, we need to figure out what to do to hack around this. 2005-10-12 11:10:11 +00:00
Sean Burke 5bfa570139 Fix compile and make changes for consistency 2005-10-12 09:53:54 +00:00
Glenn Maynard 8269bebe3c remove HoldGhostArrow 2005-10-12 05:28:25 +00:00
Glenn Maynard 34e34cad98 remove m_HoldGhost; implement in "tap explosion" 2005-10-12 05:15:03 +00:00
Glenn Maynard 59570b25d1 send HoldingOn/HoldingOff to allow implementing hold explosions
generically
2005-10-12 04:05:54 +00:00
Glenn Maynard 3826bd95b3 eliminate m_iNumCols, dynamic array 2005-10-12 03:15:53 +00:00
Glenn Maynard 20eb0c343f eliminate m_iNumCols 2005-10-12 03:15:01 +00:00
Glenn Maynard a31bf7371f remove debug cruft 2005-10-12 02:54:37 +00:00
Glenn Maynard ac601d932a eval, handle relative paths 2005-10-12 02:44:49 +00:00
Glenn Maynard 0c9afb67b2 cleanup (this is only used in one place) 2005-10-12 02:39:59 +00:00
Glenn Maynard 96cd668edc remove KeypressBlock. Do this in the receptor. 2005-10-12 02:37:04 +00:00
Glenn Maynard aafe212809 temp debug cruft 2005-10-12 02:17:48 +00:00
Glenn Maynard 48960f8035 Merge "receptor go" and "receptor waiting". 2005-10-12 00:01:47 +00:00
Glenn Maynard fbe094d34c Create actors with ActorUtil::Create in ActorUtil::MakeActor. This means
ActorUtil::LoadFromNode always uses ActorUtil::Create.  Previously, sprites
and models loaded without an explicit Class= were loaded directly.

Nested XML is merged explicitly.  Before, we loaded the final actor, and then
called Actor::LoadFromNode to pull in attributes from each nested XML node
as ActorUtil::LoadFromNode recursed back out, which was a bit confusing.  It
also caused weirdness with InitCommand: each time called it again, possibly
with a different InitCommand.  We need to only call it once, after all nodes
are loaded.

(MergeActorXML is a little annoying, but it does make it more clear what's
really happening.)
2005-10-11 21:59:48 +00:00
Glenn Maynard 1733cc128c add assert 2005-10-11 21:45:35 +00:00
Glenn Maynard 2a57f5aad8 fix editor assert 2005-10-11 21:42:06 +00:00
Glenn Maynard fc070a1d32 fix AppendAttr doesn't overwrite 2005-10-11 11:12:24 +00:00
Glenn Maynard a2a6dd73d8 cleanup 2005-10-11 11:11:03 +00:00
Glenn Maynard 6b5f23ef02 simplify/optimize 2005-10-11 10:34:27 +00:00
Glenn Maynard 7a51f0e8cf update 2005-10-11 10:25:26 +00:00
Glenn Maynard 64d9c29568 Simplify: store attributes in a simple map<CString,CString>, not in an object.
Makes attributes lighter.
2005-10-11 10:24:07 +00:00
Glenn Maynard f533842452 fix assert 2005-10-11 10:08:55 +00:00
Glenn Maynard 7210e10b89 cleanup 2005-10-11 10:08:54 +00:00
Glenn Maynard 489bb9b3ed cleanup 2005-10-11 09:37:18 +00:00
Glenn Maynard fc6e0a2571 Multiple attributes with the same name aren't allowed in XML. (grr, ugly)
Add copy ctor.
2005-10-11 09:35:53 +00:00
Glenn Maynard c9cb09dd36 ActorUtil::LoadFromActorFile -> ActorUtil::LoadFromNode 2005-10-11 02:51:05 +00:00
Glenn Maynard 201fe355ac simplify 2005-10-11 02:16:55 +00:00
Glenn Maynard a808a49b65 remove return value; always true and never checked (texture load errors
are handled with warnings and a dummy texture)
2005-10-11 02:15:27 +00:00
Glenn Maynard a736d97aa2 simplify 2005-10-11 02:08:12 +00:00
Glenn Maynard 049af2408d simplify (same code path for LoadFromActorFile) 2005-10-11 00:50:25 +00:00
Glenn Maynard d87cfccfb9 simplify 2005-10-11 00:48:27 +00:00
Glenn Maynard 92585fcaa9 rearrange 2005-10-11 00:47:15 +00:00
Glenn Maynard 2d4cd30865 hide templates 2005-10-10 22:33:08 +00:00
Glenn Maynard 610262a46c use standard load path, not ActorUtil::LoadFromActorFile directly 2005-10-10 22:27:09 +00:00
Glenn Maynard 0f17b0f9c2 Actor::IsType 2005-10-10 21:52:04 +00:00