Commit Graph
3189 Commits
Author SHA1 Message Date
Steve Checkoway 33f016838d include -DLINUX in CXXFLAGS if not compiling for Darwin 2003-04-28 01:40:23 +00:00
Glenn Maynard 241284161c don't pass non-POD objects to va_start 2003-04-27 21:55:31 +00:00
Chris Danford 8e96af518a working on model lighthing/texture mapping 2003-04-27 05:14:27 +00:00
Steve Checkoway d1db01ecfe chmod a+x the two configure scripts in SDL-1.2.5 and SDL_sound-1.0.0. 2003-04-27 03:48:35 +00:00
Steve Checkoway f7a139c2fe Fixed broken VPATH builds. I broke it with the last version of Makefile.am 2003-04-27 02:44:30 +00:00
Steve Checkoway 1993dccc2b Added some frameworks to the linker flags if compiling on OS X. 2003-04-27 02:41:27 +00:00
Steve Checkoway f524a930cb changed the selected group from string to CString to fix compilation error regarding different operands to ?: 2003-04-26 21:38:28 +00:00
Glenn Maynard 5997e92064 whitespace 2003-04-26 21:07:43 +00:00
Glenn Maynard 42e25bf730 I think Darwin shouldn't define LINUX.
Add framework for the OSS driver (not yet used).
2003-04-26 21:05:41 +00:00
Glenn Maynard 450ade0e95 Add a simple OSS driver. Needs testing. Currently asks for 48000Hz,
but we need a way to ask the sound system what the "preferred" sample
rate is.
2003-04-26 20:59:02 +00:00
Chris Danford c8b325d17f messing with dithering again. I won't waste any more time on it! 2003-04-26 10:57:40 +00:00
Kevin Slaughter 93840f07b7 Accidently left one part uncommented. This part of ScreenSelectDifficultyEX is not ready. recommented. SORRY! :) 2003-04-26 07:04:13 +00:00
Kevin Slaughter bef2a53f35 Fixed small bug that caused difficulty icons to show up incorrectly after the last commit.. ex: lgt, showed as oni/heavy showed as rave, etc.. 2003-04-26 07:03:19 +00:00
Kevin Slaughter 17f2ab4033 Oi.. So it -had- to want 5 or 10 frames, not 7. Geez! Added blank frames to compensate 2003-04-26 06:56:58 +00:00
Kevin Slaughter 3bcb5b96b0 Changed old `difficulty icons 1x5' to match new 1x7 2003-04-26 06:48:17 +00:00
Glenn Maynard c2302b3776 fix crash 2003-04-26 06:06:24 +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
Steve Checkoway fbb6cb0e98 If Darwin don't compile ALSA9 drivers 2003-04-26 01:15:45 +00:00
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