Kyzentun
b4ede3f977
Stupid LuaHelpes::Push doesn't have a size_t specialization.
2015-01-30 09:30:50 -07:00
Kyzentun
647b361284
Added wrapper states to actors. Wrapping an actor inside a frame when building a screen is now unnecessary.
2015-01-30 09:05:09 -07:00
Kyzentun
40b25e6220
Fixed conflicts to merge kickbox in.
2015-01-27 18:03:41 -07:00
Kyzentun
aeaead95c9
Changed default ScreenSelecStyle to use functions for choice names and positions instead of metrics. _fallback SSS remains the same for compatibility. Fixed style stomping bug in SetCompatibleStylesForPlayers.
2015-01-20 18:40:59 -07:00
Kyzentun
65187a55c6
CubicSpline class created. Temp spline rendering stuff in AMV.
2014-12-27 21:41:55 -07:00
Kyzentun
64d384410c
Created NoteColumnRenderer to handle column rendering. Added m_FakeParent to Actor to solve part of the problem.
2014-12-26 01:54:34 -07:00
Kyzentun
4f95bf08ad
Function chaining for actors and singletons.
2014-12-01 22:31:30 -07:00
Kyzentun
50df61a0ca
Fixed RollingNumbers to work with corner diffuse colors. Changed diffuse loops to use NUM_DIFFUSE_COLORS instead of 4.
2014-11-01 16:42:51 -06:00
Kyzentun
a5289ddaca
Fixed broken else-if chain in Actor::SetEffectClockString. Changed error to not crash Stepmania.
2014-10-29 17:43:37 -06:00
Kyzentun
5639a0d31f
Lineage reporting for nil commands in RunCommands. Stricter type checking for FormatPercentScore in PercentageDisplay.
2014-10-28 20:32:38 -06:00
sigatrev
d8b86fa3c5
make internal diffuse apply to bmt attributes
...
diffuse from BitmapText attributes were not receiving internal diffuse
from their parent ActorFrames. This change waits until after the draw
cycle to reset the internal diffuse and glow, so any color applications
separate from generic diffuse can use the internal diffuse when desired.
2014-08-16 16:38:26 -05:00
Kyzentun
63311ab62f
Moved error reporting to ScreenSystemLayer error.lua. ScreenSystemLayer overlay/default.lua restored to previous. Error messages are now broadcast with the ScriptError message instead of SystemMessage. Added show/hide error messages toggle and clear error messages to debug menu. Nuked ScreenConsoleOverlay for being unfinished and duplicating ScreenSystemLayer. Changed Actor:tween and Tween::CreateFromStack to use ReportScriptError on invalid tween params. Changed some OptionRowList things to use ReportScriptError on invalid metrics.
2014-07-08 20:01:33 -06:00
Kyzentun
026f968fa4
Changed many uses of Dialog::OK and LOG->Warn to use ReportScriptError.
2014-07-07 00:39:27 -06:00
Kyzentun
a7a98a690e
Replaced every use of lua_call with RunScriptOnStack. Modified RunScriptOnStack to report an error to log and system message using a passed in context string. Modified every use of RunScriptOnStack to avoid crashing so that the reported error can be seen.
2014-07-05 01:34:05 -06:00
Kyzentun
e9220c56b7
Added Actor:GetDestX/Y/Z to Lua API.
2014-07-04 02:03:05 -06:00
sigatrev
70c5209e76
added ActorMultiVertex
...
AMV is an actor which can have a variable number of vertices that can
each be given their own pos, color, and coords. They can be drawn using
any of the RageSpriteVertex draw functions in RageDisplay.cpp. The
vertex properties can be tweened.
2014-04-14 21:29:19 -05:00
sigatrev
1b1716ac7d
Fix draw function
...
Actors with glow but no alpha are not drawn because. Adding glow to the
conditional.
2014-03-09 00:17:45 -06:00
freem
5c998c0f96
pedantic "change 4 spaces to tab" commit
2014-02-21 16:41:30 -06:00
Colby Klein
2f9bdb8352
Merge pull request #57 from sigatrev/master
...
TextureTranslate method
2014-02-21 09:37:49 -08:00
sigatrev
0ab15ed053
TextureTranslate method
...
Allow themes to duplicate the way noteskins are handled.
2014-02-20 21:17:10 -06:00
Devin J. Pohly
3ac15cc1ce
Warn on failed command compilation
2014-02-20 10:59:48 -05:00
Ben "root" Anderson
65af9f1839
Some housekeeping that EndDraw takes care of wasn't in certain cases. Oops.
2013-12-20 17:29:49 -06:00
Ben "root" Anderson
ddbdb77368
Split Actor::BeginDraw() into Actor::PreDraw() which does tweening calculations and Actor::BeginDraw() now only sets up the matrix. Skip setting up the matrix if the Actor is fully transparent.
2013-12-13 12:10:11 -06:00
Devin J. Pohly
6a91621f10
Warn on unset or nil command in RunCommands
2013-10-20 23:05:26 -04:00
Devin J. Pohly
9555ddd82e
BeginTweening: ensure precondition
2013-10-20 18:02:13 -04:00
Devin J. Pohly
0b378d55f5
SetEffectTiming: better precondition, and check it
2013-10-20 17:37:45 -04:00
Devin J. Pohly
70b52946f4
SetEffectPeriod: propagate precondition
2013-10-20 16:59:24 -04:00
Devin J. Pohly
ecdc352e96
Actor: propagate some default parameters
2013-10-20 16:34:19 -04:00
Devin J. Pohly
f94d3affc2
Propagate diffuse to ActorFrames' children
2013-05-28 21:46:15 -04:00
Devin J. Pohly
849b6e5b3b
Propagate glow to ActorFrames' children
2013-05-28 20:52:01 -04:00
Devin J. Pohly
bd0e2074ad
replace ASSERT(0) with useful fail messages
2012-12-27 16:59:35 -05:00
Jason Felds
e86aeb66a8
war on -Werror, part 10: more informals.
2012-12-27 11:01:51 -05:00
AJ Kelly
ae57a3f2c2
[Actor] Make the xy command a source-code level command.
2012-05-19 00:20:30 -05:00
AJ Kelly
e14b96cfbf
part one of three-ish in reverting the Actors/ folder thing
2011-10-02 21:14:01 -05:00
Colby Klein
69431604e3
Remove the old files. (also I am very sorry for nuking the line by line history, this has been pissing me off for ages)
2011-09-23 15:44:01 -07:00
Jason Felds
dbdab4759e
[Xcode4] May as well fix switch warnings.
...
Still need some assistance for the linker error.
2011-07-20 11:11:04 -04:00
Jason Felds
2ab5a4ddb8
Mostly 64 - 32 float warning fixes.
2011-06-12 03:37:10 -04:00
Thai Pangsakulyanont
631bc3753d
Revert "An attempt to make the arrows flash with the steps' timing. If it works then we can expand it to..... I don't know, lifebars?"
...
This reverts commit ab178b1e65 .
2011-05-24 10:41:07 +07:00
Thai Pangsakulyanont
aa706d34d7
Revert "Fix a typo (that makes building fail)."
...
This reverts commit 9130e2b6ec .
2011-05-24 10:40:22 +07:00
Thai Pangsakulyanont
1d88598eaf
Revert "finally got it to work with a another hack inside that hack."
...
This reverts commit 73459aae38 .
2011-05-24 10:40:04 +07:00
Thai Pangsakulyanont
73459aae38
finally got it to work with a another hack inside that hack.
2011-05-20 22:15:01 +07:00
Thai Pangsakulyanont
9130e2b6ec
Fix a typo (that makes building fail).
2011-05-20 21:35:26 +07:00
Thai Pangsakulyanont
ab178b1e65
An attempt to make the arrows flash with the steps' timing. If it works then we can expand it to..... I don't know, lifebars?
2011-05-20 21:33:42 +07:00
Jason Felds
d99e7b5c5b
[splittiming] Re-establish Actor code.
2011-05-15 00:57:35 -04:00
Jason Felds
a32a03b2e9
[splittiming] Trying to restore #COMBOS.
2011-05-14 20:05:27 -04:00
Jason Felds
1cf2f266eb
[splittiming] Actor compiles, but not links here.
...
Perhaps I'm doing it wrong?
2011-05-14 19:05:01 -04:00
Flameshadowxeroshin
68272d4fda
[splittiming] blah
2011-05-14 17:56:39 -05:00
Flameshadowxeroshin
6b0a939290
[splittiming] new EffectModes (not available from Lua yet), clarified error message
2011-05-14 17:03:49 -05:00
Jason Felds
a085d0d1da
Line endings...be normalized!
2011-03-17 01:47:30 -04:00
Jason Felds
e9449cb50e
More doxy, more recompiling all.
2011-02-19 17:00:32 -05:00