Commit Graph

134 Commits

Author SHA1 Message Date
Chris Danford e628f74491 do note coloring with tex coord shifting, not separate elements 2005-10-04 19:45:45 +00:00
Chris Danford 65d71a4f23 expermienting with DEFINE_METHOD macro for Lua methods 2005-09-10 02:47:04 +00:00
Glenn Maynard be662eb724 cleanup 2005-09-03 23:08:43 +00:00
Glenn Maynard e89c7c2a60 cleanup 2005-08-30 03:46:20 +00:00
Glenn Maynard 1c81bcc5fc EarlyAbortDraw() const 2005-08-25 00:57:53 +00:00
Glenn Maynard 87acdcfec4 cleanup 2005-07-07 02:34:29 +00:00
Glenn Maynard 0137a20389 cleanup 2005-07-05 23:55:42 +00:00
Glenn Maynard 73da8c0445 remove .model 2005-07-05 23:48:31 +00:00
Glenn Maynard 1e192fadc4 handle @expressions in model.xml 2005-07-05 06:59:29 +00:00
Glenn Maynard 518da6b626 fix Model 2005-06-21 07:49:25 +00:00
Glenn Maynard 9d7f835609 no need to template Luna specializations 2005-06-20 05:02:03 +00:00
Glenn Maynard e2cfba413a update registration for various types 2005-06-20 04:23:36 +00:00
Chris Danford 0c50d0daec reset tex matrix per-material 2005-05-01 00:06:53 +00:00
Chris Danford d291eda3f8 load TextureOffset values from .ani file for texture frame animation on models 2005-05-01 00:02:08 +00:00
Chris Danford 2576c4a87a hack to get scrolling coords and env mapping working at the same time 2005-04-26 20:44:58 +00:00
Chris Danford 12185dfd0d revert order to fix env mapping (not sure why yet) 2005-04-26 20:18:51 +00:00
Chris Danford 0ec148b4f0 fix multipass path doesn't clear 2nd texture unit if model doesn't have 2nd material 2005-04-26 08:11:30 +00:00
Chris Danford 35251bb25b load Models from XML (alternative to a .model file) 2005-04-01 23:46:45 +00:00
Chris Danford fbd9c73df3 Collapse paths from .model files. 2005-03-11 06:10:52 +00:00
Chris Danford 4a2499b0fb fix Model doesn't obey m_bTextureWrapping 2005-02-27 08:31:41 +00:00
Glenn Maynard 36b99323fb Validate material indices, so we don't crash if a mesh references material 9999. 2005-02-10 02:40:56 +00:00
Glenn Maynard e3cff6e666 support TexOffsetX, TexOffsetY 2005-02-01 02:32:22 +00:00
Chris Danford 68dd253720 use templated classes instead of macros for easier debugging 2005-01-31 08:05:27 +00:00
Chris Danford 8555a6da45 use Lua to execute commands
(needs cleanup)
2005-01-26 11:21:43 +00:00
Glenn Maynard 1d3613f161 for real this time :) 2005-01-22 03:39:39 +00:00
Chris Danford a3ed21da36 turn off sphere mapping on tex unit 0 after rendering 2005-01-21 06:14:20 +00:00
Chris Danford 5c79ac4196 pass bNeedsNormals into RageCompiledGeometry 2005-01-14 10:23:22 +00:00
Glenn Maynard 32bb778e22 support multipass env mapping for systems without multitexturing 2005-01-04 05:38:44 +00:00
Chris Danford ed19821e09 rename: ActorCommand -> Command
Make Command smaller and more generic.
Parse arguments on use, not in Command::Load.
2004-12-03 05:19:46 +00:00
Chris Danford 6c855f0c93 "ParsedCommand" -> "ActorCommand" 2004-11-06 20:42:09 +00:00
Chris Danford 2c314df898 HandleParams -> BeginHandleParams 2004-11-06 03:09:29 +00:00
Chris Danford 03fbb915f3 remove VC6 scoping hacks 2004-09-21 07:53:39 +00:00
Glenn Maynard 1fd8e8dd1e try to avoid ClearZBuffer() 2004-09-20 02:43:04 +00:00
Glenn Maynard 971279f1af Fix (more) character model rendering artifacts when a freeze segment
lies on beat 0: m_pTempGeometry was not being set up
2004-09-17 01:32:57 +00:00
Glenn Maynard 79a3a9aebc const m_pCurAnimation 2004-08-19 08:32:18 +00:00
Glenn Maynard 6fec08bba8 move most of Model::LoadMilkshapeAsciiBones into msAnimation::LoadMilkshapeAsciiBones 2004-08-19 08:29:16 +00:00
Glenn Maynard bbc55a3a1a start animations in LoadPieces, but not LoadMilkshapeAsciiBones 2004-08-19 08:15:35 +00:00
Glenn Maynard e6bc94a4af unwrap LoadMilkshapeAsciiBones (no other changes) 2004-08-19 07:47:56 +00:00
Glenn Maynard 4f12abec26 RageModelGeometry::m_pGeometry -> m_pCompiledGeometry, to
differentiate from Model::m_pGeometry
2004-08-19 06:24:41 +00:00
Glenn Maynard 65c6155f29 cleanup 2004-08-19 06:22:52 +00:00
Steve Checkoway 74bfc030e4 Use RadianToDegree().
Cleanup braces.
#defines should never end with a semicolon since
STATEMENT
doesn't look like a complete statement (not to mention it fools editors that attempt to keep code indented correctly) and
STATEMENT;
can lead to annoying problems with things like
if (cond)
	STATEMENT;
else
	do_something();
since there are now two semicolons.
2004-08-19 02:35:40 +00:00
Glenn Maynard 7e26213408 simplify 2004-08-19 02:19:45 +00:00
Glenn Maynard cf725075fe split out DrawMesh
cleanup
2004-08-19 01:47:58 +00:00
Glenn Maynard b1b4163923 cleanup, split out Model::SetBones 2004-08-19 01:08:18 +00:00
Glenn Maynard cc5dfc9653 cleanup 2004-08-19 00:42:31 +00:00
Glenn Maynard b0084f0951 cleanup 2004-08-19 00:16:50 +00:00
Glenn Maynard 19207b986e cleanup 2004-08-19 00:16:02 +00:00
Glenn Maynard c06bed290d cleanup 2004-08-19 00:07:53 +00:00
Glenn Maynard 107b2ed53c cleanup msMaterial 2004-08-18 06:04:53 +00:00
Glenn Maynard f0c0a532f9 sscanf("%f") -> strtof() 2004-08-10 22:19:06 +00:00