Commit Graph

25 Commits

Author SHA1 Message Date
Martin Natano bacecae1f7 Decouple <vector> 2023-04-21 22:13:41 +02:00
Martin Natano aa87f85eef Decouple <cstdint> 2023-04-21 22:13:41 +02:00
Martin Natano 78fb2e9fc3 Decouple <cstddef> 2023-04-20 11:21:29 +02:00
Martin Natano 79674c15fe Fix windows build 2023-03-17 23:33:16 +01:00
Brian Phlipot 4a6b1a743c Enable more compiler warnings and treat them as errors. 2023-02-02 11:54:17 -08:00
Michael Sundqvist 0cba3579de Remove global "using namespace std;" declarations, use "std::" prefixes on all std elements
Fix whitespace changes
2022-07-31 22:14:38 +02:00
teejusb de29ba656b Add <numeric> header to ActorMultiVertex to use std::accumulate 2019-06-22 13:02:09 -07:00
teejusb 7e3789b131 Integrate C++11 branch into 5_1-new 2019-06-22 12:35:38 -07:00
Jason Felds edabf4605b Clean up three sets of warnings:
* Ensure all switches have a default when working with enums.
* Match defined new[] calls with delete[] calls.
* Respect variable initialization order.
2016-03-24 18:30:29 -04:00
Kyzentun Keeslala c9e7ad8b76 Fixed bug in ActorMultiVertex::DrawPrimitives that converted RageColor channels to uint8 when applying the diffuse to verts, which made any channel not 1 into 0. 2015-10-12 02:18:15 -06:00
Kyzentun Keeslala 8b7370ee10 AMV SetVertsFromSplinesInternal had a fencepost error that made it not put a vert at the end of the spline. 2015-06-08 10:07:17 -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 c400794d50 Added ForceStateUpdate and SetDecodeMovie to AMV. Fixed SetStateProperties and SetQuadState off by one errors. Added size lua functions to RageTexture. Added GetBGChanges to Song. 2015-02-02 23:28:33 -07:00
Kyzentun 6570db599c AMV animation state system added. 2015-02-01 17:01:15 -07:00
Kyzentun daba6f19bb Fixed t value calculation in AMV:SetVertsFromSplines. 2015-01-20 12:38:31 -07:00
Kyzentun 5f3d07807c Fixed vert index math in SetVertsFromSplinesInternal 2015-01-08 04:26:39 -07:00
Kyzentun 1ea48efb80 Changed tper to vector of float. 2015-01-06 22:00:06 -07:00
Kyzentun d3bbf9cbd3 Added SetVertsFromSplines to AMV. Moved const to the left side. Documentation for all new functions. 2015-01-06 20:14:59 -07:00
Kyzentun 6c722df0c6 Made loop and polygonal private so that setting them would trip the dirty flag. 2015-01-03 05:56:52 -07:00
Kyzentun 584f1c8813 Moved cubic spline implementation to its own source file. 2014-12-28 05:57:07 -07:00
Kyzentun 65187a55c6 CubicSpline class created. Temp spline rendering stuff in AMV. 2014-12-27 21:41:55 -07:00
Kyzentun 4f95bf08ad Function chaining for actors and singletons. 2014-12-01 22:31:30 -07:00
Kyzentun 4f2b92a25a Added __screen__ special texture name. Added AMV:GetTexture, RageTexture:Reload, and Screen:SetNextScreenName lua functions. 2014-09-02 05:18:29 -06:00
Kyzentun a74a49af78 Changed many uses of Dialog::OK and LOG->Warn to use ReportScriptError. 2014-08-02 00:38:18 -07: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