Previous: , Up: C API   [Contents][Index]


5.49 libvox

5.49.1 Overview

View lcov test coverage results on http://www.ufoot.org/liquidwar/v6/doc/coverage/src/lib/vox/index.html.

5.49.2 API

Function: lw6vox_renderer_t * lw6vox_renderer_new (lw6sys_context_t * sys_context, lw6ker_game_state_t * game_state)

sys_context: global system context

game_state: the game state to use

Creates a voxel rendering object (todo, not implemented yet).

Return value: renderer object

Function: void lw6vox_renderer_free (lw6sys_context_t * sys_context, lw6vox_renderer_t * renderer)

sys_context: global system context

renderer: the renderer object

Frees a voxel rendering object (todo, not implemented yet).

Return value: none

Function: int lw6vox_test_register (lw6sys_context_t * sys_context, int mode)

sys_context: global system context

mode: test mode (bitmask)

Registers all tests for the libvox module.

Return value: 1 if test is successfull, 0 on error.

Function: int lw6vox_test_run (lw6sys_context_t * sys_context, int mode)

sys_context: global system context

mode: test mode (bitmask)

Runs the vox module test suite, testing most (if not all...) functions.

Return value: 1 if test is successfull, 0 on error.

Struct: lw6vox_renderer_s

Voxel renderer object, not implemented yet.

Member of lw6vox_renderer_s: dummy

Type: int

Definition: int lw6vox_renderer_s::dummy

Todo...