Sam Hocevar
aadfe70d8d
Move stubs.h to caca/caca_stubs.h since it's only used by the library.
hace 16 años
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.
hace 16 años
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.
hace 16 años
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.
hace 16 años
Sam Hocevar
afaf0a0a0c
* Fix a compilation warning by pretending to use seterrno()'s argument
even when it isn't.
hace 18 años
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.
hace 18 años
Sam Hocevar
18f1f68be7
* Add a debug() function and a --enable-debug configure flag.
hace 18 años
Sam Hocevar
f1e8a80b64
* Don't try to include arpa/inet.h in kernel mode.
hace 18 años
Sam Hocevar
3d376d8cad
* Don't use htonl() directly, use common.h's hton32() wrapper.
hace 18 años
Jean-Yves Lamoureux
1b821e2588
* Updated kernel 'driver', still not working, but most of the work is done
hace 18 años
Sam Hocevar
4a1507c398
* Renamed htons/htonl to hton16/hton32 to avoid useless conflicts.
hace 18 años
Sam Hocevar
0a78b2b871
* Win32 compilation fix.
hace 18 años
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.
hace 18 años
Sam Hocevar
5cb4d4dedf
* Removed duplicate uint*_t defines from *_internal.h and included common.h
in all .c files that needed it.
hace 18 años
Sam Hocevar
370fb06990
* Added "common.h", a placeholder for simple features and functions missing
from some systems.
hace 18 años
Sam Hocevar
5bb247acea
* autotoolificationized the whole thing.
hace 22 años
Sam Hocevar
49b8b99b8f
* moved nuke from explosions to weapons.
* used a cool Bresenham algorithm to draw the nuke circles.
* nuke collides with aliens.
hace 22 años
Sam Hocevar
cae45d672a
* First commit. Scrolling works, some weaponry, controls, tunnel blowing,
the nuke is still ugly, almost no collision detection. Nice demo :)
hace 22 años