libm now has exp2. ok sthen@
This commit is contained in:
parent
11a1f108a7
commit
03954f0126
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2008/07/09 23:48:45 phessler Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 2008/07/25 20:44:23 martynas Exp $
|
||||
|
||||
DIST_SUBDIR ?= alephone
|
||||
COMMENT = open source game engine based on Marathon 2: Durandal
|
||||
|
||||
DISTNAME = AlephOne-20080707
|
||||
PKGNAME = alephone-0.20.1p0
|
||||
PKGNAME = alephone-0.20.1p1
|
||||
EXTRACT_SUFX = .tar.bz2
|
||||
CATEGORIES = games x11
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2008/07/09 16:56:43 phessler Exp $
|
||||
--- Makefile.in.orig Tue Jun 17 09:03:58 2008
|
||||
+++ Makefile.in Tue Jun 17 09:04:24 2008
|
||||
$OpenBSD: patch-Makefile_in,v 1.2 2008/07/25 20:44:23 martynas Exp $
|
||||
--- Makefile.in.orig Tue Jul 8 03:13:41 2008
|
||||
+++ Makefile.in Fri Jul 25 22:24:20 2008
|
||||
@@ -189,7 +189,7 @@ AUTOMAKE_OPTIONS = 1.5 foreign
|
||||
EXTRA_DIST = COPYING.SDL INSTALL.BeOS INSTALL.Unix INSTALL.Windows Makefile.BeOS \
|
||||
docs/MML.html docs/Cheat_Codes data/Fonts Resources/Windows/alephone.ico Resources/Windows/alephone.rc PBProjects/AlephOne-OSX10.4.xcodeproj/project.pbxproj PBProjects/English.lproj/InfoPlist.strings PBProjects/FilmIcon.icns PBProjects/ImagesIcon.icns PBProjects/MapIcon.icns PBProjects/MMLIcon.icns PBProjects/MusakIcon.icns PBProjects/PFIcon.icns PBProjects/PhysIcon.icns PBProjects/SaveIcon.icns PBProjects/ShapesIcon.icns PBProjects/SoundsIcon.icns PBProjects/Info-AlephOne_SDL.plist PBProjects/precompiled_headers.h PBProjects/SDLMain.h PBProjects/SDLMain.m PBProjects/AlephOne.icns Expat/xmltok/nametab.h PBProjects/config.h PBProjects/confpaths.h data/AlephSansMono-Bold.ttf data/AlephSansMonoLicense.txt
|
||||
docs/MML.html docs/Lua.html data/Fonts Resources/Windows/alephone.ico Resources/Windows/alephone.rc PBProjects/AlephOne-OSX10.4.xcodeproj/project.pbxproj PBProjects/English.lproj/InfoPlist.strings PBProjects/FilmIcon.icns PBProjects/ImagesIcon.icns PBProjects/MapIcon.icns PBProjects/MMLIcon.icns PBProjects/MusakIcon.icns PBProjects/PFIcon.icns PBProjects/PhysIcon.icns PBProjects/SaveIcon.icns PBProjects/ShapesIcon.icns PBProjects/SoundsIcon.icns PBProjects/Info-AlephOne_SDL.plist PBProjects/precompiled_headers.h PBProjects/SDLMain.h PBProjects/SDLMain.m PBProjects/AlephOne.icns Expat/xmltok/nametab.h PBProjects/config.h PBProjects/confpaths.h data/AlephSansMono-Bold.ttf data/AlephSansMonoLicense.txt docs/alephone.6 examples/lua/Cheats.lua
|
||||
|
||||
-man_MANS = docs/alephone.6
|
||||
+#man_MANS = docs/alephone.6
|
||||
|
@ -1,14 +1,13 @@
|
||||
$OpenBSD: patch-Source_Files_Misc_preferences_cpp,v 1.1.1.1 2008/07/09 16:56:43 phessler Exp $
|
||||
--- Source_Files/Misc/preferences.cpp.orig Tue Jun 17 08:32:20 2008
|
||||
+++ Source_Files/Misc/preferences.cpp Tue Jun 17 08:33:20 2008
|
||||
@@ -175,10 +175,8 @@ static bool validate_input_preferences(input_preferenc
|
||||
$OpenBSD: patch-Source_Files_Misc_preferences_cpp,v 1.2 2008/07/25 20:44:23 martynas Exp $
|
||||
--- Source_Files/Misc/preferences.cpp.orig Wed Jun 11 04:08:43 2008
|
||||
+++ Source_Files/Misc/preferences.cpp Fri Jul 25 22:27:42 2008
|
||||
@@ -175,8 +175,8 @@ static bool validate_input_preferences(input_preferenc
|
||||
static void default_environment_preferences(environment_preferences_data *preferences);
|
||||
static bool validate_environment_preferences(environment_preferences_data *preferences);
|
||||
|
||||
-#if 0
|
||||
static inline float log2(int x) { return std::log((float) x) / std::log(2.0); };
|
||||
+#if 0
|
||||
static inline float exp2(int x) { return std::exp((float) x + std::log(2.0)); };
|
||||
-#endif
|
||||
#endif
|
||||
|
||||
// Prototypes
|
||||
static void player_dialog(void *arg);
|
||||
|
Loading…
Reference in New Issue
Block a user