Nothing much to do here for now...
This commit is contained in:
parent
fac5110f79
commit
1392134510
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
|
mkdir /usr/include/xolatile
|
||||||
|
|
||||||
cp xlesses.h /usr/include/xolatile/xlesses.h
|
cp xlesses.h /usr/include/xolatile/xlesses.h
|
||||||
cp xlesses.c /usr/include/xolatile/xlesses.c
|
cp xlesses.c /usr/include/xolatile/xlesses.c
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ void blesses_initialize (void) {
|
|||||||
blesses_sub_framebuffer = allocate (blesses_window_width * blesses_window_height * (int) sizeof (* blesses_sub_framebuffer));
|
blesses_sub_framebuffer = allocate (blesses_window_width * blesses_window_height * (int) sizeof (* blesses_sub_framebuffer));
|
||||||
blesses_framebuffer = allocate (blesses_window_width * blesses_window_height * (int) sizeof (* blesses_framebuffer));
|
blesses_framebuffer = allocate (blesses_window_width * blesses_window_height * (int) sizeof (* blesses_framebuffer));
|
||||||
|
|
||||||
log_out ();
|
log_out ("./blesses.log");
|
||||||
}
|
}
|
||||||
|
|
||||||
void blesses_deinitialize (void) {
|
void blesses_deinitialize (void) {
|
||||||
@ -142,7 +142,7 @@ void blesses_synchronize (void) {
|
|||||||
blesses_framebuffer = allocate (blesses_window_width * blesses_window_height * (int) sizeof (* blesses_framebuffer));
|
blesses_framebuffer = allocate (blesses_window_width * blesses_window_height * (int) sizeof (* blesses_framebuffer));
|
||||||
}
|
}
|
||||||
|
|
||||||
log_out ();
|
log_out ("./blesses.log");
|
||||||
}
|
}
|
||||||
|
|
||||||
void blesses_render_background_colour (int colour) {
|
void blesses_render_background_colour (int colour) {
|
||||||
@ -191,7 +191,7 @@ void blesses_render_character (char character, int x, int y, int foreground, int
|
|||||||
blesses_sub_framebuffer [u * (blesses_window_width/* / 2*/) + v] = ((font_code [(int) (character - ' ')] >> offset) % 2) ? foreground : background;
|
blesses_sub_framebuffer [u * (blesses_window_width/* / 2*/) + v] = ((font_code [(int) (character - ' ')] >> offset) % 2) ? foreground : background;
|
||||||
}
|
}
|
||||||
|
|
||||||
log_out ();
|
log_out ("./blesses.log");
|
||||||
}
|
}
|
||||||
|
|
||||||
void blesses_render_string_limit (char * string, int limit, int * x, int * y, int foreground, int background) {
|
void blesses_render_string_limit (char * string, int limit, int * x, int * y, int foreground, int background) {
|
||||||
|
Loading…
Reference in New Issue
Block a user