Kyzentun
42b3a88516
Revert "Rewrote Sprite::ScaleToClipped and CropTo to actually work."
2015-10-06 00:53:22 -06:00
Kyzentun
8e7b4ee7ee
Merge pull request #203 from kyzentun/FixScaleToClipped
...
Rewrote Sprite::ScaleToClipped and CropTo to actually work.
2015-10-03 21:31:45 -06:00
Kyzentun Keeslala
a10c0c4f01
Added set_use_effect_clock_for_texcoords to Sprite. Updated changelog.
2015-09-21 20:42:56 -06:00
Kyzentun Keeslala
e81ebfb5c5
Added AnimationFinished command to Sprite for when the animation starts over.
2015-07-15 01:35:30 -06:00
Kyzentun Keeslala
f5aec7ed4b
Why the One Definition Rule exists, and being able to hide members with local variables is bad, Exhibit A.
2015-05-15 02:55:40 -06:00
Kyzentun
2656123464
RageTextureManager now keeps a map of textures by pointer for quicker lookup when deleting.
...
RageTextureManager now keeps a map of textures that need updating, which is none of them because I couldn't find a class that inherits from RageTexture that doesn't have an empty Update function.
ArrowEffects now requires setting the current PlayerOptions before calling any functions. This might make moving to per-column mods easier, and reduces the direct usage of PlayerState.
Tipsy calculations for each column are done in ArrowEffects::Update instead of GetYPos and GetYOffset.
DrawHold changed to only call DrawHoldBody once. DrawHoldBody now does the normal and glow passes together instead of needing to be called twice.
DrawHoldPart changed to take most of its args in a struct.
Giant copy paste mess that NoteField was using to draw timing segment text replaced with a couple functions and a macro.
Selection glow for notefield is only calculated if a section is selected.
Added RageVector3 functions to CubicSplineN for NoteDisplay to use.
Actor effect period is cached now. Sprites and Models cache their animation length now.
ReceptorArrowRow no longer calls ArrowEffects::Update in gameplay.
2015-04-24 15:55:54 -06:00
Kyzentun
f4da2988d9
Moved GetTexturePath lua function from Sprite to RageTexture and renamed it to GetPath. Updated changelog.
2015-03-24 14:23:30 -06:00
Kyzentun
d85ac9af85
Added GetTexturePath lua function to Sprite.
2015-03-15 00:34:21 -06:00
Kyzentun
ad877b6dcb
Changed BackgroundEffects files to apply the playback rate to videos. Added GetUpdateRate to ActorFrame and Get/SetDecodeMovie to Sprite. Hope nobody is caught off guard by checkerboard no longer playing videos back at 4x rate.
2015-02-05 00:37:08 -07:00
Kyzentun
6570db599c
AMV animation state system added.
2015-02-01 17:01:15 -07:00
Kyzentun
58d3fd2b6f
Fixed pump noteskin to not set zero delay on receptor sprites. Changed error messages from Sprite to give 1-indexed state numbers.
2015-01-28 07:53:55 -07:00
Kyzentun
259ef96493
Reset sprite state when setting new state properties.
2015-01-13 04:27:52 -07:00
Kyzentun
301d529b67
Negative state delays in a sprite cause an infinite loop.
2015-01-10 02:32:54 -07:00
Kyzentun
0a02dd2b7c
Added SetStateProperties to Sprite.
2015-01-09 23:56:11 -07:00
Kyzentun
4f95bf08ad
Function chaining for actors and singletons.
2014-12-01 22:31:30 -07:00
Kyzentun
2134151b90
Added Sprite::NewBlankSprite for use by NoteSkinManager. Removed default texture loading from Sprite::Sprite. Should fix problems with white banners and garbage on videos.
2014-08-02 00:38:40 -07:00
Kyzentun
88f56cb0ec
Tested and fixed error reporting for NoteSkinManager. Changed Sprite::Sprite() to load the default texture.
2014-08-02 00:38:27 -07:00
Kyzentun
5df80b6e0e
Changed many places that used RageException to use ReportScriptError instead. Wrote ScreenOptionsExample.ini as documentation example for the OptionRow system. Rewrote gamecommands.txt to include all GameCommands. Fixed Commands::GetOriginalCommandString to insert the semicolons that separated the original commands. Changed nonsensical boolean |= true statements in GameCommand.cpp to just use =. Added protection to ReportScriptError to keep it from recursing through itself when an error occurs in error reporting. Added UseAbort option to ReportScriptError for places that want to use an AbortRetryIgnore dialog to query the user. Added ScriptErrorMessage for places that need to handle the warning/dialog part separately. Added logging flag to MESSAGEMAN so that all messages broadcast can be logged when desired. Changed OptionRowHandler::LoadInternal to return a boolean success value as part of error handling.
2014-08-02 00:38:24 -07:00
Kyzentun
a74a49af78
Changed many uses of Dialog::OK and LOG->Warn to use ReportScriptError.
2014-08-02 00:38:18 -07:00
Kyzentun
8fd8bc644b
Rewrote Sprite::ScaleToClipped and CropTo to actually work reliably and do what their names say.
2014-06-21 19:40:14 -06:00
freem
59600538da
Visual Studio was choking on isnan; it worked in StreamDisplay by including <float.h>, and that works here too.
2014-02-19 21:27:23 -06:00
Kyzentun
d9b38234dd
Added SetCustomPosCoords to Sprite.
2014-02-12 18:43:42 -07:00
AJ Kelly
da59479161
source the comment
2011-08-20 18:23:02 -05:00
AJ Kelly
38246f7fea
silence warnings
2011-05-20 01:06:48 -05:00
AJ Kelly
27a6ebd187
remove support for diagonal banners; it's 2011, the theme should be taking care of banner rotation. plus this made things problematic for people wanting to use square banners.
2011-05-20 00:19:51 -05:00
AJ Kelly
d136d19cef
fix compile; don't add features early in the morning
2011-05-10 08:55:50 -05:00
AJ Kelly
4afa85c9f9
[Sprite] Added SetSecondsIntoAnimation(float) Lua binding.
2011-05-10 02:41:02 -05:00
Jason Felds
a085d0d1da
Line endings...be normalized!
2011-03-17 01:47:30 -04:00
Jason Felds
9d13036e08
Add @briefs to the Luna classes.
...
Yeah...there was a lot. */
2011-02-19 12:26:18 -05:00
Jason Felds
1bed6d3630
De-Python-ize REGISTER_ACTOR_CLASS(*).
2011-02-18 23:55:41 -05:00
AJ Kelly
853925c83b
Added Sprite:SetAllStateDelays(fDelay) Lua binding
...
small cleanup on charmaps number comment
2010-12-17 01:07:50 -06:00
AJ Kelly
5bc199c9b7
Improve out of bounds setstate error message. [shakesoda]
2010-08-18 14:12:10 -05:00
AJ Kelly
ecacc2a620
DisableOddDimension on Sprite:LoadBanner()
2010-04-20 23:05:12 -05:00
AJ Kelly
642f4b107c
the various changes that I forgot to commit (cleanup and so forth) into hg,
...
culminating in syncing with sm-ssc v1.0 public beta 2
2010-03-31 17:37:09 -05:00
AJ Kelly
02c7037721
sm-ssc v1.0 Public Beta 1 code changes
2010-03-01 00:44:39 -06:00
AJ Kelly
5c5ef54a48
various changes from sm4 and sm-ssc (svn); see updated changelog for the full information
2010-02-18 23:17:24 -06:00
AJ Kelly
3e51544930
Initial commit.
2010-01-26 21:00:30 -06:00
Devin J. Pohly
80057f53cd
smsvn -> ssc-hg glue: rearrange directory structure
2013-06-10 15:38:43 -04:00