Sam Hocevar
|
1277691809
|
Fix a typo in the VGA driver.
|
hace 15 años |
Sam Hocevar
|
8954cd4695
|
Only build conio-snake if the C++ compiler is functional.
|
hace 15 años |
Sam Hocevar
|
c4bf6b79a8
|
Include <stdio.h> in the null driver to get NULL.
|
hace 15 años |
Sam Hocevar
|
d33ee5fc5b
|
Add atexit() and EOF to the kernel.
|
hace 15 años |
Sam Hocevar
|
516aa6b6ee
|
Better caca_get_event_mouse_button() documentation.
|
hace 15 años |
Sam Hocevar
|
308c203f4a
|
Fix Win32 cross-build by removing one level of aliasing.
|
hace 15 años |
Sam Hocevar
|
1255e91165
|
Add the conio examples to the Visual Studio solution.
|
hace 15 años |
Sam Hocevar
|
fde9caa727
|
Include <stdio.h> in caca_conio.h to avoid errors when this header is
included after us.
|
hace 15 años |
Sam Hocevar
|
680df5ce81
|
Implement conio.h functions cgets(), cputs(), getpass(), movetext(),
putch() and _setcurstortype().
|
hace 15 años |
Sam Hocevar
|
48ecccd284
|
Make the libcaca color values an enum again.
|
hace 15 años |
Sam Hocevar
|
239593a070
|
Add a note about autoreleased canvases in the documentation.
|
hace 15 años |
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.
|
hace 15 años |
Sam Hocevar
|
f145782381
|
Move conio functions to the main caca.h header, with their caca_conio_
prefix. The #defines remain in caca_conio.h.
|
hace 15 años |
Sam Hocevar
|
3efac2753f
|
Make conio_refresh() play nicer with the resources when the machine is slow.
|
hace 15 años |
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>.
|
hace 15 años |
Sam Hocevar
|
dda081badc
|
Update the NEWS file with what's been done since the last release.
|
hace 15 años |
Sam Hocevar
|
54bcc632d2
|
Do not look for gmcs2. It is an abandoned abomination.
|
hace 15 años |
Sam Hocevar
|
9d2e5ef6d0
|
Add a simple snake program using the <conio.h> interface.
|
hace 15 años |
Sam Hocevar
|
9ee841240f
|
Implement conio.h's getche() and move cursor to top right corner after
a call to clrscr().
|
hace 15 años |
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.
|
hace 15 años |
Sam Hocevar
|
962f47b906
|
Implement conio.h's kbhit().
|
hace 15 años |
Sam Hocevar
|
52758fae24
|
Look for csc and gmcs2 prior to gmcs.
|
hace 15 años |
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.
|
hace 15 años |
Pascal Terjan
|
52a0decd07
|
* Fix a segfault in rotate_180 on 0 sized canvas
|
hace 15 años |
Sam Hocevar
|
104c5a0c5b
|
Start implementing a full <conio.h> replacement with a libcaca backend.
|
hace 15 años |
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.
|
hace 15 años |
Sam Hocevar
|
4648ab11aa
|
Implement caca_vprintf() to allow third-party variadic functions to call us.
|
hace 15 años |
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.
|
hace 15 años |
Sam Hocevar
|
f5598e7b4f
|
I forgot to initialise dirty_disabled in the canvas constructor.
|
hace 15 años |
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.
|
hace 15 años |
Sam Hocevar
|
644ee4a78a
|
Coding style: remove tabs and trailing spaces.
|
hace 15 años |
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.
|
hace 15 años |
Sam Hocevar
|
69d8bbeb08
|
More complex dirty rectangle merging strategy. It's a lot slower in some
cases, but that can be fixed.
|
hace 15 años |
Sam Hocevar
|
33fd017a70
|
Add unit tests for efficient dirty rectangle merging.
|
hace 15 años |
Sam Hocevar
|
ed360faabe
|
Add a comment to the ncurses driver to remember fix the GCC warning.
|
hace 15 años |
Sam Hocevar
|
33d2bc2092
|
Update the Win32 and Win64 ports.
|
hace 15 años |
Pascal Terjan
|
bd1c1cdda6
|
* Inform code reader that current algorithm is wrong
|
hace 15 años |
Pascal Terjan
|
9af1ba41a3
|
* Align times on the right!
|
hace 15 años |
Sam Hocevar
|
7b18489c6f
|
Use a dummy display to compute benchmark time to avoid relying on <time.h>.
|
hace 15 años |
Sam Hocevar
|
b0a88ddd01
|
Do not smooth the render time; the calling application can do it.
|
hace 15 años |
Sam Hocevar
|
6b22ab776c
|
Add a null driver that does absolutely nothing.
|
hace 15 años |
Sam Hocevar
|
1d60711ac4
|
Mark the whole canvas as dirty when a dirty rectangle aware driver is
attached to it.
|
hace 15 años |
Sam Hocevar
|
10719139e6
|
Store dirty rectangles in a structure list. For now there is still only
one dirty rectangle, but this is the first step to improvement.
|
hace 15 años |
Sam Hocevar
|
e2f3d648f9
|
Add explanatory comments to the dirty rectangle unit tests.
|
hace 15 años |
Pascal Terjan
|
dd153de114
|
* Add some simple bench (part 2, add the interesting file)
|
hace 15 años |
Pascal Terjan
|
6be6419849
|
* Add some simple bench
|
hace 15 años |
Pascal Terjan
|
4bd79baf96
|
* Add dirty rectangles when moving cursor
|
hace 15 años |
Pascal Terjan
|
7fb6d934fa
|
* Report failures in exit code in caca-test
|
hace 15 años |
Pascal Terjan
|
aa2162ef57
|
* Also test blitting with mask
|
hace 15 años |
Pascal Terjan
|
1f79729288
|
* When blitting, only add dirty rectangles on changed
lines, or on changed chars if we have a mask
|
hace 15 años |