Hmm? source code for which one? well for maemo i know that just google sdlquake and you get the website it should be there if anyone manages to port a better quake engine for the n900 i might plan to make a small mod...
The ready 2 run binary is linked to maemo.org downloads as well.
You can view either the source diff or grab the whole source build. I did not work well with autobuilder i just hacked the makefiles, so you should only do a make if you grab the rev 38 tar.gz. The makefile includes cpu optimization flags designed for older devices (810/800) so you may need to alter them if 900 has different cpu arch flags. No opengl es support in sdlquake.
Nice...now all we need is a better quake engine on the n900 so that we can run nice mods! but well so far darkplaces is the best engine i saw because it supports alot of things...
well the quake engine right now on the n900 is not much...fun because you can't use esc or ~ key all i know is that darkplaces support loads of things right now
I'm trying to compile this for N900 - with limited success.
It segfaults upon starting new game if there's as much as -O1 in CFLAGS.
-O0 works fine, but overall performance is utter crap.
With -O1/-O2 it runs nicely until I try to start new game...
GDB says the execution chokes on some fread():
0x4018788c <fread+44>: ldr r3, [r3]
There are three places where it could happen:
- one in cl_demo.c, in a function which handles recording and playback of demos -- the default demos play fine though, so that's not it
- two other in sys_sdl.c, in functions which handle basic file read/write duties.
Could anyone give it a look? My C skills are rather hopeless and the functions look innocuous enough to my ignorant eyes -- but maybe it's caused by something entirely different...
And all I really wanted to do is to uncomment some stuff in vid_sdl.c to make mouse behave properly...