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

Go to the source code of this file.

Macros

#define GIME_MODE(_graphics, _linesize)
#define GIME_TEXT()
#define GIME_GRAPH()
#define GIME_24ROWS   0
#define GIME_25ROWS   1
#define GIME_UNUSED   2
#define GIME_28ROWS   3
#define GIME_HRES_32COLS   0
#define GIME_CRES_32COLS   1
#define GIME_HRES_40COLS   1
#define GIME_CRES_40COLS   1
#define GIME_HRES_64COLS   4
#define GIME_CRES_64COLS   1
#define GIME_HRES_80COLS   5
#define GIME_CRES_80COLS   1
#define GIME_2COLORS   0
#define GIME_4COLORS   1
#define GIME_16COLORS   2
#define GIME_32COLORS   3
#define GIME_128PIXELS   0
#define GIME_160PIXELS   1
#define GIME_256PIXELS   2
#define GIME_320PIXELS   3
#define GIME_512PIXELS   4
#define GIME_640PIXELS   5
#define GIME_1024PIXELS   6
#define GIME_1280PIXELS   7
#define GIME_RESOLUTION(_hres, _cres, _vres)
#define GIME_ADDRESS(_address)
#define GIME_128K()
#define GIME_512K()

Functions

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_border_color (Environment *_environment, char *_border_color)
 VIC-II: emit code to change border color
void gime_background_color_get_vars (Environment *_environment, char *_index, char *_background_color)
void gime_background_color (Environment *_environment, char *_index, char *_background_color)
 VIC-II: emit code to change background color
void gime_sprite_common_color (Environment *_environment, char *_index, char *_common_color)
 VIC-II: emit code to change common sprite's color
void gime_raster_at (Environment *_environment, char *_label, char *_positionlo, char *_positionhi)
 VIC-II: emit code to set raster irq
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_bank_select (Environment *_environment, int _bank)
void console_calculate (Environment *_environment)
void console_calculate_vars (Environment *_environment)
int gime_screen_mode_enable (Environment *_environment, ScreenMode *_screen_mode)
void gime_bitmap_enable (Environment *_environment, int _width, int _height, int _colors)
void gime_bitmap_disable (Environment *_environment)
void gime_tilemap_enable (Environment *_environment, int _width, int _height, int _colors, int _tile_width, int _tile_height)
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_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_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_tiles_at (Environment *_environment, char *_address)
void gime_vertical_scroll (Environment *_environment, char *_displacement)
void gime_horizontal_scroll (Environment *_environment, char *_displacement)
void gime_get_width (Environment *_environment, char *_result)
void gime_tiles_get (Environment *_environment, char *_result)
void gime_get_height (Environment *_environment, 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_text (Environment *_environment, char *_text, char *_text_size, int _raw)
void gime_initialization (Environment *_environment)
void gime_finalization (Environment *_environment)
void gime_hscroll_line (Environment *_environment, int _direction, int _overlap)
void gime_hscroll_screen (Environment *_environment, int _direction, int _overlap)
void gime_back (Environment *_environment)
void gime_cline (Environment *_environment, char *_characters)
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_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)
void gime_put_image (Environment *_environment, Resource *_image, char *_x, char *_y, char *_frame, char *_sequence, int _frame_size, int _frame_count, char *_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_scroll (Environment *_environment, int _dx, int _dy)
void gime_put_tile (Environment *_environment, char *_tile, char *_x, char *_y)
void gime_tile_at (Environment *_environment, char *_x, char *_y, char *_result)
void gime_move_tiles (Environment *_environment, char *_tile, char *_x, char *_y)
void gime_put_tiles (Environment *_environment, char *_tile, char *_x, char *_y, char *_w, char *_h)
void gime_use_tileset (Environment *_environment, char *_tileset)
Variablegime_get_raster_line (Environment *_environment)
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)
void gime_flash_begin (Environment *_environment, char *_index, char *_register)
void gime_flash_register (Environment *_environment, char *_index, char *_timer, char *_color)
void gime_flash_end (Environment *_environment)

Variables

int lastUsedSlotInCommonPalette = 0

Macro Definition Documentation

◆ GIME_1024PIXELS

#define GIME_1024PIXELS   6

Definition at line 298 of file gime.c.

◆ GIME_1280PIXELS

#define GIME_1280PIXELS   7

Definition at line 299 of file gime.c.

◆ GIME_128K

#define GIME_128K ( )
Value:
GIME_ADDRESS( 0x60000 )
#define GIME_ADDRESS(_address)
Definition gime.c:305

Definition at line 311 of file gime.c.

◆ GIME_128PIXELS

#define GIME_128PIXELS   0

Definition at line 292 of file gime.c.

◆ GIME_160PIXELS

#define GIME_160PIXELS   1

Definition at line 293 of file gime.c.

◆ GIME_16COLORS

#define GIME_16COLORS   2

Definition at line 289 of file gime.c.

◆ GIME_24ROWS

#define GIME_24ROWS   0

Definition at line 270 of file gime.c.

◆ GIME_256PIXELS

#define GIME_256PIXELS   2

Definition at line 294 of file gime.c.

◆ GIME_25ROWS

#define GIME_25ROWS   1

Definition at line 271 of file gime.c.

◆ GIME_28ROWS

#define GIME_28ROWS   3

Definition at line 273 of file gime.c.

◆ GIME_2COLORS

#define GIME_2COLORS   0

Definition at line 287 of file gime.c.

◆ GIME_320PIXELS

#define GIME_320PIXELS   3

Definition at line 295 of file gime.c.

◆ GIME_32COLORS

#define GIME_32COLORS   3

Definition at line 290 of file gime.c.

◆ GIME_4COLORS

#define GIME_4COLORS   1

Definition at line 288 of file gime.c.

◆ GIME_512K

#define GIME_512K ( )
Value:
GIME_\‍( 0x00000 )

Definition at line 312 of file gime.c.

◆ GIME_512PIXELS

#define GIME_512PIXELS   4

Definition at line 296 of file gime.c.

◆ GIME_640PIXELS

#define GIME_640PIXELS   5

Definition at line 297 of file gime.c.

◆ GIME_ADDRESS

#define GIME_ADDRESS ( _address)
Value:
outline1( "LDD #$%4.4x", ( _address >> 3 ) ); \
outline0( "STA GIMEVOFF1" ); \
outline0( "STB GIMEVOFF0" ); \
outline0( "CLR GIMEHOFF" );
#define outline1(s, a)
Definition ugbc.h:4253

Definition at line 305 of file gime.c.

◆ GIME_CRES_32COLS

#define GIME_CRES_32COLS   1

Definition at line 276 of file gime.c.

◆ GIME_CRES_40COLS

#define GIME_CRES_40COLS   1

Definition at line 279 of file gime.c.

◆ GIME_CRES_64COLS

#define GIME_CRES_64COLS   1

Definition at line 282 of file gime.c.

◆ GIME_CRES_80COLS

#define GIME_CRES_80COLS   1

Definition at line 285 of file gime.c.

◆ GIME_GRAPH

#define GIME_GRAPH ( )
Value:
GIME_MODE( 1, 1 )
#define GIME_MODE(_graphics, _linesize)
Definition gime.c:260

Definition at line 268 of file gime.c.

◆ GIME_HRES_32COLS

#define GIME_HRES_32COLS   0

Definition at line 275 of file gime.c.

◆ GIME_HRES_40COLS

#define GIME_HRES_40COLS   1

Definition at line 278 of file gime.c.

◆ GIME_HRES_64COLS

#define GIME_HRES_64COLS   4

Definition at line 281 of file gime.c.

◆ GIME_HRES_80COLS

#define GIME_HRES_80COLS   5

Definition at line 284 of file gime.c.

◆ GIME_MODE

#define GIME_MODE ( _graphics,
_linesize )
Value:
outline0( "LDA GIMEVIDM" ); \
outline0( "ANDA #$8" ); \
outline1( "ORA #$%2.2x", ( ( _graphics & 0x01 ) << 7 ) | ( _linesize & 0x03 ) ); \
outline0( "STA GIMEVIDM" ); \
outline0( "STA GIMEVIDMSHADOW" );
#define outline0(s)
Definition ugbc.h:4252

Definition at line 260 of file gime.c.

◆ GIME_RESOLUTION

#define GIME_RESOLUTION ( _hres,
_cres,
_vres )
Value:
outline1( "LDA #$%2.2x", ( ( _vres & 0x03 ) << 5 ) | ( ( _hres & 0x07 ) << 2 ) | ( ( _cres & 0x03 ) ) ); \
outline0( "STA GIMEVIDR" );

Definition at line 301 of file gime.c.

◆ GIME_TEXT

#define GIME_TEXT ( )
Value:
GIME_MODE( 0, 3 )

Definition at line 267 of file gime.c.

◆ GIME_UNUSED

#define GIME_UNUSED   2

Definition at line 272 of file gime.c.

Function Documentation

◆ console_calculate()

void console_calculate ( Environment * _environment)

Definition at line 314 of file gime.c.

◆ console_calculate_vars()

void console_calculate_vars ( Environment * _environment)

Definition at line 382 of file gime.c.

◆ 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_flash_begin()

void gime_flash_begin ( Environment * _environment,
char * _index,
char * _register )

Definition at line 3111 of file gime.c.

◆ gime_flash_end()

void gime_flash_end ( Environment * _environment)

Definition at line 3138 of file gime.c.

◆ gime_flash_register()

void gime_flash_register ( Environment * _environment,
char * _index,
char * _timer,
char * _color )

Definition at line 3127 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 * _tile,
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 * _tile,
char * _x,
char * _y )

Definition at line 2963 of file gime.c.

◆ gime_put_tiles()

void gime_put_tiles ( Environment * _environment,
char * _tile,
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.

Variable Documentation

◆ lastUsedSlotInCommonPalette

int lastUsedSlotInCommonPalette = 0

Definition at line 108 of file gime.c.