|
|
@@ -74,7 +74,7 @@ void blesses_initialize (void) { |
|
|
|
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)); |
|
|
|
|
|
|
|
log_out (); |
|
|
|
log_out ("./blesses.log"); |
|
|
|
} |
|
|
|
|
|
|
|
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)); |
|
|
|
} |
|
|
|
|
|
|
|
log_out (); |
|
|
|
log_out ("./blesses.log"); |
|
|
|
} |
|
|
|
|
|
|
|
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; |
|
|
|
} |
|
|
|
|
|
|
|
log_out (); |
|
|
|
log_out ("./blesses.log"); |
|
|
|
} |
|
|
|
|
|
|
|
void blesses_render_string_limit (char * string, int limit, int * x, int * y, int foreground, int background) { |
|
|
|