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