Sam Hocevar
6b199b4951
Fix a compilation warning in conio-snake.cpp.
15 years ago
Sam Hocevar
68ed0f951c
More warning fixes in conio.c.
15 years ago
Sam Hocevar
54f96e88a9
Fix various cosmetic errors (Jylam: tiens un highlight gratuit dans ta gueule pour les trailing spaces !)
15 years ago
Jean-Yves Lamoureux
9b60c942b4
* Added mouse events example
15 years ago
Sam Hocevar
bf3d41309c
Update source checking test and remove CRLF crap from makefiles.
15 years ago
Jean-Yves Lamoureux
0b2675c74d
* Removed trailing spaces (fsking GNU Ident) (GNU, COINCIDENCE ? I THINK NOT!) and lonely tab
15 years ago
Sam Hocevar
e304d5a314
Add a sanity check for coding style errors.
15 years ago
Jean-Yves Lamoureux
2b3fce124b
* Indentation fixes
15 years ago
Jean-Yves Lamoureux
c54a1ff131
* Fix examples/trifiller's color boundaries
15 years ago
Jean-Yves Lamoureux
2adebb531b
* Make caca_fill_triangle_textured use less arguments, examples/trifiller modified accordingly
15 years ago
Pascal Terjan
cb5107b070
* Fix build of trifiller with imlib2
15 years ago
Jean-Yves Lamoureux
4156afb43e
* Add -lm to examples/trifiller. Oops.
15 years ago
Jean-Yves Lamoureux
67679dc55d
* Added texture mapped triangle routine, float based, arbitrary texture size, to be optimized
* Made compilation under MacOSX 10.6 (Snow Leopard) possible, but breaks 10.4 (Tiger), to be fixed
15 years ago
Sam Hocevar
8954cd4695
Only build conio-snake if the C++ compiler is functional.
15 years ago
Sam Hocevar
1255e91165
Add the conio examples to the Visual Studio solution.
15 years ago
Sam Hocevar
9d2e5ef6d0
Add a simple snake program using the <conio.h> interface.
15 years ago
Sam Hocevar
104c5a0c5b
Start implementing a full <conio.h> replacement with a libcaca backend.
15 years ago
Sam Hocevar
644ee4a78a
Coding style: remove tabs and trailing spaces.
15 years ago
Sam Hocevar
33d2bc2092
Update the Win32 and Win64 ports.
15 years ago
Sam Hocevar
d3ef2bbecd
Add caca_export_area_to_memory() to export only a selected part of the
current canvas. This is useful to export dirty rectangles. Accordingly,
add caca_import_area_from_memory() and caca_import_area_from_file().
15 years ago
Sam Hocevar
969e870fe4
Fix the old demo examples so that they don't refresh the screen twice
every frame, causing the mouse to flicker.
15 years ago
Sam Hocevar
95811ced2d
Manually fix Visual Studio files so that builds do not spew
their crap all over the place. There is still caca-sharp/obj
that it insists on creating (reported as Connect ID 301965).
15 years ago
Sam Hocevar
17b840d8bc
Improve dirty rectangle handling in examples/input.c.
15 years ago
Sam Hocevar
143b3c925b
Fix the text input example now that the box drawing functions take a size
as argument.
15 years ago
Sam Hocevar
b61b93ddd2
Added MSVC project files for most example programs.
15 years ago
Sam Hocevar
b7ba0adba0
Remove occurrences of DATADIR, it conflicts with MinGW's <objidl.h>.
Fixes ticket #51 .
15 years ago
Sam Hocevar
34297fcdf9
Fix separate directory build failure caused by caca_types.h.
16 years ago
Sam Hocevar
4cda200b03
Continuing the libcucul-libcaca merge.
16 years ago
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 years ago
Sam Hocevar
8f832a3b47
* Switch a few unsigned int variables to size_t where appropriate.
* Synchronise parameter types in the C++ bindings with the C API.
16 years ago
Sam Hocevar
4ea785f818
* Remove all unsigned ints from exported functions. Signed arithmetic is
far better for error checking.
16 years ago
Sam Hocevar
ec68a634cf
* Get rid of the last long types in the API.
* Use size_t and ssize_t where appropriate.
16 years ago
Sam Hocevar
f44b5e11fa
* Changed most "unsigned char" variables into "uint8_t", including in
prototypes. As they are equivalent, this does not break the ABI.
16 years ago
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 years ago
Sam Hocevar
b8d3f71ae8
* Fix canvas export for the caca format. We now export all frames.
* Fix the sprite import/export example.
17 years ago
Sam Hocevar
4af5145c38
* Started sprite example. Doesn't work :-)
17 years ago
Sam Hocevar
b7a785ff38
* Implemented caca_set_display_driver() to change driver at runtime.
17 years ago
Sam Hocevar
e15e962928
* Implement caca_create_display_with_driver() to specify an output driver
without using environment variables..
* Implement caca_get_display_driver() to return the current display's
output driver.
* Add a simple example program to test caca_create_display_with_driver().
17 years ago
Sam Hocevar
d06bf76c96
=?utf-8?q?=20=20*=20Implement=20cucul=5Fput=5Ffigchar()=20to=20paste=20FIGlet/TOIlet=20characters=20in
=20=20=20=20=20=20=20=20=20=20=E2=96=8C=20=E2=96=8C=20=20=20=E2=96=9C=E2=96=9C=20=20=20=20=C2=A0=E2=96=8C=20=E2=96=8C=20=20=20=20=20=20=E2=96=9C=20=20=20=E2=96=8C=E2=96=90
=20=20=20=20=20=20=20=20=20=20=E2=96=99=E2=96=84=E2=96=8C=E2=96=9E=E2=96=80=E2=96=96=E2=96=90=E2=96=90=20=E2=96=9E=E2=96=80=E2=96=96=C2=A0=E2=96=8C=E2=96=96=E2=96=8C=E2=96=9E=E2=96=80=E2=96=96=E2=96=99=E2=96=80=E2=96=96=E2=96=90=20=E2=96=9E=E2=96=80=E2=96=8C=E2=96=90
=20=20=20=20=20=20=20=20=20=20=E2=96=8C=20=E2=96=8C=E2=96=9B=E2=96=80=20=E2=96=90=E2=96=90=20=E2=96=8C=20=E2=96=8C=C2=A0=E2=96=99=E2=96=9A=E2=96=8C=E2=96=8C=20=E2=96=8C=E2=96=8C=20=C2=A0=E2=96=90=20=E2=96=8C=20=E2=96=8C=E2=96=9D
=20=20=20=20=20=20=20=20=20=20=E2=96=98=20=E2=96=98=E2=96=9D=E2=96=80=E2=96=98=20=E2=96=98=E2=96=98=E2=96=9D=E2=96=80=20=C2=A0=E2=96=98=20=E2=96=98=E2=96=9D=E2=96=80=20=E2=96=98=20=20=20=E2=96=98=E2=96=9D=E2=96=80=E2=96=98=E2=96=9D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
17 years ago
Sam Hocevar
81d6119762
* Implemented cucul_canvas_set_figfont() from TOIlet’s open_font().
17 years ago
Sam Hocevar
10bf9f48a7
* Rename "test" to "examples". The former will become a real testsuite.
* Autodetect zzuf in the configure step. It might become handy.
17 years ago
Sam Hocevar
201ad26639
* Moved stuff again.
19 years ago
Sam Hocevar
4f59010b4c
* Moved stuff around to differenciate between libcucul and libcaca.
19 years ago
Sam Hocevar
6d99c79d26
* All output plugins should now work again.
* Renamed caca_refresh() into caca_display() which makes more sense.
* Optimised gl_bgpal by directly storing floats instead of doing the
conversion at runtime.
* Handle resizing in cucul_set_size() and try to keep as much information
as possible from the previous canvas.
* Moved most global variables into cucul_t or caca_t contexts.
* Moved time.c into libcaca.
19 years ago
Sam Hocevar
4c72df99aa
A new low-level text management library (canvas for ultrafast compositing
of unicode letters) is now separated from the higher level rendering and I/O
(that is, libcaca). This commit totally breaks the API, but once everything
is polished I will think about source-level backward compatibility. Most
drivers are broken, but X11 still sorta works.
The new design is much more object-oriented and allows having several
active renderers at the same time, changing renderers on the fly, and more
important, having no renderer at all (useful for converters, or when you
want to do your own renderer).
And in case you are still wondering, the libcucul acronym has "Unicode"
because I want to support at least a subset of Unicode. There are awesome
glyphs in it, including the ones inherited from Codepage 437 such as
"gray 25%" that are used in DOS and Win32 ANSI art.
19 years ago
Sam Hocevar
707f10de81
* Changed the licensing to WTFPL, as per all copyright holders' permission.
19 years ago
Jean-Yves Lamoureux
a05ac738aa
* Removed debug test, kekeke ^^
19 years ago
Jean-Yves Lamoureux
29775feb27
* Added caca_set_width, set_height_, set_size
19 years ago
Jean-Yves Lamoureux
dd5668d9f0
* Fixed remaining warnings with gcc 3.x and 4.x
19 years ago
Sam Hocevar
20b2c14750
* Use libtool for the static library generation; paves the way for
a future shared library.
19 years ago