Steve Checkoway
cc2d1aabb7
If building on Darwin only include $(Sound_Null). Otherwise everything is the same.
2003-04-26 01:11:54 +00:00
Steve Checkoway
3d14c8501d
Check for Darwin, if found, define DARWIN 1. This is to still compile SDL (with -DLINUX) but to not to compile the ALSA9 stuff.
2003-04-26 01:10:42 +00:00
Steve Checkoway
0d37ae065d
added some min/max overloads
2003-04-26 00:58:01 +00:00
Chris Danford
b72804294a
working on Mesh support
...
- loads only Milkshape ASCII
- doesn't yet load textures or render with materials
2003-04-25 21:05:40 +00:00
Glenn Maynard
ecebd53c34
reduce some memory allocs in the sound thread
2003-04-25 19:52:54 +00:00
Glenn Maynard
60921db8e5
Stop using basic_string for Sint32. We only use it in one place and it's
...
a bit of a performance hit there ...
2003-04-25 19:40:49 +00:00
Glenn Maynard
c6115c79b9
remove trace
2003-04-25 08:27:58 +00:00
Glenn Maynard
83d7453553
remove another GLU call
2003-04-25 08:17:27 +00:00
Glenn Maynard
7f8a351966
remove a GLU call
2003-04-25 06:58:19 +00:00
Glenn Maynard
ebe1b5c0c4
remove some globally-defined CStrings
2003-04-25 05:45:53 +00:00
Glenn Maynard
f45baa9fe6
Always use SDL_INIT_NOPARACHUTE.
2003-04-25 05:43:48 +00:00
Glenn Maynard
40cd459a2f
eof nl
2003-04-25 05:39:53 +00:00
Glenn Maynard
efd24b3e8c
Er. Clear the texture cache before loading the new screen.
2003-04-25 04:16:34 +00:00
Glenn Maynard
3612106dd4
Oops, forgot to commit subdirs ...
...
This also includes code to use varying sample rates with DirectSound,
so we don't have to do sample rate conversions. Experimental.
2003-04-25 04:10:18 +00:00
Glenn Maynard
26fb06b8a3
Oops, forgot to commit subdirs ...
2003-04-25 04:09:29 +00:00
Glenn Maynard
becca6997e
temporarily turn this on by default
2003-04-25 03:42:14 +00:00
Glenn Maynard
c382823488
Add an option to delay screen loads until after we've deleted the
...
old screen. This means that we may unload resources when we'll
need them immediately, but lowers the memory usage peak considerably
for very low-memory machines.
2003-04-25 03:41:38 +00:00
Glenn Maynard
ba1d45dbe2
GetString is gone, use c_str().
2003-04-25 00:27:59 +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
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
8b8b0bd66a
handle driver-specified sample rates
2003-04-24 23:51:05 +00:00
Glenn Maynard
e009925ca3
output texture info
2003-04-24 19:51:27 +00:00
Glenn Maynard
60de1a24a1
typo
2003-04-24 19:47:39 +00:00
Glenn Maynard
877b3e771c
don't GC constantly
2003-04-24 19:42:06 +00:00
Glenn Maynard
118f089a86
Clear textures after deleting a screen, not before making a new one;
...
after all, that's when new textures are going to be ready to be deleted.
2003-04-24 19:26:06 +00:00
Glenn Maynard
b6069bef29
remove old comments
2003-04-24 19:05:11 +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
Steve Checkoway
7f66579123
added check for tanf
2003-04-24 04:13:41 +00:00
Glenn Maynard
d9fc6ef12f
don't init unneeded SDL subsystem
2003-04-24 03:37:18 +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
011ec09971
eof eol
2003-04-24 00:42:21 +00:00
Glenn Maynard
626a14b473
write before commit ...
2003-04-23 22:49:18 +00:00
Glenn Maynard
ab31004a14
add a signal handler
2003-04-23 22:48:36 +00:00
Glenn Maynard
9d02bd5a5e
comment
2003-04-23 19:50:12 +00:00
Glenn Maynard
8d0ee06efa
fix dependency
2003-04-23 19:49:51 +00:00
Glenn Maynard
aad7ce38cf
use the sample rate
2003-04-23 19:49:23 +00:00
Glenn Maynard
edd42410c2
missing header
2003-04-23 19:38:30 +00:00
Glenn Maynard
c194f42a3f
add GetDriverSampleRate
2003-04-23 19:31:32 +00:00
Glenn Maynard
a1a17d6e64
add GetSampleRate
2003-04-23 19:30:41 +00:00
Glenn Maynard
d26df0c44c
Er. Had this here for a long time and it's what snapshots have been.
...
This seems to keep going back and forth ...
2003-04-23 19:30:12 +00:00
Glenn Maynard
45d0a74db1
remove channel handling from RSResampler
2003-04-23 19:18:38 +00:00
Glenn Maynard
3b0e929f82
(c) me
2003-04-23 19:12:57 +00:00
Glenn Maynard
111eeef550
use RageSoundReader_Resample
...
(almost not tied to 44100 ...)
2003-04-23 19:11:59 +00:00
Glenn Maynard
8d66bb367c
init
2003-04-23 19:10:22 +00:00
Glenn Maynard
631c00928d
add RageSoundReader_Resample
2003-04-23 19:10:01 +00:00
Glenn Maynard
a5e6cd2787
Simplify.
...
Remove preloading; it's not useful.
2003-04-23 18:33:59 +00:00
Glenn Maynard
30aa2a6822
Simplify: move vars out of a struct that's no longer used
2003-04-23 18:22:16 +00:00
Glenn Maynard
a9935263ef
add assert
2003-04-23 07:29:03 +00:00
Glenn Maynard
a211825a86
simplify
2003-04-23 07:28:24 +00:00