Changeset 8
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r6 r8 4 4 * Compact build options printout using define symbols. 5 5 * Some TODO cleanup. (Moving to Trac tickets now.) 6 * Fixed PAN control in KOBO_sound::g_music(). It was sent 7 to the wrong group. 6 8 7 9 Kobo Deluxe v0.5.1.1 … … 29 31 * Updated the COPYING (GPL license) file. 30 32 * Updated all GPL/LGPL license headers. 31 * Added missing "on e time only" macro logic to some headers.33 * Added missing "once only" macro logic to some headers. 32 34 * a_globals.[ch] changed from GPL to LGPLv2.1. 33 35 * Removed unused file ptable.h. -
trunk/TODO
r6 r8 1 ***************************************************************** 2 * NOTE! * 3 * This TODO is outdated and no longer updated! * 4 * Check out the new issue tracking system over at * 5 * http://beijingcode.org/projects/kobo * 6 ***************************************************************** 7 1 8 Pending updates and reports: 2 9 * Apply joystick selection patch -
trunk/enemy.cpp
r5 r8 30 30 /////////////////////////////////////////////////////////////////////////////// 31 31 // Fast integer atan() approximation. Input is 24:8 fixed point. 32 // Output is 0..64 for 0..45 deg, accurate accuratedown to LSB.32 // Output is 0..64 for 0..45 deg, accurate down to LSB. 33 33 // In: q = 256 * minv / maxv (0..256 <==> 0..1) 34 34 // Out: atan(q / 256) * 256 (0..64 <==> 0..45 deg) 35 35 /////////////////////////////////////////////////////////////////////////////// 36 // atan() approximations for 0..9 deg: 37 // a = 83 * q / 256 - q*q / 2844 (+/- 2.1%) 38 // a = 82 * q / 256 - k*k / 8500 - x*x*x / 1600000 (+/- 0.6%) 36 // atan() approximations for 0..90 deg: 37 // a = 83 * q / 256 - q*q / 2844 (+/- 2.1%) 38 // a = 82 * q / 256 - q*q / 8500 - q*q*q / 1600000 (+/- 0.6%) 39 // 40 // FIXME: Better version? 41 // a = 84 * q / 256 - 95 * q*q / 524288 - 8 * q*q*q / 16777216 39 42 /////////////////////////////////////////////////////////////////////////////// 40 43 static inline int fastatan(int q) -
trunk/kobo.cpp
r6 r8 2189 2189 #endif 2190 2190 "\n" 2191 #if 02192 "Build options:\n"2193 #ifdef HAVE_DEBUG2194 " DEBUG\n"2195 #endif2196 #ifdef HAVE_OPENGL2197 " OpenGL\n"2198 #endif2199 #ifdef PROFILE_AUDIO2200 " Audio engine profiling\n"2201 #endif2202 #ifdef HAVE_OSS2203 " OSS audio support\n"2204 #endif2205 #ifdef HAVE_ALSA2206 " ALSA audio support\n"2207 #endif2208 #ifdef USE_MIDI2209 " MIDI input support\n"2210 #endif2211 #ifdef ENABLE_TOUCHSCREEN2212 " Touchscreen support\n"2213 #endif2214 #endif2215 2191 "Copyright (c) 1995, 1996 Akira Higuchi\n" 2216 2192 "Copyright (C) 1997 Masanao Izumo\n" -
trunk/sound.cpp
r5 r8 328 328 { 329 329 audio_channel_control(SOUND_GROUP_BGMUSIC, AVT_FUTURE, ACC_PATCH, wid); 330 audio_channel_control(SOUND_GROUP_ UI, AVT_FUTURE, ACC_PAN, 0);330 audio_channel_control(SOUND_GROUP_BGMUSIC, AVT_FUTURE, ACC_PAN, 0); 331 331 audio_channel_play(SOUND_GROUP_BGMUSIC, 0, 60<<16, 65536); 332 332 }
