ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
Loading...
Searching...
No Matches
gime.h File Reference
#include "../ugbc.h"

Go to the source code of this file.

Macros

#define RGB2GIME(r, g, b)
#define COLOR_BLACK   0x00
#define COLOR_BLUE   0x08
#define COLOR_DARK_BLUE   0x01
#define COLOR_LIGHT_BLUE   0x09
#define COLOR_DARK_RED   0x04
#define COLOR_RED   0x20
#define COLOR_MAGENTA   0x28
#define COLOR_MAUVE   0x2a
#define COLOR_LIGHT_RED   0x24
#define COLOR_PURPLE   0x05
#define COLOR_LIGHT_MAGENTA   0x2d
#define COLOR_DARK_GREEN   0x02
#define COLOR_GREEN   0x10
#define COLOR_CYAN   0x18
#define COLOR_DARK_CYAN   0x03
#define COLOR_YELLOW   0x30
#define COLOR_WHITE   0x38
#define COLOR_PASTEL_BLUE   0x1d
#define COLOR_ORANGE   0x26
#define COLOR_PINK   0x3c
#define COLOR_PASTEL_MAGENTA   RGB2GIME( 0xff, 0x00, 0xff )
#define COLOR_LIGHT_GREEN   0x12
#define COLOR_SEA_GREEN   RGB2GIME( 0x00, 0xf0, 0x20 )
#define COLOR_LIGHT_CYAN   0x1b
#define COLOR_DARK_WHITE   0x07
#define COLOR_LIGHT_WHITE   0x3f
#define COLOR_DARK_GREY   0x00
#define COLOR_GREY   0x07
#define COLOR_LIGHT_GREY   0x38
#define COLOR_TAN   0x31
#define COLOR_TURQUOISE   0x0b
#define COLOR_YELLOW_GREEN   0x32
#define COLOR_BROWN   0x06
#define COLOR_LAVENDER   0x39
#define COLOR_OLIVE_GREEN   0x32
#define COLOR_VIOLET   0x2d
#define COLOR_LIME   RGB2GIME( 0xcc, 0xff, 0x00 )
#define COLOR_PASTEL_GREEN   COLOR_LIGHT_GREEN
#define COLOR_PASTEL_CYAN   COLOR_LIGHT_CYAN
#define COLOR_LIGHT_YELLOW   RGB2GIME( 0xf0, 0xf0, 0x00 )
#define COLOR_PASTEL_YELLOW   COLOR_LIGHT_YELLOW
#define COLOR_GOLD   COLOR_YELLOW
#define COLOR_PEACH   COLOR_PINK
#define COLOR_COUNT   64
#define DEFAULT_PEN_COLOR   COLOR_WHITE
#define DEFAULT_PAPER_COLOR   COLOR_BLACK
#define TEXT_COLUMNS_COUNT   40
#define TEXT_ROWS_COUNT   25
#define TILEMAP_MODE(x)
#define BITMAP2_MODE(x)
#define BITMAP4_MODE(x)
#define BITMAP16_MODE(x)
#define TILEMAP_MODE_32X24   TILEMAP_MODE( 0 )
#define TILEMAP_MODE_32X25   TILEMAP_MODE( 1 )
#define TILEMAP_MODE_32X28   TILEMAP_MODE( 2 )
#define TILEMAP_MODE_40X24   TILEMAP_MODE( 3 )
#define TILEMAP_MODE_40X25   TILEMAP_MODE( 4 )
#define TILEMAP_MODE_40X28   TILEMAP_MODE( 5 )
#define TILEMAP_MODE_64X24   TILEMAP_MODE( 6 )
#define TILEMAP_MODE_64X25   TILEMAP_MODE( 7 )
#define TILEMAP_MODE_64X28   TILEMAP_MODE( 8 )
#define TILEMAP_MODE_80X24   TILEMAP_MODE( 9 )
#define TILEMAP_MODE_80X25   TILEMAP_MODE( 10 )
#define TILEMAP_MODE_80X28   TILEMAP_MODE( 11 )
#define BITMAP_MODE_128x192x2   BITMAP2_MODE( 0 )
#define BITMAP_MODE_128x200x2   BITMAP2_MODE( 1 )
#define BITMAP_MODE_128x225x2   BITMAP2_MODE( 2 )
#define BITMAP_MODE_160x192x2   BITMAP2_MODE( 3 )
#define BITMAP_MODE_160x200x2   BITMAP2_MODE( 4 )
#define BITMAP_MODE_160x225x2   BITMAP2_MODE( 5 )
#define BITMAP_MODE_256x192x2   BITMAP2_MODE( 6 )
#define BITMAP_MODE_256x200x2   BITMAP2_MODE( 7 )
#define BITMAP_MODE_256x225x2   BITMAP2_MODE( 8 )
#define BITMAP_MODE_320x192x2   BITMAP2_MODE( 9 )
#define BITMAP_MODE_320x200x2   BITMAP2_MODE( 10 )
#define BITMAP_MODE_320x225x2   BITMAP2_MODE( 11 )
#define BITMAP_MODE_512x192x2   BITMAP2_MODE( 12 )
#define BITMAP_MODE_512x200x2   BITMAP2_MODE( 13 )
#define BITMAP_MODE_512x225x2   BITMAP2_MODE( 14 )
#define BITMAP_MODE_640x192x2   BITMAP2_MODE( 15 )
#define BITMAP_MODE_640x200x2   BITMAP2_MODE( 16 )
#define BITMAP_MODE_640x225x2   BITMAP2_MODE( 17 )
#define BITMAP_MODE_64x192x4   BITMAP4_MODE( 0 )
#define BITMAP_MODE_64x200x4   BITMAP4_MODE( 1 )
#define BITMAP_MODE_64x225x4   BITMAP4_MODE( 2 )
#define BITMAP_MODE_80x192x4   BITMAP4_MODE( 3 )
#define BITMAP_MODE_80x200x4   BITMAP4_MODE( 4 )
#define BITMAP_MODE_80x225x4   BITMAP4_MODE( 5 )
#define BITMAP_MODE_128x192x4   BITMAP4_MODE( 6 )
#define BITMAP_MODE_128x200x4   BITMAP4_MODE( 7 )
#define BITMAP_MODE_128x225x4   BITMAP4_MODE( 8 )
#define BITMAP_MODE_160x192x4   BITMAP4_MODE( 9 )
#define BITMAP_MODE_160x200x4   BITMAP4_MODE( 10 )
#define BITMAP_MODE_160x225x4   BITMAP4_MODE( 11 )
#define BITMAP_MODE_256x192x4   BITMAP4_MODE( 12 )
#define BITMAP_MODE_256x200x4   BITMAP4_MODE( 13 )
#define BITMAP_MODE_256x225x4   BITMAP4_MODE( 14 )
#define BITMAP_MODE_320x192x4   BITMAP4_MODE( 15 )
#define BITMAP_MODE_320x200x4   BITMAP4_MODE( 16 )
#define BITMAP_MODE_320x225x4   BITMAP4_MODE( 17 )
#define BITMAP_MODE_512x192x4   BITMAP4_MODE( 18 )
#define BITMAP_MODE_512x200x4   BITMAP4_MODE( 19 )
#define BITMAP_MODE_512x225x4   BITMAP4_MODE( 20 )
#define BITMAP_MODE_640x192x4   BITMAP4_MODE( 21 )
#define BITMAP_MODE_640x200x4   BITMAP4_MODE( 22 )
#define BITMAP_MODE_640x225x4   BITMAP4_MODE( 23 )
#define BITMAP_MODE_64x192x16   BITMAP16_MODE( 0 )
#define BITMAP_MODE_64x200x16   BITMAP16_MODE( 1 )
#define BITMAP_MODE_64x225x16   BITMAP16_MODE( 2 )
#define BITMAP_MODE_80x192x16   BITMAP16_MODE( 3 )
#define BITMAP_MODE_80x200x16   BITMAP16_MODE( 4 )
#define BITMAP_MODE_80x225x16   BITMAP16_MODE( 5 )
#define BITMAP_MODE_128x192x16   BITMAP16_MODE( 6 )
#define BITMAP_MODE_128x200x16   BITMAP16_MODE( 7 )
#define BITMAP_MODE_128x225x16   BITMAP16_MODE( 8 )
#define BITMAP_MODE_160x192x16   BITMAP16_MODE( 9 )
#define BITMAP_MODE_160x200x16   BITMAP16_MODE( 10 )
#define BITMAP_MODE_160x225x16   BITMAP16_MODE( 11 )
#define BITMAP_MODE_256x192x16   BITMAP16_MODE( 12 )
#define BITMAP_MODE_256x200x16   BITMAP16_MODE( 13 )
#define BITMAP_MODE_256x225x16   BITMAP16_MODE( 14 )
#define BITMAP_MODE_320x192x16   BITMAP16_MODE( 15 )
#define BITMAP_MODE_320x200x16   BITMAP16_MODE( 16 )
#define BITMAP_MODE_320x225x16   BITMAP16_MODE( 17 )
#define BITMAP_MODE_DEFAULT   BITMAP_MODE_128x192x2
#define BITMAP_MODE_STANDARD   BITMAP_MODE_DEFAULT
#define DOUBLE_BUFFER_PAGE_0   0
#define DOUBLE_BUFFER_PAGE_1   8
#define SPRITE_COUNT   0
#define SPRITE_WIDTH   0
#define SPRITE_HEIGHT   0
#define SPRITE_X_MIN   0
#define SPRITE_Y_MIN   0
#define SPRITE_X_MAX   0
#define SPRITE_Y_MAX   0
#define SCREEN_SPRITE_RATIO_X   100
#define SCREEN_SPRITE_RATIO_Y   100
#define SCREEN_BORDER_X   0
#define SCREEN_BORDER_Y   0
#define SPRITE_COUNT   0
#define SPRITE_WIDTH   0
#define SPRITE_HEIGHT   0
#define IMAGE_WIDTH_SIZE   2
#define IMAGE_WIDTH_OFFSET   0
#define IMAGE_HEIGHT_SIZE   1
#define IMAGE_HEIGHT_OFFSET   2

Functions

int gime_screen_mode_enable (Environment *_environment, ScreenMode *_screen_mode)
void gime_initialization (Environment *_environment)
void gime_finalization (Environment *_environment)
void gime_back (Environment *_environment)
void gime_background_color (Environment *_environment, char *_index, char *_background_color)
 VIC-II: emit code to change background color
void gime_background_color_get_vars (Environment *_environment, char *_index, char *_background_color)
void gime_border_color (Environment *_environment, char *_border_color)
 VIC-II: emit code to change border color
void gime_collision (Environment *_environment, char *_sprite_mask, char *_result)
 VIC-II: emit code to check for collision
void gime_hit (Environment *_environment, char *_sprite_mask, char *_result)
 VIC-II: emit code to check for collision
void gime_next_raster (Environment *_environment)
 VIC-II: emit code to wait for next raster irq
void gime_next_raster_at (Environment *_environment, char *_label, char *_positionlo, char *_positionhi)
 VIC-II: emit code to wait for next raster irq at different position
void gime_raster_at (Environment *_environment, char *_label, char *_positionlo, char *_positionhi)
 VIC-II: emit code to set raster irq
void gime_sprite_common_color (Environment *_environment, char *_index, char *_common_color)
 VIC-II: emit code to change common sprite's color
void gime_bitmap_enable (Environment *_environment, int _width, int _height, int _colors)
void gime_bitmap_disable (Environment *_environment)
void gime_bitmap_at (Environment *_environment, char *_address)
void gime_colormap_at (Environment *_environment, char *_address)
void gime_textmap_at (Environment *_environment, char *_address)
void gime_tiles_at (Environment *_environment, char *_address)
void gime_tilemap_enable (Environment *_environment, int _width, int _height, int _colors, int _tile_width, int _tile_height)
void gime_bank_select (Environment *_environment, int _bank)
void gime_screen_on (Environment *_environment)
void gime_screen_off (Environment *_environment)
void gime_screen_rows (Environment *_environment, char *_rows)
void gime_screen_columns (Environment *_environment, char *_columns)
void gime_sprite_data_from (Environment *_environment, char *_sprite, char *_address)
void gime_sprite_data_set (Environment *_environment, char *_sprite, char *_address)
void gime_sprite_enable (Environment *_environment, char *_sprite)
void gime_sprite_disable (Environment *_environment, char *_sprite)
void gime_sprite_at (Environment *_environment, char *_sprite, char *_x, char *_y)
void gime_sprite_expand_vertical (Environment *_environment, char *_sprite)
void gime_sprite_expand_horizontal (Environment *_environment, char *_sprite)
void gime_sprite_compress_vertical (Environment *_environment, char *_sprite)
void gime_sprite_compress_horizontal (Environment *_environment, char *_sprite)
void gime_sprite_multicolor (Environment *_environment, char *_sprite)
void gime_sprite_monocolor (Environment *_environment, char *_sprite)
void gime_sprite_color (Environment *_environment, char *_sprite, char *_color)
void gime_sprite_priority (Environment *_environment, char *_sprite, char *_priority)
void gime_vertical_scroll (Environment *_environment, char *_displacement)
void gime_horizontal_scroll (Environment *_environment, char *_displacement)
void gime_tiles_get (Environment *_environment, char *_result)
void gime_get_width (Environment *_environment, char *_result)
void gime_get_height (Environment *_environment, char *_result)
void gime_pset_int (Environment *_environment, int _x, int _y, int *_c)
void gime_pset_vars (Environment *_environment, char *_x, char *_y, char *_c)
void gime_pget_color_vars (Environment *_environment, char *_x, char *_y, char *_result)
void gime_cls (Environment *_environment)
void gime_cls_box (Environment *_environment, char *_x1, char *_y1, char *_w, char *_h)
void gime_scroll_text (Environment *_environment, int _direction, int _overlap)
void gime_hscroll_line (Environment *_environment, int _direction, int _overlap)
void gime_hscroll_screen (Environment *_environment, int _direction, int _overlap)
void gime_text (Environment *_environment, char *_text, char *_text_size, int _raw)
void gime_cline (Environment *_environment, char *_characters)
void gime_scroll (Environment *_environment, int _dx, int _dy)
Variablegime_get_raster_line (Environment *_environment)
int gime_image_size (Environment *_environment, int _width, int _height, int _mode)
Variablegime_image_converter (Environment *_environment, char *_data, int _width, int _height, int _depth, int _offset_x, int _offset_y, int _frame_width, int _frame_height, int _mode, int _transparent_color, int _flags)
void gime_put_image (Environment *_environment, Resource *_image, char *_x, char *_y, char *_frame, char *_sequence, int _frame_size, int _frame_count, char *_flags)
void gime_blit_image (Environment *_environment, char *_sources[], int _source_count, char *_blit, char *_x, char *_y, char *_frame, char *_sequence, int _frame_size, int _frame_count, int _flags)
Variablegime_new_image (Environment *_environment, int _width, int _height, int _mode)
Variablegime_new_images (Environment *_environment, int _frames, int _width, int _height, int _mode)
Variablegime_new_sequence (Environment *_environment, int _sequences, int _frames, int _width, int _height, int _mode)
void gime_get_image (Environment *_environment, char *_image, char *_x, char *_y, char *_frame, char *_sequence, int _frame_size, int _frame_count, int _palette)
void gime_put_tile (Environment *_environment, char *_image, char *_x, char *_y)
void gime_put_tiles (Environment *_environment, char *_image, char *_x, char *_y, char *_w, char *_h)
void gime_move_tiles (Environment *_environment, char *_image, char *_x, char *_y)
void gime_use_tileset (Environment *_environment, char *_tileset)
void gime_tile_at (Environment *_environment, char *_x, char *_y, char *_result)
void gime_slice_image (Environment *_environment, char *_image, char *_frame, char *_sequence, int _frame_size, int _frame_count, char *_destination)
int gime_palette_extract (Environment *_environment, char *_data, int _width, int _height, int _depth, int _flags, RGBi *_palette)
void gime_calculate_sequence_frame_offset (Environment *_environment, char *_offset, char *_sequence, char *_frame, int _frame_size, int _frame_count)
void gime_flip_image (Environment *_environment, Resource *_image, char *_frame, char *_sequence, int _frame_size, int _frame_count, char *_direction)
void gime_screen (Environment *_environment, char *_x, char *_y, char *_c)

Macro Definition Documentation

◆ BITMAP16_MODE

#define BITMAP16_MODE ( x)
Value:
(0xe0 | ( x & 0x1f ) )

Definition at line 105 of file gime.h.

◆ BITMAP2_MODE

#define BITMAP2_MODE ( x)
Value:
(0x40 | ( x & 0x1f ) )

Definition at line 103 of file gime.h.

◆ BITMAP4_MODE

#define BITMAP4_MODE ( x)
Value:
(0x60 | ( x & 0x1f ) )

Definition at line 104 of file gime.h.

◆ BITMAP_MODE_128x192x16

#define BITMAP_MODE_128x192x16   BITMAP16_MODE( 6 )

Definition at line 196 of file gime.h.

◆ BITMAP_MODE_128x192x2

#define BITMAP_MODE_128x192x2   BITMAP2_MODE( 0 )

Definition at line 126 of file gime.h.

◆ BITMAP_MODE_128x192x4

#define BITMAP_MODE_128x192x4   BITMAP4_MODE( 6 )

Definition at line 161 of file gime.h.

◆ BITMAP_MODE_128x200x16

#define BITMAP_MODE_128x200x16   BITMAP16_MODE( 7 )

Definition at line 197 of file gime.h.

◆ BITMAP_MODE_128x200x2

#define BITMAP_MODE_128x200x2   BITMAP2_MODE( 1 )

Definition at line 127 of file gime.h.

◆ BITMAP_MODE_128x200x4

#define BITMAP_MODE_128x200x4   BITMAP4_MODE( 7 )

Definition at line 162 of file gime.h.

◆ BITMAP_MODE_128x225x16

#define BITMAP_MODE_128x225x16   BITMAP16_MODE( 8 )

Definition at line 198 of file gime.h.

◆ BITMAP_MODE_128x225x2

#define BITMAP_MODE_128x225x2   BITMAP2_MODE( 2 )

Definition at line 128 of file gime.h.

◆ BITMAP_MODE_128x225x4

#define BITMAP_MODE_128x225x4   BITMAP4_MODE( 8 )

Definition at line 163 of file gime.h.

◆ BITMAP_MODE_160x192x16

#define BITMAP_MODE_160x192x16   BITMAP16_MODE( 9 )

Definition at line 200 of file gime.h.

◆ BITMAP_MODE_160x192x2

#define BITMAP_MODE_160x192x2   BITMAP2_MODE( 3 )

Definition at line 130 of file gime.h.

◆ BITMAP_MODE_160x192x4

#define BITMAP_MODE_160x192x4   BITMAP4_MODE( 9 )

Definition at line 165 of file gime.h.

◆ BITMAP_MODE_160x200x16

#define BITMAP_MODE_160x200x16   BITMAP16_MODE( 10 )

Definition at line 201 of file gime.h.

◆ BITMAP_MODE_160x200x2

#define BITMAP_MODE_160x200x2   BITMAP2_MODE( 4 )

Definition at line 131 of file gime.h.

◆ BITMAP_MODE_160x200x4

#define BITMAP_MODE_160x200x4   BITMAP4_MODE( 10 )

Definition at line 166 of file gime.h.

◆ BITMAP_MODE_160x225x16

#define BITMAP_MODE_160x225x16   BITMAP16_MODE( 11 )

Definition at line 202 of file gime.h.

◆ BITMAP_MODE_160x225x2

#define BITMAP_MODE_160x225x2   BITMAP2_MODE( 5 )

Definition at line 132 of file gime.h.

◆ BITMAP_MODE_160x225x4

#define BITMAP_MODE_160x225x4   BITMAP4_MODE( 11 )

Definition at line 167 of file gime.h.

◆ BITMAP_MODE_256x192x16

#define BITMAP_MODE_256x192x16   BITMAP16_MODE( 12 )

Definition at line 204 of file gime.h.

◆ BITMAP_MODE_256x192x2

#define BITMAP_MODE_256x192x2   BITMAP2_MODE( 6 )

Definition at line 134 of file gime.h.

◆ BITMAP_MODE_256x192x4

#define BITMAP_MODE_256x192x4   BITMAP4_MODE( 12 )

Definition at line 169 of file gime.h.

◆ BITMAP_MODE_256x200x16

#define BITMAP_MODE_256x200x16   BITMAP16_MODE( 13 )

Definition at line 205 of file gime.h.

◆ BITMAP_MODE_256x200x2

#define BITMAP_MODE_256x200x2   BITMAP2_MODE( 7 )

Definition at line 135 of file gime.h.

◆ BITMAP_MODE_256x200x4

#define BITMAP_MODE_256x200x4   BITMAP4_MODE( 13 )

Definition at line 170 of file gime.h.

◆ BITMAP_MODE_256x225x16

#define BITMAP_MODE_256x225x16   BITMAP16_MODE( 14 )

Definition at line 206 of file gime.h.

◆ BITMAP_MODE_256x225x2

#define BITMAP_MODE_256x225x2   BITMAP2_MODE( 8 )

Definition at line 136 of file gime.h.

◆ BITMAP_MODE_256x225x4

#define BITMAP_MODE_256x225x4   BITMAP4_MODE( 14 )

Definition at line 171 of file gime.h.

◆ BITMAP_MODE_320x192x16

#define BITMAP_MODE_320x192x16   BITMAP16_MODE( 15 )

Definition at line 208 of file gime.h.

◆ BITMAP_MODE_320x192x2

#define BITMAP_MODE_320x192x2   BITMAP2_MODE( 9 )

Definition at line 138 of file gime.h.

◆ BITMAP_MODE_320x192x4

#define BITMAP_MODE_320x192x4   BITMAP4_MODE( 15 )

Definition at line 173 of file gime.h.

◆ BITMAP_MODE_320x200x16

#define BITMAP_MODE_320x200x16   BITMAP16_MODE( 16 )

Definition at line 209 of file gime.h.

◆ BITMAP_MODE_320x200x2

#define BITMAP_MODE_320x200x2   BITMAP2_MODE( 10 )

Definition at line 139 of file gime.h.

◆ BITMAP_MODE_320x200x4

#define BITMAP_MODE_320x200x4   BITMAP4_MODE( 16 )

Definition at line 174 of file gime.h.

◆ BITMAP_MODE_320x225x16

#define BITMAP_MODE_320x225x16   BITMAP16_MODE( 17 )

Definition at line 210 of file gime.h.

◆ BITMAP_MODE_320x225x2

#define BITMAP_MODE_320x225x2   BITMAP2_MODE( 11 )

Definition at line 140 of file gime.h.

◆ BITMAP_MODE_320x225x4

#define BITMAP_MODE_320x225x4   BITMAP4_MODE( 17 )

Definition at line 175 of file gime.h.

◆ BITMAP_MODE_512x192x2

#define BITMAP_MODE_512x192x2   BITMAP2_MODE( 12 )

Definition at line 142 of file gime.h.

◆ BITMAP_MODE_512x192x4

#define BITMAP_MODE_512x192x4   BITMAP4_MODE( 18 )

Definition at line 177 of file gime.h.

◆ BITMAP_MODE_512x200x2

#define BITMAP_MODE_512x200x2   BITMAP2_MODE( 13 )

Definition at line 143 of file gime.h.

◆ BITMAP_MODE_512x200x4

#define BITMAP_MODE_512x200x4   BITMAP4_MODE( 19 )

Definition at line 178 of file gime.h.

◆ BITMAP_MODE_512x225x2

#define BITMAP_MODE_512x225x2   BITMAP2_MODE( 14 )

Definition at line 144 of file gime.h.

◆ BITMAP_MODE_512x225x4

#define BITMAP_MODE_512x225x4   BITMAP4_MODE( 20 )

Definition at line 179 of file gime.h.

◆ BITMAP_MODE_640x192x2

#define BITMAP_MODE_640x192x2   BITMAP2_MODE( 15 )

Definition at line 146 of file gime.h.

◆ BITMAP_MODE_640x192x4

#define BITMAP_MODE_640x192x4   BITMAP4_MODE( 21 )

Definition at line 181 of file gime.h.

◆ BITMAP_MODE_640x200x2

#define BITMAP_MODE_640x200x2   BITMAP2_MODE( 16 )

Definition at line 147 of file gime.h.

◆ BITMAP_MODE_640x200x4

#define BITMAP_MODE_640x200x4   BITMAP4_MODE( 22 )

Definition at line 182 of file gime.h.

◆ BITMAP_MODE_640x225x2

#define BITMAP_MODE_640x225x2   BITMAP2_MODE( 17 )

Definition at line 148 of file gime.h.

◆ BITMAP_MODE_640x225x4

#define BITMAP_MODE_640x225x4   BITMAP4_MODE( 23 )

Definition at line 183 of file gime.h.

◆ BITMAP_MODE_64x192x16

#define BITMAP_MODE_64x192x16   BITMAP16_MODE( 0 )

Definition at line 188 of file gime.h.

◆ BITMAP_MODE_64x192x4

#define BITMAP_MODE_64x192x4   BITMAP4_MODE( 0 )

Definition at line 153 of file gime.h.

◆ BITMAP_MODE_64x200x16

#define BITMAP_MODE_64x200x16   BITMAP16_MODE( 1 )

Definition at line 189 of file gime.h.

◆ BITMAP_MODE_64x200x4

#define BITMAP_MODE_64x200x4   BITMAP4_MODE( 1 )

Definition at line 154 of file gime.h.

◆ BITMAP_MODE_64x225x16

#define BITMAP_MODE_64x225x16   BITMAP16_MODE( 2 )

Definition at line 190 of file gime.h.

◆ BITMAP_MODE_64x225x4

#define BITMAP_MODE_64x225x4   BITMAP4_MODE( 2 )

Definition at line 155 of file gime.h.

◆ BITMAP_MODE_80x192x16

#define BITMAP_MODE_80x192x16   BITMAP16_MODE( 3 )

Definition at line 192 of file gime.h.

◆ BITMAP_MODE_80x192x4

#define BITMAP_MODE_80x192x4   BITMAP4_MODE( 3 )

Definition at line 157 of file gime.h.

◆ BITMAP_MODE_80x200x16

#define BITMAP_MODE_80x200x16   BITMAP16_MODE( 4 )

Definition at line 193 of file gime.h.

◆ BITMAP_MODE_80x200x4

#define BITMAP_MODE_80x200x4   BITMAP4_MODE( 4 )

Definition at line 158 of file gime.h.

◆ BITMAP_MODE_80x225x16

#define BITMAP_MODE_80x225x16   BITMAP16_MODE( 5 )

Definition at line 194 of file gime.h.

◆ BITMAP_MODE_80x225x4

#define BITMAP_MODE_80x225x4   BITMAP4_MODE( 5 )

Definition at line 159 of file gime.h.

◆ BITMAP_MODE_DEFAULT

#define BITMAP_MODE_DEFAULT   BITMAP_MODE_128x192x2

Definition at line 212 of file gime.h.

◆ BITMAP_MODE_STANDARD

#define BITMAP_MODE_STANDARD   BITMAP_MODE_DEFAULT

Definition at line 213 of file gime.h.

◆ COLOR_BLACK

#define COLOR_BLACK   0x00

Definition at line 48 of file gime.h.

◆ COLOR_BLUE

#define COLOR_BLUE   0x08

Definition at line 49 of file gime.h.

◆ COLOR_BROWN

#define COLOR_BROWN   0x06

Definition at line 80 of file gime.h.

◆ COLOR_COUNT

#define COLOR_COUNT   64

Definition at line 94 of file gime.h.

◆ COLOR_CYAN

#define COLOR_CYAN   0x18

Definition at line 61 of file gime.h.

◆ COLOR_DARK_BLUE

#define COLOR_DARK_BLUE   0x01

Definition at line 50 of file gime.h.

◆ COLOR_DARK_CYAN

#define COLOR_DARK_CYAN   0x03

Definition at line 62 of file gime.h.

◆ COLOR_DARK_GREEN

#define COLOR_DARK_GREEN   0x02

Definition at line 59 of file gime.h.

◆ COLOR_DARK_GREY

#define COLOR_DARK_GREY   0x00

Definition at line 74 of file gime.h.

◆ COLOR_DARK_RED

#define COLOR_DARK_RED   0x04

Definition at line 52 of file gime.h.

◆ COLOR_DARK_WHITE

#define COLOR_DARK_WHITE   0x07

Definition at line 72 of file gime.h.

◆ COLOR_GOLD

#define COLOR_GOLD   COLOR_YELLOW

Definition at line 92 of file gime.h.

◆ COLOR_GREEN

#define COLOR_GREEN   0x10

Definition at line 60 of file gime.h.

◆ COLOR_GREY

#define COLOR_GREY   0x07

Definition at line 75 of file gime.h.

◆ COLOR_LAVENDER

#define COLOR_LAVENDER   0x39

Definition at line 81 of file gime.h.

◆ COLOR_LIGHT_BLUE

#define COLOR_LIGHT_BLUE   0x09

Definition at line 51 of file gime.h.

◆ COLOR_LIGHT_CYAN

#define COLOR_LIGHT_CYAN   0x1b

Definition at line 71 of file gime.h.

◆ COLOR_LIGHT_GREEN

#define COLOR_LIGHT_GREEN   0x12

Definition at line 69 of file gime.h.

◆ COLOR_LIGHT_GREY

#define COLOR_LIGHT_GREY   0x38

Definition at line 76 of file gime.h.

◆ COLOR_LIGHT_MAGENTA

#define COLOR_LIGHT_MAGENTA   0x2d

Definition at line 58 of file gime.h.

◆ COLOR_LIGHT_RED

#define COLOR_LIGHT_RED   0x24

Definition at line 56 of file gime.h.

◆ COLOR_LIGHT_WHITE

#define COLOR_LIGHT_WHITE   0x3f

Definition at line 73 of file gime.h.

◆ COLOR_LIGHT_YELLOW

#define COLOR_LIGHT_YELLOW   RGB2GIME( 0xf0, 0xf0, 0x00 )

Definition at line 88 of file gime.h.

◆ COLOR_LIME

#define COLOR_LIME   RGB2GIME( 0xcc, 0xff, 0x00 )

Definition at line 85 of file gime.h.

◆ COLOR_MAGENTA

#define COLOR_MAGENTA   0x28

Definition at line 54 of file gime.h.

◆ COLOR_MAUVE

#define COLOR_MAUVE   0x2a

Definition at line 55 of file gime.h.

◆ COLOR_OLIVE_GREEN

#define COLOR_OLIVE_GREEN   0x32

Definition at line 82 of file gime.h.

◆ COLOR_ORANGE

#define COLOR_ORANGE   0x26

Definition at line 66 of file gime.h.

◆ COLOR_PASTEL_BLUE

#define COLOR_PASTEL_BLUE   0x1d

Definition at line 65 of file gime.h.

◆ COLOR_PASTEL_CYAN

#define COLOR_PASTEL_CYAN   COLOR_LIGHT_CYAN

Definition at line 87 of file gime.h.

◆ COLOR_PASTEL_GREEN

#define COLOR_PASTEL_GREEN   COLOR_LIGHT_GREEN

Definition at line 86 of file gime.h.

◆ COLOR_PASTEL_MAGENTA

#define COLOR_PASTEL_MAGENTA   RGB2GIME( 0xff, 0x00, 0xff )

Definition at line 68 of file gime.h.

◆ COLOR_PASTEL_YELLOW

#define COLOR_PASTEL_YELLOW   COLOR_LIGHT_YELLOW

Definition at line 89 of file gime.h.

◆ COLOR_PEACH

#define COLOR_PEACH   COLOR_PINK

Definition at line 93 of file gime.h.

◆ COLOR_PINK

#define COLOR_PINK   0x3c

Definition at line 67 of file gime.h.

◆ COLOR_PURPLE

#define COLOR_PURPLE   0x05

Definition at line 57 of file gime.h.

◆ COLOR_RED

#define COLOR_RED   0x20

Definition at line 53 of file gime.h.

◆ COLOR_SEA_GREEN

#define COLOR_SEA_GREEN   RGB2GIME( 0x00, 0xf0, 0x20 )

Definition at line 70 of file gime.h.

◆ COLOR_TAN

#define COLOR_TAN   0x31

Definition at line 77 of file gime.h.

◆ COLOR_TURQUOISE

#define COLOR_TURQUOISE   0x0b

Definition at line 78 of file gime.h.

◆ COLOR_VIOLET

#define COLOR_VIOLET   0x2d

Definition at line 83 of file gime.h.

◆ COLOR_WHITE

#define COLOR_WHITE   0x38

Definition at line 64 of file gime.h.

◆ COLOR_YELLOW

#define COLOR_YELLOW   0x30

Definition at line 63 of file gime.h.

◆ COLOR_YELLOW_GREEN

#define COLOR_YELLOW_GREEN   0x32

Definition at line 79 of file gime.h.

◆ DEFAULT_PAPER_COLOR

#define DEFAULT_PAPER_COLOR   COLOR_BLACK

Definition at line 97 of file gime.h.

◆ DEFAULT_PEN_COLOR

#define DEFAULT_PEN_COLOR   COLOR_WHITE

Definition at line 96 of file gime.h.

◆ DOUBLE_BUFFER_PAGE_0

#define DOUBLE_BUFFER_PAGE_0   0

Definition at line 215 of file gime.h.

◆ DOUBLE_BUFFER_PAGE_1

#define DOUBLE_BUFFER_PAGE_1   8

Definition at line 216 of file gime.h.

◆ IMAGE_HEIGHT_OFFSET

#define IMAGE_HEIGHT_OFFSET   2

Definition at line 238 of file gime.h.

◆ IMAGE_HEIGHT_SIZE

#define IMAGE_HEIGHT_SIZE   1

Definition at line 237 of file gime.h.

◆ IMAGE_WIDTH_OFFSET

#define IMAGE_WIDTH_OFFSET   0

Definition at line 236 of file gime.h.

◆ IMAGE_WIDTH_SIZE

#define IMAGE_WIDTH_SIZE   2

Definition at line 235 of file gime.h.

◆ RGB2GIME

#define RGB2GIME ( r,
g,
b )
Value:
( ( (r/64) & 0x02 ) << (5-1) ) | ( ( (g/64) & 0x02 ) << (4-1) ) | ( ( (b/64) & 0x02 ) << (3-1) ) | ( ( (r/64) & 0x01 ) << 2 ) | ( ( (g/64) & 0x01 ) << 1 ) | ( ( (b/64) & 0x01 ) )

Definition at line 46 of file gime.h.

◆ SCREEN_BORDER_X

#define SCREEN_BORDER_X   0

Definition at line 228 of file gime.h.

◆ SCREEN_BORDER_Y

#define SCREEN_BORDER_Y   0

Definition at line 229 of file gime.h.

◆ SCREEN_SPRITE_RATIO_X

#define SCREEN_SPRITE_RATIO_X   100

Definition at line 226 of file gime.h.

◆ SCREEN_SPRITE_RATIO_Y

#define SCREEN_SPRITE_RATIO_Y   100

Definition at line 227 of file gime.h.

◆ SPRITE_COUNT [1/2]

#define SPRITE_COUNT   0

Definition at line 218 of file gime.h.

◆ SPRITE_COUNT [2/2]

#define SPRITE_COUNT   0

Definition at line 218 of file gime.h.

◆ SPRITE_HEIGHT [1/2]

#define SPRITE_HEIGHT   0

Definition at line 220 of file gime.h.

◆ SPRITE_HEIGHT [2/2]

#define SPRITE_HEIGHT   0

Definition at line 220 of file gime.h.

◆ SPRITE_WIDTH [1/2]

#define SPRITE_WIDTH   0

Definition at line 219 of file gime.h.

◆ SPRITE_WIDTH [2/2]

#define SPRITE_WIDTH   0

Definition at line 219 of file gime.h.

◆ SPRITE_X_MAX

#define SPRITE_X_MAX   0

Definition at line 223 of file gime.h.

◆ SPRITE_X_MIN

#define SPRITE_X_MIN   0

Definition at line 221 of file gime.h.

◆ SPRITE_Y_MAX

#define SPRITE_Y_MAX   0

Definition at line 224 of file gime.h.

◆ SPRITE_Y_MIN

#define SPRITE_Y_MIN   0

Definition at line 222 of file gime.h.

◆ TEXT_COLUMNS_COUNT

#define TEXT_COLUMNS_COUNT   40

Definition at line 99 of file gime.h.

◆ TEXT_ROWS_COUNT

#define TEXT_ROWS_COUNT   25

Definition at line 100 of file gime.h.

◆ TILEMAP_MODE

#define TILEMAP_MODE ( x)
Value:
(0x00 | ( x & 0x0f ) )

Definition at line 102 of file gime.h.

◆ TILEMAP_MODE_32X24

#define TILEMAP_MODE_32X24   TILEMAP_MODE( 0 )

Definition at line 110 of file gime.h.

◆ TILEMAP_MODE_32X25

#define TILEMAP_MODE_32X25   TILEMAP_MODE( 1 )

Definition at line 111 of file gime.h.

◆ TILEMAP_MODE_32X28

#define TILEMAP_MODE_32X28   TILEMAP_MODE( 2 )

Definition at line 112 of file gime.h.

◆ TILEMAP_MODE_40X24

#define TILEMAP_MODE_40X24   TILEMAP_MODE( 3 )

Definition at line 113 of file gime.h.

◆ TILEMAP_MODE_40X25

#define TILEMAP_MODE_40X25   TILEMAP_MODE( 4 )

Definition at line 114 of file gime.h.

◆ TILEMAP_MODE_40X28

#define TILEMAP_MODE_40X28   TILEMAP_MODE( 5 )

Definition at line 115 of file gime.h.

◆ TILEMAP_MODE_64X24

#define TILEMAP_MODE_64X24   TILEMAP_MODE( 6 )

Definition at line 116 of file gime.h.

◆ TILEMAP_MODE_64X25

#define TILEMAP_MODE_64X25   TILEMAP_MODE( 7 )

Definition at line 117 of file gime.h.

◆ TILEMAP_MODE_64X28

#define TILEMAP_MODE_64X28   TILEMAP_MODE( 8 )

Definition at line 118 of file gime.h.

◆ TILEMAP_MODE_80X24

#define TILEMAP_MODE_80X24   TILEMAP_MODE( 9 )

Definition at line 119 of file gime.h.

◆ TILEMAP_MODE_80X25

#define TILEMAP_MODE_80X25   TILEMAP_MODE( 10 )

Definition at line 120 of file gime.h.

◆ TILEMAP_MODE_80X28

#define TILEMAP_MODE_80X28   TILEMAP_MODE( 11 )

Definition at line 121 of file gime.h.

Function Documentation

◆ gime_back()

void gime_back ( Environment * _environment)

Definition at line 1795 of file gime.c.

◆ gime_background_color()

void gime_background_color ( Environment * _environment,
char * _index,
char * _background_color )

VIC-II: emit code to change background color

This function can be used to issue code aimed at changing the background color of the screen.

Parameters
_environmentCurrent calling environment
_indexIndex of the background color
_background_colorBackground color to use

Definition at line 184 of file gime.c.

◆ gime_background_color_get_vars()

void gime_background_color_get_vars ( Environment * _environment,
char * _index,
char * _background_color )

Definition at line 166 of file gime.c.

◆ gime_bank_select()

void gime_bank_select ( Environment * _environment,
int _bank )

Definition at line 256 of file gime.c.

◆ gime_bitmap_at()

void gime_bitmap_at ( Environment * _environment,
char * _address )

Definition at line 1266 of file gime.c.

◆ gime_bitmap_disable()

void gime_bitmap_disable ( Environment * _environment)

Definition at line 1243 of file gime.c.

◆ gime_bitmap_enable()

void gime_bitmap_enable ( Environment * _environment,
int _width,
int _height,
int _colors )

Definition at line 1225 of file gime.c.

◆ gime_blit_image()

void gime_blit_image ( Environment * _environment,
char * _sources[],
int _source_count,
char * _blit,
char * _x,
char * _y,
char * _frame,
char * _sequence,
int _frame_size,
int _frame_count,
int _flags )

Definition at line 2750 of file gime.c.

◆ gime_border_color()

void gime_border_color ( Environment * _environment,
char * _border_color )

VIC-II: emit code to change border color

This function can be used to issue code aimed at changing the border color of the screen.

Parameters
_environmentCurrent calling environment
_border_colorBorder color to use

Definition at line 159 of file gime.c.

◆ gime_calculate_sequence_frame_offset()

void gime_calculate_sequence_frame_offset ( Environment * _environment,
char * _offset,
char * _sequence,
char * _frame,
int _frame_size,
int _frame_count )

Definition at line 3010 of file gime.c.

◆ gime_cline()

void gime_cline ( Environment * _environment,
char * _characters )

Definition at line 1799 of file gime.c.

◆ gime_cls()

void gime_cls ( Environment * _environment)

Definition at line 1453 of file gime.c.

◆ gime_cls_box()

void gime_cls_box ( Environment * _environment,
char * _x1,
char * _y1,
char * _w,
char * _h )

Definition at line 1467 of file gime.c.

◆ gime_collision()

void gime_collision ( Environment * _environment,
char * _sprite_mask,
char * _result )

VIC-II: emit code to check for collision

This function can be used to issue code aimed at verifying if a sprite has had a collision with another sprite. The result (0 = no collision, 0xff = collision occurred) is returned in the output variable.

Parameters
_environmentCurrent calling environment
_sprite_maskSprite mask to use
_resultWhere to store the result

Definition at line 131 of file gime.c.

◆ gime_colormap_at()

void gime_colormap_at ( Environment * _environment,
char * _address )

Definition at line 1270 of file gime.c.

◆ gime_finalization()

void gime_finalization ( Environment * _environment)

Definition at line 1724 of file gime.c.

◆ gime_flip_image()

void gime_flip_image ( Environment * _environment,
Resource * _image,
char * _frame,
char * _sequence,
int _frame_size,
int _frame_count,
char * _direction )

Definition at line 3057 of file gime.c.

◆ gime_get_height()

void gime_get_height ( Environment * _environment,
char * _result )

Definition at line 1446 of file gime.c.

◆ gime_get_image()

void gime_get_image ( Environment * _environment,
char * _image,
char * _x,
char * _y,
char * _frame,
char * _sequence,
int _frame_size,
int _frame_count,
int _palette )

Definition at line 2941 of file gime.c.

◆ gime_get_raster_line()

Variable * gime_get_raster_line ( Environment * _environment)

Definition at line 2984 of file gime.c.

◆ gime_get_width()

void gime_get_width ( Environment * _environment,
char * _result )

Definition at line 1432 of file gime.c.

◆ gime_hit()

void gime_hit ( Environment * _environment,
char * _sprite_mask,
char * _result )

VIC-II: emit code to check for collision

This function can be used to issue code aimed at verifying if a sprite has had a collision with a tile. The result (0 = no collision, 0xff = collision occurred) is returned in the output variable.

Parameters
_environmentCurrent calling environment
_sprite_maskSprite mask to use
_resultWhere to store the result

Definition at line 146 of file gime.c.

◆ gime_horizontal_scroll()

void gime_horizontal_scroll ( Environment * _environment,
char * _displacement )

Definition at line 1425 of file gime.c.

◆ gime_hscroll_line()

void gime_hscroll_line ( Environment * _environment,
int _direction,
int _overlap )

Definition at line 1765 of file gime.c.

◆ gime_hscroll_screen()

void gime_hscroll_screen ( Environment * _environment,
int _direction,
int _overlap )

Definition at line 1782 of file gime.c.

◆ gime_image_converter()

Variable * gime_image_converter ( Environment * _environment,
char * _data,
int _width,
int _height,
int _depth,
int _offset_x,
int _offset_y,
int _frame_width,
int _frame_height,
int _mode,
int _transparent_color,
int _flags )

Definition at line 2588 of file gime.c.

◆ gime_image_size()

int gime_image_size ( Environment * _environment,
int _width,
int _height,
int _mode )

Definition at line 1825 of file gime.c.

◆ gime_initialization()

void gime_initialization ( Environment * _environment)

Definition at line 1538 of file gime.c.

◆ gime_move_tiles()

void gime_move_tiles ( Environment * _environment,
char * _image,
char * _x,
char * _y )

Definition at line 2971 of file gime.c.

◆ gime_new_image()

Variable * gime_new_image ( Environment * _environment,
int _width,
int _height,
int _mode )

Definition at line 2852 of file gime.c.

◆ gime_new_images()

Variable * gime_new_images ( Environment * _environment,
int _frames,
int _width,
int _height,
int _mode )

Definition at line 2876 of file gime.c.

◆ gime_new_sequence()

Variable * gime_new_sequence ( Environment * _environment,
int _sequences,
int _frames,
int _width,
int _height,
int _mode )

Definition at line 2908 of file gime.c.

◆ gime_next_raster()

void gime_next_raster ( Environment * _environment)

VIC-II: emit code to wait for next raster irq

This function outputs assembly code needed to wait for the next raster. Meanwhile, the execution of the main code will resume where it left off.

Parameters
_environmentCurrent calling environment

Definition at line 235 of file gime.c.

◆ gime_next_raster_at()

void gime_next_raster_at ( Environment * _environment,
char * _label,
char * _positionlo,
char * _positionhi )

VIC-II: emit code to wait for next raster irq at different position

This function outputs assembly code needed to wait for the next raster on a different position with a different code to execute. Meanwhile, the execution of the main code will resume where it left off.

Parameters
_environmentCurrent calling environment
_labelLabel to jump to when vertical raster reach the value given
_positionloThe vertical position to wait for (bits 7..0)
_positionhiThe vertical position to wait for (bit 8)

Definition at line 252 of file gime.c.

◆ gime_palette_extract()

int gime_palette_extract ( Environment * _environment,
char * _data,
int _width,
int _height,
int _depth,
int _flags,
RGBi * _palette )

Definition at line 2996 of file gime.c.

◆ gime_pget_color_vars()

void gime_pget_color_vars ( Environment * _environment,
char * _x,
char * _y,
char * _result )

Definition at line 1328 of file gime.c.

◆ gime_pset_int()

void gime_pset_int ( Environment * _environment,
int _x,
int _y,
int * _c )

Definition at line 1278 of file gime.c.

◆ gime_pset_vars()

void gime_pset_vars ( Environment * _environment,
char * _x,
char * _y,
char * _c )

Definition at line 1301 of file gime.c.

◆ gime_put_image()

void gime_put_image ( Environment * _environment,
Resource * _image,
char * _x,
char * _y,
char * _frame,
char * _sequence,
int _frame_size,
int _frame_count,
char * _flags )

Definition at line 2802 of file gime.c.

◆ gime_put_tile()

void gime_put_tile ( Environment * _environment,
char * _image,
char * _x,
char * _y )

Definition at line 2963 of file gime.c.

◆ gime_put_tiles()

void gime_put_tiles ( Environment * _environment,
char * _image,
char * _x,
char * _y,
char * _w,
char * _h )

Definition at line 2975 of file gime.c.

◆ gime_raster_at()

void gime_raster_at ( Environment * _environment,
char * _label,
char * _positionlo,
char * _positionhi )

VIC-II: emit code to set raster irq

This function outputs assembly code needed to initialize a raster routine. In other words, asynchronously and in parallel with the execution of the main program, the routine starting from the label provided will be executed when the vertical brush on the screen reaches the value of _position. This function is particularly useful when the position is communicated is given as an integer.

Parameters
_environmentCurrent calling environment
_labelLabel to jump to when vertical raster reach the value given
_positionloThe vertical position to wait for (bits 7..0)
_positionhiThe vertical position to wait for (bit 8)

Definition at line 221 of file gime.c.

◆ gime_screen()

void gime_screen ( Environment * _environment,
char * _x,
char * _y,
char * _c )

Definition at line 3099 of file gime.c.

◆ gime_screen_columns()

void gime_screen_columns ( Environment * _environment,
char * _columns )

Definition at line 1361 of file gime.c.

◆ gime_screen_mode_enable()

int gime_screen_mode_enable ( Environment * _environment,
ScreenMode * _screen_mode )

Definition at line 390 of file gime.c.

◆ gime_screen_off()

void gime_screen_off ( Environment * _environment)

Definition at line 1353 of file gime.c.

◆ gime_screen_on()

void gime_screen_on ( Environment * _environment)

Definition at line 1349 of file gime.c.

◆ gime_screen_rows()

void gime_screen_rows ( Environment * _environment,
char * _rows )

Definition at line 1357 of file gime.c.

◆ gime_scroll()

void gime_scroll ( Environment * _environment,
int _dx,
int _dy )

Definition at line 2959 of file gime.c.

◆ gime_scroll_text()

void gime_scroll_text ( Environment * _environment,
int _direction,
int _overlap )

Definition at line 1488 of file gime.c.

◆ gime_slice_image()

void gime_slice_image ( Environment * _environment,
char * _image,
char * _frame,
char * _sequence,
int _frame_size,
int _frame_count,
char * _destination )

Definition at line 2992 of file gime.c.

◆ gime_sprite_at()

void gime_sprite_at ( Environment * _environment,
char * _sprite,
char * _x,
char * _y )

Definition at line 1381 of file gime.c.

◆ gime_sprite_color()

void gime_sprite_color ( Environment * _environment,
char * _sprite,
char * _color )

Definition at line 1409 of file gime.c.

◆ gime_sprite_common_color()

void gime_sprite_common_color ( Environment * _environment,
char * _index,
char * _common_color )

VIC-II: emit code to change common sprite's color

This function can be used to issue code aimed at changing the common color of the sprites.

Parameters
_environmentCurrent calling environment
_indexIndex of the background color
_common_colorIndex of the color to use

Definition at line 202 of file gime.c.

◆ gime_sprite_compress_horizontal()

void gime_sprite_compress_horizontal ( Environment * _environment,
char * _sprite )

Definition at line 1397 of file gime.c.

◆ gime_sprite_compress_vertical()

void gime_sprite_compress_vertical ( Environment * _environment,
char * _sprite )

Definition at line 1393 of file gime.c.

◆ gime_sprite_data_from()

void gime_sprite_data_from ( Environment * _environment,
char * _sprite,
char * _address )

Definition at line 1365 of file gime.c.

◆ gime_sprite_data_set()

void gime_sprite_data_set ( Environment * _environment,
char * _sprite,
char * _address )

Definition at line 1369 of file gime.c.

◆ gime_sprite_disable()

void gime_sprite_disable ( Environment * _environment,
char * _sprite )

Definition at line 1377 of file gime.c.

◆ gime_sprite_enable()

void gime_sprite_enable ( Environment * _environment,
char * _sprite )

Definition at line 1373 of file gime.c.

◆ gime_sprite_expand_horizontal()

void gime_sprite_expand_horizontal ( Environment * _environment,
char * _sprite )

Definition at line 1389 of file gime.c.

◆ gime_sprite_expand_vertical()

void gime_sprite_expand_vertical ( Environment * _environment,
char * _sprite )

Definition at line 1385 of file gime.c.

◆ gime_sprite_monocolor()

void gime_sprite_monocolor ( Environment * _environment,
char * _sprite )

Definition at line 1405 of file gime.c.

◆ gime_sprite_multicolor()

void gime_sprite_multicolor ( Environment * _environment,
char * _sprite )

Definition at line 1401 of file gime.c.

◆ gime_sprite_priority()

void gime_sprite_priority ( Environment * _environment,
char * _sprite,
char * _priority )

Definition at line 1413 of file gime.c.

◆ gime_text()

void gime_text ( Environment * _environment,
char * _text,
char * _text_size,
int _raw )

Definition at line 1501 of file gime.c.

◆ gime_textmap_at()

void gime_textmap_at ( Environment * _environment,
char * _address )

Definition at line 1274 of file gime.c.

◆ gime_tile_at()

void gime_tile_at ( Environment * _environment,
char * _x,
char * _y,
char * _result )

Definition at line 2967 of file gime.c.

◆ gime_tilemap_enable()

void gime_tilemap_enable ( Environment * _environment,
int _width,
int _height,
int _colors,
int _tile_width,
int _tile_height )

Definition at line 1247 of file gime.c.

◆ gime_tiles_at()

void gime_tiles_at ( Environment * _environment,
char * _address )

Definition at line 1417 of file gime.c.

◆ gime_tiles_get()

void gime_tiles_get ( Environment * _environment,
char * _result )

Definition at line 1439 of file gime.c.

◆ gime_use_tileset()

void gime_use_tileset ( Environment * _environment,
char * _tileset )

Definition at line 2980 of file gime.c.

◆ gime_vertical_scroll()

void gime_vertical_scroll ( Environment * _environment,
char * _displacement )

Definition at line 1421 of file gime.c.