Libcig-a

Hey,
I wrote a 2D wrapper for SDL/OpenGL called libcig-a. It makes ttf font
rendering and loading/drawing images as simple as possible, while making
both very very fast. I didn’t know where to submit this, but it would be
an excellent resource for someone making a 2D game, which I figured
would be a good addition to the SDL website.

http://ff2.curvedinfinity.com/?p=30

It has no documentation, aside from two examples, but it is very very
simple, so you should be able to figure out what does what by just
looking at the header files.

Here is a tutorial for setting up Anjuta/Ubuntu for use with the
library, which should be a no-brainer for anyone who has installed a
library from source before:

http://ff2.curvedinfinity.com/?p=32

both very very fast. I didn’t know where to submit this, but it would be
an excellent resource for someone making a 2D game, which I figured
would be a good addition to the SDL website.

http://www.libsdl.org/libraries.php will have a “submit library” button
at the bottom of the page if you log in.

–ryan.

Ryan C. Gordon wrote:

both very very fast. I didn’t know where to submit this, but it would be
an excellent resource for someone making a 2D game, which I figured
would be a good addition to the SDL website.

http://www.libsdl.org/libraries.php will have a “submit library” button
at the bottom of the page if you log in.

–ryan.

Well I did that, subscribe etc. I saw the import button. I tried to import
my project (http://libwt.sourceforge.net/) there but it doesn’t let me. Looks
like I need to have a project first. Any ideas from where I can do that? or
I am not supposed to be able do that?

  .bill

Vassilis Virvilis wrote:

Ryan C. Gordon wrote:

both very very fast. I didn’t know where to submit this, but it would be
an excellent resource for someone making a 2D game, which I figured
would be a good addition to the SDL website.

http://www.libsdl.org/libraries.php will have a “submit library” button
at the bottom of the page if you log in.

–ryan.

Well I did that, subscribe etc. I saw the import button. I tried to import
my project (http://libwt.sourceforge.net/) there but it doesn’t let me. Looks
like I need to have a project first. Any ideas from where I can do that? or
I am not supposed to be able do that?

I finally managed to do it. Looks like you can’t submit a library,
immediately after creating a new account. You have to log out and login back.
Looks like a bug but it is possible I have done something wrong.

   .bill

Well I did that, subscribe etc. I saw the import button. I tried to
import my project (http://libwt.sourceforge.net/)

libwt won’t compile. Line 29 in wt/sdlevent.h has a conflicting declaration of
SDL_Event.

Jeff

Jeff wrote:

Well I did that, subscribe etc. I saw the import button. I tried to
import my project (http://libwt.sourceforge.net/)

libwt won’t compile. Line 29 in wt/sdlevent.h has a conflicting declaration of
SDL_Event.

Jeff

Jeff,

The problem there is due to forward declaration of SDL_Event union.
SDL from svn tree (or maybe latest SDL) should work. Alternatively you can do
the following harmless change in SDL_events.h

/* General event structure */
-typedef union {
+typedef union SDL_Event {


} SDL_Event;

However please don’t followup here. We are hijacking both, the thread and the mailing
list. If you have other problems try to mail me in e-mail address listed in the source
forge page or even better through the sourceforge tracker / bugzilla :slight_smile:

    .bill