sobomax / digger Goto Github PK
View Code? Open in Web Editor NEWClassical game of Digger, digitally remastered and enhanced
Classical game of Digger, digitally remastered and enhanced
Building on Mageia 6 with GCC 5.3.1 I get many warnings about the CALL_METHOD
macro:
[ 4%] Building C object CMakeFiles/digger.dir/main.c.o
In file included from /home/akien/Mageia/Checkout/digger/digger/main.c:10:0:
/home/akien/Mageia/Checkout/digger/digger/digger_types.h:40:38: warning: ISO C does not permit named variadic macros [-Wvariadic-macros]
#define CALL_METHOD(obj, method, args...) (obj)->method(obj, ## args)
^
/home/akien/Mageia/Checkout/digger/digger/main.c: In function 'mainprog':
/home/akien/Mageia/Checkout/digger/digger/main.c:372:35: warning: ISO C99 requires at least one argument for the "..." in a variadic macro
CALL_METHOD(nobbin, dtor);
^
/home/akien/Mageia/Checkout/digger/digger/main.c:375:32: warning: ISO C99 requires at least one argument for the "..." in a variadic macro
CALL_METHOD(nobbin, put);
^
/home/akien/Mageia/Checkout/digger/digger/main.c:386:36: warning: ISO C99 requires at least one argument for the "..." in a variadic macro
CALL_METHOD(nobbin, animate);
^
and so on and so forth for each call of CALL_METHOD
.
Hi,
I'm trying to build the master branch on Mageia 6 with GCC 5.3.1 and SDL 1.2.15, but I get this error:
[ 45%] Building C object CMakeFiles/digger.dir/input.c.o
In file included from /home/akien/Mageia/Checkout/digger/digger/input.c:11:0:
/home/akien/Mageia/Checkout/digger/digger/input.c: In function 'checkkeyb':
/home/akien/Mageia/Checkout/digger/digger/sdl_kbd.h:39:17: error: 'SDL_SCANCODE_F8' undeclared (first use in this function)
#define ASCIIF8 SDL_SCANCODE_F8
^
I look to make upgrade from digger-20020314 to your Code on
https://github.com/sobomax/digger
But not find in Source which is Version?
Is Version 1.0 or?
I find only in digger.rc
VALUE "ProductVersion", "1.0"
Could you please add digextra.zip to Source from
http://www.digger.org/digextra.zip
to extras directory?
I see in extras.txt
This file may be distributed under the terms of the GPL.
And make normal Program for digleved.exe (Level Editor) and getscore.exe (retrieve the Digger high score table) to not must use users DosBox.
I try to compile in raspberry pi 400 (latest Raspberry Pi OS) with make command and I get this error:
cc -pipe -O0 -g3 -DDIGGER_DEBUG -o digger main.o digger.o drawing.o sprite.o scores.o record.o sound.o newsnd.o ini.o input.o monster.o bags.o alpha.o vgagrafx.o title_gz.o icon.o sdl_kbd.o sdl_vid.o sdl_timer.o sdl_snd.o digger_math.o monster_obj.o digger_obj.o bullet_obj.o cgagrafx.o keyboard.o soundgen.o spinlock.o game.o fbsd_sup.o -lSDL2 -lz -lm -lX11
/usr/bin/ld: spinlock.o: en la función `spinlock_ctor':
/opt/linuxgames/digger/spinlock.c:53: referencia a `__atomic_store_8' sin definir
/usr/bin/ld: spinlock.o: en la función `spinlock_lock':
/opt/linuxgames/digger/spinlock.c:74: referencia a `__atomic_fetch_add_8' sin definir
collect2: error: ld returned 1 exit status
make: *** [GNUmakefile:98: digger] Error 1
I compile successfully in a PC with Debian 12.
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.