Commit Graph
17609 Commits
Author SHA1 Message Date
Glenn Maynard 91815ef03e Simplify: Move LoadChildrenFromNode into ActorFrame::LoadFromNode.
This also makes loading consistent between ActorFrame, ActorScroller and DActorScroller.
Previously, we ran ActorFrame::LoadFromNode before adding children, which caused InitCommand
to be run before adding children.
2005-10-07 02:55:47 +00:00
Glenn Maynard f875098dac typo 2005-10-07 02:44:42 +00:00
Glenn Maynard de8b1db0f3 typo 2005-10-07 02:00:42 +00:00
Glenn Maynard 7a8cf0bb38 cleanup: move code out of header, remove RageUtil.h from Actor.h 2005-10-07 01:59:20 +00:00
Glenn Maynard 630ea78f63 missing header 2005-10-07 01:58:41 +00:00
Glenn Maynard 775273cef4 fix warning 2005-10-07 01:45:48 +00:00
Glenn Maynard c904417448 missing header 2005-10-07 01:45:20 +00:00
Glenn Maynard 0c0c5d9557 update 2005-10-07 01:39:34 +00:00
Glenn Maynard 4aa3330211 Nothing ever overrides BeginDraw or EndDraw--any time where we might, we just
do the stuff in DrawPrimitives.  Remove unneeded virtual calls from the Actor
draw path.

Fix comments.
2005-10-07 01:31:27 +00:00
Chris Danford 17388b8d74 change Translation.dat -> Translations.xml 2005-10-06 07:13:41 +00:00
Chris Danford bc332a57b1 change Translation.dat -> Translations.xml
Move GroupName translations out of code and into Translations.xml
2005-10-06 07:01:58 +00:00
Chris Danford 0200863ced model file name cleanup 2005-10-06 07:00:30 +00:00
Chris Danford 74a1548e01 cleanup 2005-10-06 06:59:22 +00:00
Glenn Maynard 1472cd1618 old comment 2005-10-06 04:39:30 +00:00
Glenn Maynard f0fd4d8acc these mappings aren't really important here; these are just generic difficulty levels 2005-10-06 01:55:25 +00:00
Glenn Maynard 9217d8b333 update 2005-10-06 01:29:02 +00:00
Glenn Maynard 3e964691e5 remove GhostArrow 2005-10-06 01:28:22 +00:00
Glenn Maynard c3129a682e Remove GhostArrow, and do them with XML. This is simpler and reduces bloat
in note skins.
 - skins with only one ghost flash can simply override "Common Tap Explosion Bright"
   and "Dim"
 - don't need to have tons of files to redirect each type of ghost flash
 - still supports overriding ghost commands in NoteSkin metrics.ini
 - fixes obscure bug: the first bright ghost flash wouldn't hide the last dim ghost flash
2005-10-06 01:22:18 +00:00
Glenn Maynard 1ab2e6022e fixup 2005-10-06 01:16:42 +00:00
Glenn Maynard 3c212785c0 remove unused Unload 2005-10-06 01:16:05 +00:00
Glenn Maynard 757b5c0acb prefer AutoActor over Sprite 2005-10-05 22:36:49 +00:00
Glenn Maynard a3c0817d81 prefer AutoActor over Sprite 2005-10-05 22:30:54 +00:00
Glenn Maynard c411e8a4ac fix name conflict between HoldJudgment::Reset and Actor::Reset
prefer AutoActor over Sprite
2005-10-05 22:26:02 +00:00
Glenn Maynard 363f995814 Fix HoldJudgments not being shown. Actors can't be stored in STL containers
without implementing operator= and a copy ctor; the ActorFrame child list
won't be updated.  (This used to work because, with a fixed-length array,
this loading was done in the ctor, though it should have been done in Init.)  Also
fixes loads happening during Player::Load, which shouldn't happen.
2005-10-05 22:21:27 +00:00
Glenn Maynard 291696fc1f fix backwards 2005-10-05 22:14:48 +00:00
Glenn Maynard 56720f74b8 fix HOLD_JUDGMENTS_UNDER_FIELD 2005-10-05 22:05:47 +00:00
Glenn Maynard 9f8e27442c fix name conflict between HoldJudgment::Reset and Actor::Reset 2005-10-05 22:03:47 +00:00
Glenn Maynard d78b194f09 add GetAnimationLengthSeconds 2005-10-05 08:31:46 +00:00
Glenn Maynard 4cbf9be85a Add AddCommand and THEME:GetMetricA.
This won't work with theme reloading, but that hasn't worked in a long time anyway
(recreating the Lua environment while it's actually in use is hard).
2005-10-05 07:37:26 +00:00
Glenn Maynard 4e312a4ffd cleanup 2005-10-05 06:13:57 +00:00
Glenn Maynard f723499700 make this behave consistently with THEME:GetPath when given a blank
button name
2005-10-05 06:05:53 +00:00
Glenn Maynard 73fffe0bde unused 2005-10-05 05:56:17 +00:00
Glenn Maynard a5cf8c21b0 cleanup 2005-10-05 05:49:50 +00:00
Glenn Maynard d1c457601f cleanup 2005-10-05 05:25:20 +00:00
Chris Danford 2dc967326b error message cleanup 2005-10-05 05:01:09 +00:00
Chris Danford a89764040c remove old NoteColor logic 2005-10-05 05:00:50 +00:00
Glenn Maynard b76d363994 Remove ugly CopyTweening. This is too wildly incompatible with newer
XML features, where there's not necessarily any corrolation between elements
of different graphics.  This didn't work well, anyway: it'd apply the old tweening
queue to the new graphics, but they might have completely different animations.
This will cause transitions between NoteSkins to be more abrupt, but we don't
use that feature anyway.
2005-10-05 04:49:09 +00:00
Chris Danford 241de76361 do note coloring with tex coord shifting, not separate elements 2005-10-05 03:53:46 +00:00
Glenn Maynard 829b581a9b fix "conversion from 'NoteType' to 'float', possible loss of data" 2005-10-04 20:32:11 +00:00
Chris Danford e628f74491 do note coloring with tex coord shifting, not separate elements 2005-10-04 19:45:45 +00:00
Glenn Maynard 57153b6c6c All of these should be played during silent attract (except for Invalid). Remove
volume setting (that was the same as m_bIsCriticalSound).
2005-10-04 07:47:15 +00:00
Glenn Maynard 9b41085586 fix IsTimeToPlayAttractSounds 2005-10-04 07:44:38 +00:00
Glenn Maynard bc85c365ee cleanup 2005-10-04 07:44:06 +00:00
Glenn Maynard 1cdfffd6a7 Let's be explicit: Demonstration should act like an attract screen. (This usually
happens to work without this, because the previous attract screen will set it,
and won't unset it since that's done in input.)
2005-10-04 07:43:42 +00:00
Glenn Maynard 510f214792 unmute first, so Cancel gets to play sounds 2005-10-04 07:40:00 +00:00
Glenn Maynard c9a12177d8 fix backwards 2005-10-04 07:39:03 +00:00
Glenn Maynard 643da8e2ce Apply m_bIsCriticalSound permanently on play, so we don't start playing previously
muted sounds when GetPlayOnlyCriticalSounds changes.  Fixes background music
playing for a split second in some sound drivers when start is pressed during attract.
2005-10-04 07:35:35 +00:00
Glenn Maynard f88e38a788 "warning C4018: '>=' : signed/unsigned mismatch" 2005-10-04 07:21:49 +00:00
Glenn Maynard b5b224ee38 fix "warning C4213: nonstandard extension used : cast on l-value" 2005-10-04 07:20:52 +00:00
Chris Danford 15880eafd6 When in attract and not playing attract sounds, have SOUNDMAN only play sounds with RageSoundParams.m_bCriticalSound == true.
Currently, only the coin sound has RageSoundParams.m_bCriticalSound = true.
2005-10-04 06:51:06 +00:00