Commit Graph

25 Commits

Author SHA1 Message Date
teejusb 7e3789b131 Integrate C++11 branch into 5_1-new 2019-06-22 12:35:38 -07: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 4f95bf08ad Function chaining for actors and singletons. 2014-12-01 22:31:30 -07:00
Jason Felds 28e5148dec The big NULL replacement party part 5.
Right. ' = NULL' would get a lot of these.
2013-05-03 23:39:52 -04:00
Jason Felds ba59dd1656 The big NULL replacement party part 2.
This may take a bit. Trying to do this by operator/command.
2013-05-03 23:11:42 -04:00
Jason Felds 9f24627bf9 The big NULL replacement party part 1.
This is meant to be a safer alternative since
NULL can often be 0. Let's not rely on that.

And yes, I know this is a lot of files. This is
a safer thing to do in big commits vs for loops.
2013-05-03 23:01:54 -04:00
Jason Felds c67419ecc8 There goes the macro file.
This is one of my bigger commits in this branch.

Still, shouldn't cause a problem.
2013-05-01 23:54:39 -04:00
Jason Felds c07d4cf78f Let Mac OS X have goodies. 2013-04-29 23:37:10 -04:00
Jason Felds 33872b3cbe Until Xcode behaves, the rest get the goodies. 2013-04-28 22:40:00 -04:00
Jason Felds 83dee17d2a Hmm: hard time with std::any_of in Xcode.
The other commit I was worried about worked fine though.

Go figure.
2013-04-28 17:19:26 -04:00
Jason Felds cb1b5f5fba Utilize std::any_of.
We have <algorithm>. Let's use it.
2013-04-28 16:50:41 -04:00
Jason Felds 201e355c12 Apply for each loops. 2013-04-28 16:46:25 -04:00
AJ Kelly 5ae2f9f4ba [Model] Added GetDefaultAnimation() Lua binding. 2011-09-07 14:28:07 -05:00
Jason Felds a085d0d1da Line endings...be normalized! 2011-03-17 01:47:30 -04:00
Colby Klein 704c7bff1d Update Cel shading. Note, RageDisplay_D3D will need to be fixed for this. 2011-03-08 11:00:32 -08:00
AJ Kelly 0771d24022 working on a CelShading command that may or may not end up working; commented out for now 2011-03-03 00:03:56 -06:00
Colby Klein dc493450bf Break cel shading (it'll be fixed soon, I have to poke at RageDisplay stuff), add TODOs for myself, and comment out some 2D character stuff... 2d chars should be possible to implement in lua instead. 2011-02-25 02:08:30 -08:00
Colby Klein 9a88c8ec54 Comment out (build breaking) mouse code for OS X, fix 3d noteskins + characters at the same time (I hope) 2011-02-24 20:04:00 -08: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 7463672a9f nevermind... again. 2010-12-22 12:23:02 -06:00
AJ Kelly 121a51113e if I add this one assert, it seems to stop models from crashing my video card. 2010-12-22 12:13:04 -06:00
AJ Kelly d0536e2544 remove some unused/non-working Model Lua bindings 2010-06-26 15:02:23 -05: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