Commit Graph

34 Commits

Author SHA1 Message Date
Chris Danford 8ac398d192 optimize Actor::BeginDraw 2003-10-07 04:26:14 +00:00
Chris Danford cda57e7c5d fix Model bugs exposed by use in NoteDisplay 2003-09-23 05:39:24 +00:00
Chris Danford dba1188c97 remove .model file format, replace with more general .actor file format 2003-09-21 20:57:07 +00:00
Glenn Maynard 519d6c80b6 Warn for missing textures. 2003-09-16 01:12:20 +00:00
Thad Ward b01f17894c Fix slashes for safety. 2003-09-01 11:21:12 +00:00
Thad Ward ea458a443d Fix the blinking characters in the BeginnerHelper.
(why was this return here? we need to set up the first frame after reverting to the default animation.)
remove m_sMostRecentAnimation, as it is not needed at all.
2003-08-31 11:47:05 +00:00
Thad Ward b9e15589dd Add support for playing specific animations at a different rate, scaled from the update rate. 2003-08-31 08:15:52 +00:00
Kevin Slaughter b170ddaf5f Fixed model flickering, which was also making the BH miss steps when it was trying to restart the default animation. 2003-08-28 06:36:33 +00:00
Thad Ward 81d46e3178 gah. someone shoot me. I missed another. this is the last one. 2003-08-27 12:35:50 +00:00
Thad Ward 34b602d688 oops. missed a couple of things I needed to remove. 2003-08-27 12:34:47 +00:00
Thad Ward 9276a68a0d when the current animation is the same as the one we are asked to play, don't bother copying the bones in again, just reset the current frame. 2003-08-27 12:24:10 +00:00
Chris Danford 00a107ad70 fix Model animations not looping 2003-08-23 19:32:35 +00:00
Chris Danford 859ace0201 fix slashes and collapse path when loading a texture in Model 2003-08-23 19:10:05 +00:00
Kevin Slaughter 82a8340afd Added ability to skip to frame xx in the current animation. Used in HowToPlay. Also allows an animation freeze, if re-iterated 2003-08-20 09:15:53 +00:00
Chris Danford 35950c4eaf Add prefs for logging. Don't throw if can't open log file. Remove Ragefopen and Rageifstream (they aren't needed). 2003-08-13 04:40:23 +00:00
Kevin Slaughter adc19d0a15 Updated ScreenHowToPlay code to include dancer. I know it's a bit rough and too-fast paced right now, but that will all be fixed tonight when I get home and re-commit. 2003-07-31 11:31:24 +00:00
Chris Danford 278cb4c3f1 runs on Xbox 2003-07-22 07:47:27 +00:00
Chris Danford 8158ca8770 compiles on Xbox (still a CRT linking error though) 2003-07-11 03:15:28 +00:00
Chris Danford cff3a1e0b1 fix file handle leak in Model 2003-07-10 18:24:30 +00:00
Chris Danford c67d78d948 let Actor subclasses have first crack at parsing commands
allow Models and BitmapTexts in BGAnimationLayer (detected through file extension)
add RageModelVertex, which doesn't have a color property
add "stretch" file name hint for textures
2003-07-07 01:29:18 +00:00
Chris Danford 739cc6d38b support loading of multiple animations in a Model 2003-06-07 18:09:20 +00:00
Chris Danford bf77ee902f fix DrawIndexedTriangles bug that caused uninited verticies to be drawn 2003-06-07 11:54:44 +00:00
Chris Danford 02016ae442 Reorganize RageDisplay
Add Direct3D renderer (separate project configuration)
Add Xbox project config (doesn't yet compile)
2003-05-22 05:28:37 +00:00
Chris Danford 54bedc3eba clean up RageDisplay methods, add ability to mask song banner
The masking uses the Z-buffer under the assumption that some cards don't have a stencil.  Should we be using the stencil instead?  It doesn't really matter because we never need both the Z buffer and stencil buffer simultaneously.
2003-05-15 06:09:19 +00:00
Chris Danford 5c9710f155 fix VC7 compile errors 2003-05-11 08:19:24 +00:00
Chris Danford dd8331d9fc add support for models in NoteSkin 2003-05-11 07:23:47 +00:00
Chris Danford 6150d3f2c2 fix stupid scale by 0 2003-05-09 04:55:48 +00:00
Chris Danford c04b5b993b add Model to NoteDisplay 2003-05-09 04:42:04 +00:00
Glenn Maynard 60a13f806d Fix some type mismatches that cause stack corruption in VC7.
Never memset(0) a non-POD type (eg. a vector).
2003-05-06 21:10:21 +00:00
Chris Danford 9e420233d5 fix VC7/GCC compile error 2003-05-05 01:01:22 +00:00
Chris Danford 4cbdfbf128 optimizing Model drawing 2003-05-04 07:22:20 +00:00
Chris Danford 85986fe325 optimizing Model 2003-05-04 05:21:16 +00:00
Chris Danford 8e96af518a working on model lighthing/texture mapping 2003-04-27 05:14:27 +00:00
Chris Danford b72804294a working on Mesh support
- loads only Milkshape ASCII
- doesn't yet load textures or render with materials
2003-04-25 21:05:40 +00:00