Deliantra-Client

 view release on metacpan or  search on metacpan

Client.xs  view on Meta::CPAN

	const_iv (KMOD_NONE),
	const_iv (KMOD_SHIFT),
	const_iv (KMOD_LSHIFT),
	const_iv (KMOD_RSHIFT),
	const_iv (KMOD_CTRL),
	const_iv (KMOD_LCTRL),
	const_iv (KMOD_RCTRL),
	const_iv (KMOD_ALT),
	const_iv (KMOD_LALT),
	const_iv (KMOD_RALT),
	const_iv (KMOD_META),
	const_iv (KMOD_LMETA),
	const_iv (KMOD_RMETA),
	const_iv (KMOD_NUM),
	const_iv (KMOD_CAPS),
	const_iv (KMOD_MODE),

        const_iv (KMOD_LRAM),

        const_iv (MIX_DEFAULT_FORMAT),

	const_iv (SDL_INIT_TIMER),
	const_iv (SDL_INIT_AUDIO),
	const_iv (SDL_INIT_VIDEO),
	const_iv (SDL_INIT_CDROM),
	const_iv (SDL_INIT_JOYSTICK),
	const_iv (SDL_INIT_EVERYTHING),
	const_iv (SDL_INIT_NOPARACHUTE),
	const_iv (SDL_INIT_EVENTTHREAD),

	const_iv (SDL_GL_RED_SIZE),
	const_iv (SDL_GL_GREEN_SIZE),
	const_iv (SDL_GL_BLUE_SIZE),
	const_iv (SDL_GL_ALPHA_SIZE),
	const_iv (SDL_GL_DOUBLEBUFFER),
	const_iv (SDL_GL_BUFFER_SIZE),
	const_iv (SDL_GL_DEPTH_SIZE),
	const_iv (SDL_GL_STENCIL_SIZE),
	const_iv (SDL_GL_ACCUM_RED_SIZE),
	const_iv (SDL_GL_ACCUM_GREEN_SIZE),
	const_iv (SDL_GL_ACCUM_BLUE_SIZE),
	const_iv (SDL_GL_ACCUM_ALPHA_SIZE),
        const_iv (SDL_GL_STEREO),
        const_iv (SDL_GL_MULTISAMPLEBUFFERS),
        const_iv (SDL_GL_MULTISAMPLESAMPLES),
        const_iv (SDL_GL_ACCELERATED_VISUAL),
        const_iv (SDL_GL_SWAP_CONTROL),

        const_iv (FOW_DARKNESS)
#	undef const_iv
  };
    
  for (civ = const_iv + sizeof (const_iv) / sizeof (const_iv [0]); civ-- > const_iv; )
    newCONSTSUB (stash, (char *)civ->name, newSViv (civ->iv));

  assert (SDLK_MODIFIER_MIN == SDLK_NUMLOCK);
  assert (SDLK_MODIFIER_MAX == SDLK_COMPOSE);
}

void
weaken (SV *rv)
	PROTOTYPE: $
	CODE:
        sv_rvweaken (rv);

int
in_destruct ()
	CODE:
        RETVAL = PL_main_cv == Nullcv;
        OUTPUT:
        RETVAL

NV floor (NV x)

NV ceil (NV x)

IV minpot (UV n)

IV popcount (UV n)

NV distance (NV dx, NV dy)
	CODE:
        RETVAL = pow (dx * dx + dy * dy, 0.5);
	OUTPUT:
        RETVAL

void
pango_init ()
	CODE:
{
        opengl_fontmap = pango_opengl_font_map_new ();
        pango_opengl_font_map_set_default_substitute ((PangoOpenGLFontMap *)opengl_fontmap, substitute_func, 0, 0);
        opengl_context = pango_opengl_font_map_create_context ((PangoOpenGLFontMap *)opengl_fontmap);
        /*pango_context_set_font_description (opengl_context, default_font);*/
#if PANGO_VERSION_CHECK (1, 15, 2)
        pango_context_set_language (opengl_context, pango_language_from_string ("en"));
        /*pango_context_set_base_dir (opengl_context, PANGO_DIRECTION_WEAK_LTR);*/
#endif
}

char *SDL_GetError ()

void SDL_braino ()

int SDL_Init (U32 flags)

int SDL_InitSubSystem (U32 flags)

void SDL_QuitSubSystem (U32 flags)

void SDL_Quit ()

int SDL_GL_SetAttribute (int attr, int value)

int SDL_GL_GetAttribute (int attr)
	CODE:
        if (SDL_GL_GetAttribute (attr, &RETVAL))
          XSRETURN_UNDEF;
        OUTPUT:
        RETVAL

void
SDL_ListModes (int rgb, int alpha)
	PPCODE:



( run in 0.878 second using v1.01-cache-2.11-cpan-75ffa21a3d4 )