SCM window_size = scm_list_2 (scm_from_uint32 (640),
scm_from_uint32 (480));
SCM bits = scm_from_uint32 (16);
- SCM fullscreen = scm_from_bool (0);
- SCM stencilbuffer = scm_from_bool (0);
- SCM vsync = scm_from_bool (0);
- SCM receiver = scm_from_bool (0);
+ SCM fullscreen = SCM_BOOL_F;
+ SCM stencilbuffer = SCM_BOOL_F;
+ SCM vsync = SCM_BOOL_F;
+ SCM receiver = SCM_BOOL_F;
scm_c_bind_keyword_arguments ("create-device", rest, (scm_t_keyword_arguments_flags)0,
scm_from_utf8_keyword ("device-type"), &device_type,
SCM blend_operation = scm_from_utf8_symbol ("none");
SCM polygon_offset_factor = scm_from_uint8 (0);
SCM polygon_offset_direction = scm_from_utf8_symbol ("front");
- SCM wireframe = scm_from_bool (0);
- SCM point_cloud = scm_from_bool (0);
- SCM gouraud_shading = scm_from_bool (1);
- SCM lighting = scm_from_bool (1);
- SCM z_write_enable = scm_from_bool (1);
- SCM backface_culling = scm_from_bool (1);
- SCM frontface_culling = scm_from_bool (0);
- SCM fog_enable = scm_from_bool (0);
- SCM normalize_normals = scm_from_bool (0);
- SCM use_mip_maps = scm_from_bool (1);
+ SCM wireframe = SCM_BOOL_F;
+ SCM point_cloud = SCM_BOOL_F;
+ SCM gouraud_shading = SCM_BOOL_T;
+ SCM lighting = SCM_BOOL_T;
+ SCM z_write_enable = SCM_BOOL_T;
+ SCM backface_culling = SCM_BOOL_T;
+ SCM frontface_culling = SCM_BOOL_F;
+ SCM fog_enable = SCM_BOOL_F;
+ SCM normalize_normals = SCM_BOOL_F;
+ SCM use_mip_maps = SCM_BOOL_T;
scm_c_bind_keyword_arguments
("make-material", rest, (scm_t_keyword_arguments_flags)0,
SCM mesh,
SCM rest)
{
- SCM parent = scm_from_bool (0);
+ SCM parent = SCM_BOOL_F;
SCM id = scm_from_int32 (-1);
SCM position = scm_list_3 (scm_from_double (0),
scm_from_double (0),
SCM scale = scm_list_3 (scm_from_double (1),
scm_from_double (1),
scm_from_double (1));
- SCM also_add_if_mesh_pointer_zero = scm_from_bool (0);
+ SCM also_add_if_mesh_pointer_zero = SCM_BOOL_F;
scm_c_bind_keyword_arguments ("add-animated-mesh-scene-node!", rest, (scm_t_keyword_arguments_flags)0,
scm_from_utf8_keyword ("parent"), &parent,
irr_scene_addCameraSceneNode (SCM wrapped_scene_manager,
SCM rest)
{
- SCM parent = scm_from_bool (0);
+ SCM parent = SCM_BOOL_F;
SCM position = scm_list_3 (scm_from_double (0),
scm_from_double (0),
scm_from_double (0));
scm_from_double (0),
scm_from_double (100));
SCM id = scm_from_int32 (-1);
- SCM make_active = scm_from_bool (1);
+ SCM make_active = SCM_BOOL_T;
scm_c_bind_keyword_arguments ("add-camera-scene-node!", rest, (scm_t_keyword_arguments_flags)0,
scm_from_utf8_keyword ("parent"), &parent,
irr_scene_addCameraSceneNodeFPS (SCM wrapped_scene_manager,
SCM rest)
{
- SCM parent = scm_from_bool (0);
+ SCM parent = SCM_BOOL_F;
SCM rotate_speed = scm_from_double (100);
SCM move_speed = scm_from_double (0.5);
SCM id = scm_from_int32 (-1);
- SCM key_map_array = scm_from_bool (0);
+ SCM key_map_array = SCM_BOOL_F;
SCM key_map_size = scm_from_int32 (0);
- SCM no_vertical_movement = scm_from_bool (0);
+ SCM no_vertical_movement = SCM_BOOL_F;
SCM jump_speed = scm_from_double (0);
- SCM invert_mouse = scm_from_bool (0);
- SCM make_active = scm_from_bool (1);
+ SCM invert_mouse = SCM_BOOL_F;
+ SCM make_active = SCM_BOOL_T;
scm_c_bind_keyword_arguments ("add-camera-scene-node-fps!", rest, (scm_t_keyword_arguments_flags)0,
scm_from_utf8_keyword ("parent"), &parent,
SCM rest)
{
SCM size = scm_from_double (10);
- SCM parent = scm_from_bool (0);
+ SCM parent = SCM_BOOL_F;
SCM id = scm_from_int32 (-1);
SCM position = scm_list_3 (scm_from_double (0),
scm_from_double (0),
SCM wrapped_mesh,
SCM rest)
{
- SCM parent = scm_from_bool (0);
+ SCM parent = SCM_BOOL_F;
SCM id = scm_from_int32 (-1);
SCM minimal_polys_per_node = scm_from_int32 (256);
- SCM also_add_if_mesh_pointer_zero = scm_from_bool (0);
+ SCM also_add_if_mesh_pointer_zero = SCM_BOOL_F;
scm_c_bind_keyword_arguments ("add-octree-scene-node!", rest, (scm_t_keyword_arguments_flags)0,
scm_from_utf8_keyword ("parent"), &parent,
{
SCM radius = scm_from_double (5.0);
SCM poly_count = scm_from_int32 (16);
- SCM parent = scm_from_bool (0);
+ SCM parent = SCM_BOOL_F;
SCM id = scm_from_int32 (-1);
SCM position = scm_list_3 (scm_from_double (0),
scm_from_double (0),
SCM time_for_way,
SCM rest)
{
- SCM loop = scm_from_bool (0);
- SCM pingpong = scm_from_bool (0);
+ SCM loop = SCM_BOOL_F;
+ SCM pingpong = SCM_BOOL_F;
scm_c_bind_keyword_arguments ("create-fly-straight-animator", rest, (scm_t_keyword_arguments_flags)0,
scm_from_utf8_keyword ("loop"), &loop,