Steve Checkoway
44a7d9cefa
Compare against the correct value. Does VC not warn about this? Gcc warned me that I was comparing two different enums.
2004-08-29 11:05:16 +00:00
Steve Checkoway
cf099800c9
Fix warning
2004-08-29 11:04:13 +00:00
Steve Checkoway
da0553609a
Is the right thing to do here, or should it be rounded?
2004-08-29 10:00:27 +00:00
Steve Checkoway
9f2925ab6f
Throw a RageException rather than a CString
2004-08-29 00:28:28 +00:00
Steve Checkoway
69bcc3d985
Cleanup ugly mess of casts but did not break this time...
2004-08-28 18:45:44 +00:00
Steve Checkoway
6a25c126ab
Move these files out of the SDL tree since OS X does not use anything else in that tree.
2004-08-28 11:41:05 +00:00
Steve Checkoway
f9fe438f2f
Add files.
2004-08-28 11:33:07 +00:00
Steve Checkoway
d9e00567e9
const fix. Good OOP almost always demands private instance variables
2004-08-28 11:31:16 +00:00
Steve Checkoway
cf58bf3ef8
Fix warnings
2004-08-28 11:21:26 +00:00
Steve Checkoway
7570cb9eb1
Hack in support for G5s. This needs to be totally redone in another way...at some point in the future. Right now, it is not really an issue.
2004-08-28 03:18:39 +00:00
Steve Checkoway
58a52a69fd
Update
2004-08-26 21:54:35 +00:00
Steve Checkoway
98f3d90c59
Fix warnings.
2004-08-26 21:51:30 +00:00
Steve Checkoway
a2fb826774
Writing to stdin just doesn't seem right. Also, why not just FILE *tty = fopen(/dev/stderr, w); if you worried about it having been closed by the crashed parent?
2004-08-26 21:30:59 +00:00
Steve Checkoway
ba036ba015
Add missing ffmpeg header
2004-08-24 00:44:17 +00:00
Steve Checkoway
1ce9d77242
Fix 14 or so warnings keeping c-style casts.
2004-08-22 23:02:15 +00:00
Steve Checkoway
60983ee8cc
Fix warning.
2004-08-22 22:57:29 +00:00
Steve Checkoway
a9d0169058
Don't show/hide the cursor unless the video mode change was successful.
2004-08-21 06:27:31 +00:00
Steve Checkoway
73420d5aa1
Remove files, add -falign-loops=32
2004-08-19 06:26:42 +00:00
Steve Checkoway
505b357616
Cleanup.
2004-08-19 02:58:38 +00:00
Steve Checkoway
f30232cb0f
Don't do this if not running SM server.
2004-08-19 02:47:08 +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
Steve Checkoway
31e646cd30
Fix indentation.
2004-08-14 05:59:26 +00:00
Steve Checkoway
9946dcd335
Cleanup, fix style, const fix.
2004-08-14 05:57:11 +00:00
Steve Checkoway
f7c9a5191d
Fix warning, cleanup a little.
2004-08-14 05:29:03 +00:00
Steve Checkoway
28a25d19d0
OS 10.2.x does not have the floating point math functions. 10.3 does, this needs to be modified for compiling on 10.3.
2004-08-12 07:54:39 +00:00
Steve Checkoway
e88a5994c1
cleanup
2004-08-11 21:52:29 +00:00
Steve Checkoway
4b09d31db6
Too few arguments for format.
2004-08-09 05:53:10 +00:00
Steve Checkoway
0bf0eb3455
Fix warning.
2004-08-09 05:44:19 +00:00
Steve Checkoway
c92d595bc4
Show/hide the cursor after setting the video mode.
2004-08-07 00:59:01 +00:00
Steve Checkoway
19004f4b36
update to ffmpeg-0.4.9-pre1
2004-08-07 00:43:34 +00:00
Steve Checkoway
f44de38a39
update
2004-08-07 00:39:47 +00:00
Steve Checkoway
eb2019ec8b
Update to 10.2.8 SDK. (Install Xcode 1.5--out today--to fix the SDK header issue.)
2004-08-06 05:44:54 +00:00
Steve Checkoway
c192e80ea2
a22
2004-08-06 05:43:55 +00:00
Steve Checkoway
1f37478b69
Cleanup a bit. Fix a bug. Attempt to get it to return accurate timings by converting samples to the clock's timebase (appears to be microseconds) rather than converting time to samples. No real luck though.
2004-08-06 05:42:58 +00:00
Steve Checkoway
d112119fd1
Fix warnings.
2004-08-06 04:35:48 +00:00
Steve Checkoway
af41ce2d96
stats.html -> Stats.xml
2004-08-01 00:46:44 +00:00
Steve Checkoway
6349be7f22
Fix warnings.
2004-07-27 04:51:44 +00:00
Steve Checkoway
0944da00ab
update, why do we have Game.* and GameDef.*?
2004-07-26 23:24:33 +00:00
Steve Checkoway
e607ef7fe3
fix build on other computers
2004-07-26 22:41:30 +00:00
Steve Checkoway
66ff11aa2c
Fix warnings.
2004-07-24 08:03:02 +00:00
Steve Checkoway
35ae6a5a68
Fix warnings about being declared extern yet initialized on the same line.
2004-07-23 07:49:20 +00:00
Steve Checkoway
b1af78b878
Use pre-increment on stl iterators. Post-increment first creates a copy.
2004-07-23 01:32:30 +00:00
Steve Checkoway
f85c5d7375
Fix memory leak. Now I'm down to 11 leaks for 384 total leaked bytes. It looks like some of those are coming from SDL. Still, I can live with 384 bytes.
2004-07-21 06:18:01 +00:00
Steve Checkoway
26d8a0b860
Fix memory leak.
...
Before:
51057 leaks for 850704 total leaked bytes.
After:
21258 leaks for 359284 total leaked bytes.
Both of these were taken right after the songs finish loading and the first screen is shown.
2004-07-21 06:13:57 +00:00
Steve Checkoway
f47c31626b
Be quiet!
2004-07-21 03:21:55 +00:00
Steve Checkoway
f67d2a7daa
Add files
2004-07-18 02:23:12 +00:00
Steve Checkoway
2df7c8bfff
Update.
2004-07-16 09:32:47 +00:00
Steve Checkoway
3a2b45fc0a
No longer needed.
2004-07-16 09:26:47 +00:00
Steve Checkoway
f33e9db593
Simplify
2004-07-16 09:25:43 +00:00
Steve Checkoway
f4802875f6
Style cleanup.
2004-07-16 08:11:13 +00:00
Steve Checkoway
33374405a5
update
2004-07-12 08:02:10 +00:00
Steve Checkoway
904cc166cf
update
2004-07-09 00:51:20 +00:00
Steve Checkoway
e1163df683
Fix off by one crash. I meant to commit this days ago.
2004-07-09 00:49:26 +00:00
Steve Checkoway
3ef81e2510
Fix memory leak. (Is there a reason to make those pointers rather than just use &?). connect(2) returns 0 on success. select(2) returns the number of descriptors that can be read/written/have OOB data (which is about all that error field is used for). It returns -1 on error. Also, a little style cleanup to make it fit with the rest of SM.
2004-07-04 21:30:49 +00:00
Steve Checkoway
57fcd732fd
Remove unneeded headers.
2004-07-04 01:54:15 +00:00
Steve Checkoway
0066f3e1d4
Cleanup garbage. I don't remember why this was required at one point but it no longer is.
2004-07-04 01:50:09 +00:00
Steve Checkoway
e275a793da
Remove unused header. Quiet warnings.
2004-07-04 01:47:54 +00:00
Steve Checkoway
25288800a5
Remove unused headers.
2004-07-04 01:38:59 +00:00
Steve Checkoway
41d54e6c4b
Fix warnings.
2004-07-04 01:33:05 +00:00
Steve Checkoway
d674f57968
Fix Canonical conversion.
2004-07-02 08:26:02 +00:00
Steve Checkoway
4b52a182e1
== not =, shouldn't gcc warn about that without extra ()? Also, my conversion codes doesn't quite work as I had expected, force format to Other for now.
2004-07-02 07:16:36 +00:00
Steve Checkoway
72b4599cd3
Remove CHECKPOINT, a disproportionate amount of time is spent in there.
2004-07-02 07:10:39 +00:00
Steve Checkoway
99688d485d
Fix HEADER_SEARCH_PATHS and also some absolute references
2004-06-30 08:57:40 +00:00
Steve Checkoway
7a2d15e034
Make the header public, i.e. include it with the framework
2004-06-30 08:51:23 +00:00
Steve Checkoway
5fc8300116
add extension
2004-06-30 08:36:16 +00:00
Steve Checkoway
c244fe8f46
update
2004-06-30 00:23:43 +00:00
Steve Checkoway
afd89f7fef
Fix warnings.
2004-06-28 05:06:27 +00:00
Steve Checkoway
be30fd0236
Cleanup
2004-06-25 23:00:01 +00:00
Steve Checkoway
8b98d83a50
Attempt to make the callback faster when the proc format is either exactly what SM wants (unlikely from what I've read) or the canonical format (according to apple).
2004-06-24 22:04:55 +00:00
Steve Checkoway
69ab1f3007
project update.
2004-06-24 07:30:38 +00:00
Steve Checkoway
f5ec5019d6
simplify
2004-06-19 06:46:13 +00:00
Steve Checkoway
4814159fcf
fix left/right switched.
2004-06-19 05:12:12 +00:00
Steve Checkoway
63a046d369
Fix warning.
2004-06-16 23:02:11 +00:00
Steve Checkoway
8725267081
Remove RAGE_ASSERT and RAGE_ASSERT_M
2004-06-16 00:38:58 +00:00
Steve Checkoway
a613d4d9fa
s/RAGE_ASSERT/ASSERT/
2004-06-16 00:38:31 +00:00
Steve Checkoway
69748ccf75
Add files
2004-06-15 06:55:29 +00:00
Steve Checkoway
2cee3eddc1
unused headers
2004-06-14 12:44:04 +00:00
Steve Checkoway
1f1a120d9e
Header cleanup
2004-06-14 12:41:02 +00:00
Steve Checkoway
7450f75bbf
Thank you Apple for renaming standard header files. I really appreciate it, a lot.
2004-06-14 11:14:16 +00:00
Steve Checkoway
10c69f957d
Define CRASH_HANDLER.
2004-06-14 11:02:12 +00:00
Steve Checkoway
206054a134
Darwin uses unix CrashHandler.
2004-06-14 11:01:10 +00:00
Steve Checkoway
0970b4714a
Fix compile without CRASH_HANDLER.
2004-06-14 10:57:21 +00:00
Steve Checkoway
42392d484e
add files
2004-06-14 01:23:09 +00:00
Steve Checkoway
ec57fec75d
Define ArchSwapx(n) to OSSwapIntx(n). For constants, OSSwapIntx uses the preprocessor, For non-constants, it uses inline assembly. Add some typedefs and #defines to work around namespace pollution.
2004-06-12 09:37:59 +00:00
Steve Checkoway
e83ddf44bd
Remove Apple defined types.
2004-06-12 09:33:50 +00:00
Steve Checkoway
37235e6287
Define ArchSwapx(n) to OSSwapIntx(n). For constants, OSSwapIntx uses the preprocessor, For non-constants, it uses inline assembly.
2004-06-12 08:48:45 +00:00
Steve Checkoway
649851036a
Fix compile.
2004-06-12 08:27:46 +00:00
Steve Checkoway
59d82961b9
Fix compile.
2004-06-11 07:39:53 +00:00
Steve Checkoway
ae65e34dbd
Fix compile
2004-06-11 05:31:35 +00:00
Steve Checkoway
11b49a898e
update
2004-06-08 09:14:52 +00:00
Steve Checkoway
5886ca8761
update installer script
2004-06-08 09:14:25 +00:00
Steve Checkoway
3e1efaa68d
update installer: remove unused stuff, allow files (and directories but untested) to be installed with different names)
2004-06-08 09:13:57 +00:00
Steve Checkoway
b8db184198
a21
2004-06-08 07:05:13 +00:00
Steve Checkoway
4f5fc8b27d
Fix warning. (Is g++ even smart enough to know that int(-1) == unsigned(-1) is true?)
2004-06-07 03:23:36 +00:00
Steve Checkoway
f2a30de96d
Yet another hack.
2004-06-06 21:39:43 +00:00
Steve Checkoway
d7e4964cf6
fix warning
2004-06-06 20:27:52 +00:00
Steve Checkoway
70be8084c2
update
2004-06-04 08:47:48 +00:00
Steve Checkoway
6ca8fbd3c2
Remove ASSERT.
2004-05-31 22:34:20 +00:00
Steve Checkoway
be7f0fdba5
er, the assert is here
2004-05-31 22:11:45 +00:00
Steve Checkoway
f50d78d94a
Use a reference and add an assert to track a bug
2004-05-31 22:03:01 +00:00