Commit Graph

10 Commits

Author SHA1 Message Date
Glenn Maynard c690fdcfe4 unify registration 2006-09-29 00:01:32 +00:00
Glenn Maynard f4975f1f54 simpler Lua boilerplate 2006-09-27 20:30:29 +00:00
Glenn Maynard 4be207e419 fixup 2006-09-21 04:49:55 +00:00
Glenn Maynard 2b7e2849fd simplify singleton registration 2006-09-21 04:27:45 +00:00
Steve Checkoway 80698277cf Don't use rand()%n. The function specified by the ANSI committee is a terrible linear congruential generator. In fact, it's so bad that the low order bit alternates. The algorithm implemented as RandomFloat() seems to be Park and Miller's "minimum standard" generator which is better (but not great). [See Knuth for more information.]
Any place where you would use rand()%n, use RandomInt(0, n) instead.
2006-06-26 12:14:30 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Chris Danford 37f82b43f7 remove CStringArray #define 2005-12-09 21:36:22 +00:00
Chris Danford 65d71a4f23 expermienting with DEFINE_METHOD macro for Lua methods 2005-09-10 02:47:04 +00:00
Chris Danford 3bbc0fa9ba demand character graphics as needed, not on CharacterMan's c'tor (because the display isn't yet initialized) 2005-08-16 19:57:48 +00:00
Chris Danford e50a401341 move Character stuff out of messy GAMESTATE and into CHARMAN 2005-08-14 12:06:40 +00:00