Glenn Maynard
833903e7ef
branch optimization to reduce the cost of asserts
2005-08-24 17:42:01 +00:00
Glenn Maynard
0cedd92c67
move into archutils; only VC6 needs this
2005-08-23 19:55:23 +00:00
Glenn Maynard
93302c03aa
add CONST_FUNCTION. See: http://gcc.gnu.org/onlinedocs/gcc-3.2/gcc/Function-Attributes.html
2005-07-28 02:45:17 +00:00
Chris Danford
4de7b7c6f8
fix uninitialized variable (causing stuck life meter?)
2005-05-06 01:34:23 +00:00
Glenn Maynard
2de326fb23
ASSERT is too assertive. If it's probably possible to continue past
...
an unexpected case, it's better to warn loudly and then move on, instead
of crashing.
2005-04-29 20:15:12 +00:00
Glenn Maynard
30976b2217
align macro
2005-01-02 22:54:12 +00:00
Glenn Maynard
3b6a5e9957
strtof fallback
2004-08-10 19:12:03 +00:00
Steve Checkoway
8725267081
Remove RAGE_ASSERT and RAGE_ASSERT_M
2004-06-16 00:38:58 +00:00
Glenn Maynard
5a81e7a80e
move some vc hacks into arch_setup
2004-06-13 19:06:54 +00:00
Glenn Maynard
c6d64feefc
LITTLE_ENDIAN, BIG_ENDIAN, BYTE_ORDER
2004-06-13 07:32:44 +00:00
Glenn Maynard
82786ef70b
ENDIAN_LITTLE/ENDIAN_BIG check
2004-06-12 08:16:02 +00:00
Glenn Maynard
2759cda924
archutils/Unix/arch_setup.h
2004-06-12 07:47:19 +00:00
Glenn Maynard
7061f8109d
license update
2004-06-08 05:36:07 +00:00
Chris Danford
d706a1e214
correct comment for correct scoping rules in VC6
2004-05-03 23:58:51 +00:00
Chris Danford
258c6a263c
hack for correct scoping rules in VC6
2004-05-03 23:56:40 +00:00
Chris Danford
5484fc6abc
add alias for const CString&
2004-04-07 20:48:11 +00:00
Steve Checkoway
20a8bab45c
Clean up includes.
2004-04-05 05:22:32 +00:00
Glenn Maynard
5fc16eebea
sm_crash: take a reason
...
when failing an assertion, pass the reason to sm_crash, in case we don't make it to logging checkpoints
2004-03-26 02:55:13 +00:00
Steve Checkoway
b963effa31
Compile SM using a precompiled prefix header on OS X.
2004-03-14 08:53:09 +00:00
Glenn Maynard
142be7ea83
stop including "windows.h" everywhere
...
make sure sm_crash shows up in stack traces
2004-02-25 01:35:19 +00:00
Chris Danford
08d91fe905
call DebugBreak on fatal error in _WINDOWS
2004-01-25 01:55:32 +00:00
Steve Checkoway
7f76e630c5
rename crash() to sm_crash() to fix conflicting symbols.
2004-01-21 04:43:38 +00:00
Glenn Maynard
dddaaa7e22
hack to quiet a warning
2004-01-21 03:17:14 +00:00
Glenn Maynard
7df49d29b6
fix llabs in g++ 3.3
2004-01-20 00:09:50 +00:00
Glenn Maynard
3e2a32dac3
stdint.h for int64_t
2004-01-19 22:19:09 +00:00
Glenn Maynard
14759e47cf
RAGE_ASSERT_M -> ASSERT_M
...
RAGE_ASSERT_M( 0, "foo" ) -> FAIL_M( "foo" )
FAIL_M doesn't return, so we don't need bogus control paths to shut up warnings
2004-01-19 20:44:27 +00:00
Glenn Maynard
78e4763149
remove SLASH
2004-01-19 20:39:39 +00:00
Glenn Maynard
beee99619c
SLASH is going away
2003-12-07 04:16:48 +00:00
Glenn Maynard
a6b072c9ca
Move debugging options into a separate INI section, since I use them
...
very frequently, and they're mostly not available in the menus.
Add LogCheckpoints.
Move checkpoint code into a namespace.
2003-11-24 00:23:18 +00:00
Glenn Maynard
0eaa9aa178
Move truncf, roundf fallbacks to the right place.
...
Fix BeatToNoteRow rounding backwards for negative numbers.
2003-10-27 03:45:15 +00:00
Glenn Maynard
47c0b33520
#define PRINTF
2003-09-19 00:50:01 +00:00
Glenn Maynard
c1406277a2
Portable RAGE_ASSERT.
2003-08-05 01:49:34 +00:00
Steve Checkoway
d3eda614ea
Use arch_setup.h on Darwin
2003-07-28 09:33:51 +00:00
Chris Danford
278cb4c3f1
runs on Xbox
2003-07-22 07:47:27 +00:00
William Reading
23deb5c2c6
config.h needs to be included for automake to work properly
2003-07-05 01:07:49 +00:00
William Reading
d310d0e252
Fix darwin math problems
2003-07-04 18:03:20 +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
09967df461
Rest of s/GetString/c_str/.
...
(watch out for PlayerOptions::GetString and SongOptions::GetString)
2003-04-25 00:27:30 +00:00
Chris Danford
977ad34638
move timespacing on player options screen
2003-04-24 06:16:04 +00:00
Steve Checkoway
674f1c1704
added def of tanf if needed as determined by configure
2003-04-24 04:14:25 +00:00
Glenn Maynard
ef89561fa9
Fix compilation on everything else again. Not all archs use autoconf, and
...
we don't want to have to maintain a huge list of HAVE_ defines; instead we
want to maintain small lists of NEED_ defines.
2003-04-23 04:44:12 +00:00
Steve Checkoway
f3115189f6
added defs for other min/max overloads. Added defs for powf, sqrtf, cosf, sinf, and acosf, if needed as determined by configure.
2003-04-23 04:38:49 +00:00
Glenn Maynard
862421014e
move some Win32-specific config stuff where it belongs
...
move defines
simplify
2003-04-20 22:05:13 +00:00
Glenn Maynard
c3c090799d
Apologies for abruptly reverting things, but compilation in Windows is
...
highest priority. See my post to stepmania-devs for explanations.
2003-04-20 21:28:02 +00:00
Steve Checkoway
ace71ae2d2
Added def for powf, sinf, cosf, acosf, sqrtf, needed for darwin's incomplete libc
2003-04-20 12:51:39 +00:00
Tim Hentenaar
acd90363c9
*** empty log message ***
2003-02-19 18:35:48 +00:00
Tim Hentenaar
4abb3cdbbb
*** empty log message ***
2003-02-19 18:13:06 +00:00
Glenn Maynard
3c03bf9177
make NORETURN work in gcc
2003-02-17 19:42:02 +00:00
Glenn Maynard
673eb1add6
Changing StdAfx.* to global.*.
...
First, we have a case mismatch ("stdafx"), so we're stuck with either
a rename or a global search and replace anyway.
SF is weird about renaming files: if I try removing "StdAfx" and add
"stdafx", the CVS server will crash.
I'm renaming this to "global" for another reason: "stdafx" is a well-known
filename for Windows's special-case PCH; I don't want to confuse porters
who might ignore it. (Besides, it has nothing to do with AFX ...)
2003-02-16 03:56:52 +00:00