jonathanopalise / ppengine Goto Github PK
View Code? Open in Web Editor NEW3D remake of Atari's Pole Position coin-op, using game logic reverse engineered from the arcade ROMs
3D remake of Atari's Pole Position coin-op, using game logic reverse engineered from the arcade ROMs
I hope that fix them! I'm very excited to play it!
Debian Stretch
ragnarok@ragnarok:~$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 6.3.0-18+deb9u1' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)
ragnarok@ragnarok:~/src/ragnarok/ppengine$ GORILLA_AUDIO_PATH=gorila make
g++ -O3 -std=c++98 -g -Wall -Wno-narrowing -I src -I gorila/include -I /home/jonathan/f1-hotshot/src/ppengine -c src/track_geometry/track_geometry.c -o src/track_geometry/track_geometry.o
src/track_geometry/track_geometry.c: In function ‘double track_geometry_get_object_natural_rotation_radians(uint32_t)’:
src/track_geometry/track_geometry.c:66:50: error: call of overloaded ‘abs(double)’ is ambiguous
if (abs(next_segment_angle-current_segment_angle)>(M_PI)) {
^
In file included from /usr/include/c++/6/cstdlib:75:0,
from /usr/include/c++/6/stdlib.h:36,
from src/track_geometry/track_geometry.c:6:
/usr/include/stdlib.h:735:12: note: candidate: int abs(int)
extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
^~~
In file included from /usr/include/c++/6/stdlib.h:36:0,
from src/track_geometry/track_geometry.c:6:
/usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
abs(long long __x) { return __builtin_llabs (__x); }
^~~
/usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
abs(long __i) { return __builtin_labs(__i); }
^~~
Makefile:53: fallo en las instrucciones para el objetivo 'src/track_geometry/track_geometry.o'
make: *** [src/track_geometry/track_geometry.o] Error 1
Environment: ubuntu 18.04 under virtualbox
I was able to build it and run it, but I'm getting glitches:
also I had to change a few things to get it to build:
diff --git a/src/audio/audio.c b/src/audio/audio.c
index addb34d..d431bcc 100644
--- a/src/audio/audio.c
+++ b/src/audio/audio.c
@@ -1,7 +1,7 @@
#include "audio/audio.h"
#include "audio/gorilla/audio.h"
#include "stdio.h"
-#include "engine.h"
+#include "ppengine/engine.h"
#include <stdlib.h>
#define ENGINE_SOUND_COUNT 8
diff --git a/src/client.c b/src/client.c
index 93da977..b14bbc4 100644
--- a/src/client.c
+++ b/src/client.c
@@ -1,13 +1,13 @@
#include <stdio.h>
#include "client.h"
extern "C" {
-#include "engine.h"
+#include "ppengine/engine.h"
}
#include "scene/scene.h"
#include "input/input.h"
#include "track_geometry/track_geometry.h"
#include "audio/audio.h"
-#include "sub/data/track_curve_data.h"
+#include "ppengine/sub/data/track_curve_data.h"
int main(void) {
engine_initialise();
diff --git a/src/scene/scene.h b/src/scene/scene.h
index 5b58cdd..daef728 100644
--- a/src/scene/scene.h
+++ b/src/scene/scene.h
@@ -4,7 +4,7 @@
#include <inttypes.h>
#include "scene/moving_object_model_type.h"
#include "scene/gantry_appearance_type.h"
-#include "engine.h"
+#include "ppengine/engine.h"
void scene_open(struct sceneryobject *scenery_objects);
void scene_close();
Good day. What is the license for this project? It doesn't seem to be provided anywhere in the repo.
In file included from src/scene/scene.c:3:0:
src/scene/osg/scene.h:6:10: fatal error: osgGA/GUIEventHandler: No such file or directory
#include <osgGA/GUIEventHandler>
Thank you in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.