Sam Hocevar
aadfe70d8d
Move stubs.h to caca/caca_stubs.h since it's only used by the library.
pirms 16 gadiem
Sam Hocevar
f61816ceb7
Starting refactoring to get rid of libcucul. The initial reason for the
split is rendered moot by the plugin system: when enabled, binaries do
not link directly with libX11 or libGL. I hope this is a step towards
more consisteny and clarity.
pirms 16 gadiem
Sam Hocevar
99d7e53aee
* Remove htons() and htonl() from kernel mode: we use our custom hton16()
and hton32() implementations everywhere instead, except in cacaserver
which requires <arpa/inet.h> stuff anyway.
pirms 16 gadiem
Sam Hocevar
99b5396e8e
* Remove #include <stdint.h> etc. from "common.h". Instead, make sure that
<cucul.h> will provide the C99 types, even if libcaca has been installed.
* Rename what's left of "common.h" to "stubs.h".
* Remove all references to erroneous <inttypes.h> from source files.
pirms 16 gadiem
Sam Hocevar
afaf0a0a0c
* Fix a compilation warning by pretending to use seterrno()'s argument
even when it isn't.
pirms 18 gadiem
Sam Hocevar
51936f585c
* Got rid of HAVE_ERRNO_H ifdefs by defining seterrno()/geterrno() functions.
* More debugging information in the import/export and font functions.
pirms 18 gadiem
Sam Hocevar
18f1f68be7
* Add a debug() function and a --enable-debug configure flag.
pirms 18 gadiem
Sam Hocevar
f1e8a80b64
* Don't try to include arpa/inet.h in kernel mode.
pirms 18 gadiem
Sam Hocevar
3d376d8cad
* Don't use htonl() directly, use common.h's hton32() wrapper.
pirms 18 gadiem
Jean-Yves Lamoureux
1b821e2588
* Updated kernel 'driver', still not working, but most of the work is done
pirms 18 gadiem
Sam Hocevar
4a1507c398
* Renamed htons/htonl to hton16/hton32 to avoid useless conflicts.
pirms 18 gadiem
Sam Hocevar
0a78b2b871
* Win32 compilation fix.
pirms 18 gadiem
Sam Hocevar
d04b853800
* Look for htons/htonl in netinet/in.h in addition to arpa/inet.h
* Implement htons/htonl in common.h just in case.
pirms 18 gadiem
Sam Hocevar
5cb4d4dedf
* Removed duplicate uint*_t defines from *_internal.h and included common.h
in all .c files that needed it.
pirms 18 gadiem
Sam Hocevar
370fb06990
* Added "common.h", a placeholder for simple features and functions missing
from some systems.
pirms 18 gadiem
Sam Hocevar
5bb247acea
* autotoolificationized the whole thing.
pirms 22 gadiem
Sam Hocevar
49b8b99b8f
* moved nuke from explosions to weapons.
* used a cool Bresenham algorithm to draw the nuke circles.
* nuke collides with aliens.
pirms 22 gadiem
Sam Hocevar
cae45d672a
* First commit. Scrolling works, some weaponry, controls, tunnel blowing,
the nuke is still ugly, almost no collision detection. Nice demo :)
pirms 22 gadiem