Commit Graph

47 Commits

Author SHA1 Message Date
Chris Danford 0ac5e2b008 add Skew for faux italic fonts 2005-05-02 21:43:27 +00:00
Chris Danford 0a59982608 fix accuracy of sin(PI)
optimize
2005-04-05 22:06:10 +00:00
Chris Danford 5228c309ac fix VC6 error 2005-04-03 11:48:15 +00:00
Steve Checkoway 1e07e76dcc Fix warnings. 2005-04-03 07:49:49 +00:00
Chris Danford 5e7afa7f77 fix garbage value for 2nd sample 2005-04-01 07:28:48 +00:00
Chris Danford 43948c2134 lerp in FastSin to fix shimmer in MusicWheel 2005-03-30 03:59:33 +00:00
Chris Danford bb6592a4e7 use float.h and limit.h constants instead of arbitrary large numbers 2005-03-25 20:01:51 +00:00
Steve Checkoway ae02033893 Fix warnings. 2005-03-23 21:04:40 +00:00
Chris Danford 7ca20486ef use sin lookup table to fix terrible performance with float and tipsy performance on some archs 2005-03-22 00:58:05 +00:00
Glenn Maynard bf80420cd8 short desc in the header, long desc in the implementation 2005-02-05 03:18:27 +00:00
Glenn Maynard 944bba77b6 I don't remember what RageMatrixCommand was for. Remove it. 2005-02-05 03:15:40 +00:00
Glenn Maynard 3e389c103b Translation and scaling (when applied in that order) are trivially combined;
save a matrix multiply for every actor.  (Maybe we can avoid doing any,
for objects which are neither rotated nor scaled--such as those positioned
based on their parent--but I'm not sure it's worth it.)  Rotations can be
combined without doing a full matrix multiply, too; if an actor rotates at all,
only do one matrix multiply.
2005-02-05 03:12:04 +00:00
Glenn Maynard aceff788bf remove wasteful and mostly unused matrix math helpers (pass by reference,
don't return by value)
2005-02-05 02:42:33 +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
Glenn Maynard aad73b53e9 (float) atof() -> strtof(), which computes in float instead of computing in
double and casting to float, which is silly
2004-08-10 20:57:59 +00:00
Glenn Maynard 211f9b852a use Dialog 2004-06-10 22:47:51 +00:00
Glenn Maynard f9f10e2372 more license updates 2004-05-06 02:40:33 +00:00
Glenn Maynard 5463520a12 fix rounding error: acosf(cosom) becomes 0, causing div/0 2004-04-26 03:11:19 +00:00
Steve Checkoway 20a8bab45c Clean up includes. 2004-04-05 05:22:32 +00:00
Jason Felds cc99e4f471 A line that is new has arrived; it's true. 2004-01-13 01:15:38 +00:00
Glenn Maynard 2f73025f77 simplify, fix warnings 2003-12-26 01:09:43 +00:00
Chris Danford e3cc4e3ff5 cleanup Model, remove MathUtil files, fix col major/row major errors 2003-12-24 12:30:41 +00:00
Glenn Maynard 63106abd5e add regular RageQuatFromHPR and simple AABB functions 2003-12-20 03:51:25 +00:00
Chris Danford c123681854 move IsWindowed check inside of ArchHooks_Win32 2003-11-15 06:08:13 +00:00
Chris Danford 70446551a9 add half-finished screen centering code (necessary for arcade and Xbox) 2003-10-11 01:51:36 +00:00
Chris Danford 8158ca8770 compiles on Xbox (still a CRT linking error though) 2003-07-11 03:15:28 +00:00
Chris Danford f34d409d6e DDR-like camera motions for DancingCharacters 2003-06-07 22:20:39 +00:00
Chris Danford 428d560a6b Clean up resolution fallback logic
Add video settings for G400
Working on composited text
2003-06-05 19:29:27 +00:00
Chris Danford 73e1e30ac3 #if defined(WIN32) || !defined(_XBOX) -> && !defined(_XBOX) 2003-05-29 00:15:11 +00:00
Chris Danford a75cd6e7b1 Fix D3D z-buffer problem by having separate GetOrthoMatrix functions for OGL and D3D.
I don't understand why the two APIs create an ortho matrix so differently, but I'm tried of messing with it for now.
2003-05-25 00:43:44 +00:00
Glenn Maynard 5e8eaf3096 Fix ortho projections in OpenGL.
D3D still isn't correct.
2003-05-23 21:10:25 +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
Glenn Maynard 779ed644d0 1. Introduce bug in unused code
2. Try to use said code a week later
3. ??????
4. (reuse an old joke)
2003-04-26 04:06:14 +00:00
Glenn Maynard fe33dec385 Partial s/GetString/c_str/.
(watch out for PlayerOptions::GetString and SongOptions::GetString)
2003-04-25 00:01:35 +00:00
Glenn Maynard dfe4f09141 move stuff out of headers
get rid of nonstandard anonymous unions
2003-04-24 01:00:31 +00:00
Glenn Maynard b2df827995 add quaternion math 2003-04-14 21:58:19 +00:00
Glenn Maynard 8c51c293f4 change matrix multiplies to degrees 2003-04-02 23:37:58 +00:00
Chris Danford d34102b717 scripting support in BGAnimations 2003-03-05 02:52:40 +00:00
Glenn Maynard 72088e53e3 the matrix multiply was backwards; this turned TranslateLocal
into Translate

this will fix some shadow problems.  the title shadow is something
odd: it seems that the title text is being shadowed by
ScreenTitleMenu::ChoicesX instead of ChoicesShadowLength
for some people?
2003-02-18 07:20:17 +00:00
Glenn Maynard 42cfd6f98c stdafx -> global 2003-02-16 04:01:45 +00:00
Chris Danford 7d1c2ea22e removed dependency on plib, updated installer, fixed warnings 2003-01-08 04:16:39 +00:00
Chris Danford 48970a9cb6 Fixed plib-related compile errors (hopefully for good) 2002-12-11 11:17:12 +00:00
Glenn Maynard a6f60bf6e7 Not presently debugging plib, and it's not *needed* anymore, so don't
link to *_d for plib.
2002-12-02 22:45:57 +00:00
Glenn Maynard 4fa74d7118 remove unused RageMatrixOrthoOffCenterLH 2002-11-15 08:15:15 +00:00
Glenn Maynard 9169da5b9d remove d3dx stuff 2002-11-15 08:07:26 +00:00
Glenn Maynard ea28757815 Use plib for some matrix ops, implement some others without
d3dx.  (Rest coming soon ...)
2002-11-13 03:54:20 +00:00
Chris Danford 73f7db6b15 Replaced most D3DX dependencies. Added Brendan's not-yet-functional networking code. 2002-10-28 05:30:45 +00:00