Sam Hocevar
|
03584e4665
|
Improve rounding in the internal Win32 sleep method.
|
15 years ago |
Sam Hocevar
|
9b6424b385
|
Pass Ctrl-C as a keypress to the calling application in the SLang driver.
Original patch courtesy of Romain Bignon.
|
15 years ago |
Pascal Terjan
|
ad76a4e717
|
* Fix Delete key with X11 driver
|
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 |
Jean-Yves Lamoureux
|
2b3fce124b
|
* Indentation fixes
|
15 years ago |
Jean-Yves Lamoureux
|
0a8b2d04d5
|
* Remove trailing spaces (bouh!)
|
15 years ago |
Jean-Yves Lamoureux
|
895d027a76
|
* Don't unblock signals in init of SLang
|
15 years ago |
Jean-Yves Lamoureux
|
4ea7d027a7
|
* Disable SLang's own SIGINT handler
|
15 years ago |
Pascal Terjan
|
32a2af5501
|
* Fix non ASCII input in x11 driver
|
15 years ago |
Jean-Yves Lamoureux
|
2adebb531b
|
* Make caca_fill_triangle_textured use less arguments, examples/trifiller modified accordingly
|
15 years ago |
Sam Hocevar
|
0ebafed6c5
|
Preserve default attribute across caca_fill_triangle_texture calls.
|
15 years ago |
Sam Hocevar
|
7ebd74e3ee
|
Fix an unlikely crash that may happen when the X server cannot open
the "fixed" font.
|
15 years ago |
Jean-Yves Lamoureux
|
9717a2820b
|
* Don't use float as loop counters
|
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
|
c90830fb29
|
Start working on profiling.
|
15 years ago |
Sam Hocevar
|
b076ec19b0
|
Move debugging methods to caca_debug.h.
|
15 years ago |
Sam Hocevar
|
67007f41fe
|
Add -lz to Libs.private for static linking.
|
15 years ago |
Sam Hocevar
|
bef81f8ea7
|
Mark dithered bitmap array as const.
|
15 years ago |
Sam Hocevar
|
d1e6e5f559
|
Make "fullgray" dithering work properly, to force greyscale rendering. To use
it, just call caca_set_dither_color(d, "fullgray") on the dither object.
|
15 years ago |
Sam Hocevar
|
1277691809
|
Fix a typo in the VGA driver.
|
15 years ago |
Sam Hocevar
|
c4bf6b79a8
|
Include <stdio.h> in the null driver to get NULL.
|
15 years ago |
Sam Hocevar
|
516aa6b6ee
|
Better caca_get_event_mouse_button() documentation.
|
15 years ago |
Sam Hocevar
|
308c203f4a
|
Fix Win32 cross-build by removing one level of aliasing.
|
15 years ago |
Sam Hocevar
|
1255e91165
|
Add the conio examples to the Visual Studio solution.
|
15 years ago |
Sam Hocevar
|
fde9caa727
|
Include <stdio.h> in caca_conio.h to avoid errors when this header is
included after us.
|
15 years ago |
Sam Hocevar
|
680df5ce81
|
Implement conio.h functions cgets(), cputs(), getpass(), movetext(),
putch() and _setcurstortype().
|
15 years ago |
Sam Hocevar
|
48ecccd284
|
Make the libcaca color values an enum again.
|
15 years ago |
Sam Hocevar
|
e3faf62787
|
Since caca.h now exports variables, we need __declspec(dllimport), otherwise
they won't be seen by the linker when linking dynamically. Fix caca0.h
accordingly.
|
15 years ago |
Sam Hocevar
|
f145782381
|
Move conio functions to the main caca.h header, with their caca_conio_
prefix. The #defines remain in caca_conio.h.
|
15 years ago |
Sam Hocevar
|
3efac2753f
|
Make conio_refresh() play nicer with the resources when the machine is slow.
|
15 years ago |
Sam Hocevar
|
d09cd5c3b1
|
Fix <conio.h> delay(), getch() and kbhit() to avoid busy loops and ensure
frequent screen refreshes.
Implement <conio.h> clreol() (incomplete) and <dos.h> sleep() functions.
Replace some defines with enums in <caca_conio.h>.
|
15 years ago |
Sam Hocevar
|
9ee841240f
|
Implement conio.h's getche() and move cursor to top right corner after
a call to clrscr().
|
15 years ago |
Sam Hocevar
|
823b59a7fa
|
Make caca_printf(), caca_vprintf() and caca_put_str() return the number of
printed cells instead of always returning 0. This is handy if we want to
advance a cursor after each printf() call.
|
15 years ago |
Sam Hocevar
|
962f47b906
|
Implement conio.h's kbhit().
|
15 years ago |
Sam Hocevar
|
ea8d3086d6
|
Add sound(), nosound() and delay() to the conio.h emulation. Even though
they're not actually from that header, they're often used together.
|
15 years ago |
Pascal Terjan
|
52a0decd07
|
* Fix a segfault in rotate_180 on 0 sized canvas
|
15 years ago |
Sam Hocevar
|
104c5a0c5b
|
Start implementing a full <conio.h> replacement with a libcaca backend.
|
15 years ago |
Sam Hocevar
|
1f5518f842
|
Rename caca_get_cursor_x() and caca_get_cursor_y() to caca_wherex() and
caca_wherey(), in order to match the old <conio.h> naming scheme.
|
15 years ago |
Sam Hocevar
|
4648ab11aa
|
Implement caca_vprintf() to allow third-party variadic functions to call us.
|
15 years ago |
Sam Hocevar
|
60b44cc5be
|
Show how we could optimise dirty rectangle handling in a box fill. Disabled
for now because it does not work with fullwidth characters.
|
15 years ago |
Sam Hocevar
|
f5598e7b4f
|
I forgot to initialise dirty_disabled in the canvas constructor.
|
15 years ago |
Sam Hocevar
|
5269cad56c
|
Allow to temporarily disable dirty rectangle handling. This allows for huge
speedups when the calling application knows the dirty rectangle covered by
a complex operation.
|
15 years ago |
Sam Hocevar
|
644ee4a78a
|
Coding style: remove tabs and trailing spaces.
|
15 years ago |
Sam Hocevar
|
4f7081153e
|
Do not add a dirty rectangle at the cursor's position. It's up to the
display driver to clean up its shit. Fixed X11 driver accordingly.
|
15 years ago |
Sam Hocevar
|
69d8bbeb08
|
More complex dirty rectangle merging strategy. It's a lot slower in some
cases, but that can be fixed.
|
15 years ago |
Sam Hocevar
|
ed360faabe
|
Add a comment to the ncurses driver to remember fix the GCC warning.
|
15 years ago |
Sam Hocevar
|
33d2bc2092
|
Update the Win32 and Win64 ports.
|
15 years ago |
Pascal Terjan
|
bd1c1cdda6
|
* Inform code reader that current algorithm is wrong
|
15 years ago |
Sam Hocevar
|
b0a88ddd01
|
Do not smooth the render time; the calling application can do it.
|
15 years ago |