Fellow SDL'ers, please critisize my code and game!

high,

this is only my second post on this mailing list, and so far i love it. i
cant find ANYONE on the internet who knows anything about SDL. its really a
shame because this API is so great. i wish this was a forum =). anyway, i
just finished making my first game (a pong clone with a twist). and i would
REALLY appreciate it if someone would check out my code and critisize it and
tell me if im doing anything extremely wrong. i put this on gamedev forums,
but people just played the game and didnt look at the source because no one
knows SDL. thats why im turning to you guys. heres the link to get the
game/source

http://dpunchprod.150m.com

or if that link is down go to

http://www.geocities.com/graveyardfilla44

as soon as you go to one of those pages you will be shown a link to download
the .exe or the .zip for the source. thanks guys, i appreciate it!!

ps- if you do read it, forgive me when you get to the draw_score function. i
know its sloppy, but i got to lazy to fix it =)_________________________________________________________________
Take off on a romantic weekend or a family adventure to these great U.S.
locations. http://special.msn.com/local/hotdestinations.armx

“Graveyard Filla” wrote in
news:Law9-F90M2AWdo187B4000141cd at hotmail.com:

high,

this is only my second post on this mailing list, and so far i love
it. i cant find ANYONE on the internet who knows anything about SDL.
its really a shame because this API is so great. i wish this was a
forum =). anyway, i just finished making my first game (a pong clone
with a twist). and i would REALLY appreciate it if someone would check
out my code and critisize it and tell me if im doing anything
extremely wrong. i put this on gamedev forums, but people just played
the game and didnt look at the source because no one knows SDL. thats
why im turning to you guys. heres the link to get the game/source

http://dpunchprod.150m.com

or if that link is down go to

http://www.geocities.com/graveyardfilla44

as soon as you go to one of those pages you will be shown a link to
download the .exe or the .zip for the source. thanks guys, i
appreciate it!!

ps- if you do read it, forgive me when you get to the draw_score
function. i know its sloppy, but i got to lazy to fix it =)


Take off on a romantic weekend or a family adventure to these great
U.S. locations. http://special.msn.com/local/hotdestinations.armx

I probably should have mentioned this also when I was explaining
spudder’s post. I think you forgot to free the surface of your games and
freed the sound too. When I press escape in the game, the music stops
playing where it is and just keeps playing that last note continuously
like an annoying pitch. Know what I mean? :wink:

I want to use GUIlib the little GUI api used in some samples. Im trying to
use it in windows
I compile the dll perfectly 0 errors 0 warnings. But I dont know how to obtain
the .lib file from the project. Is there some setting in the properties what I am
missing ?
I am using VC6 .

Thanks in advance.

Martin

marting at webklan.com wrote:

I want to use GUIlib the little GUI api used in some samples. Im trying to
use it in windows
I compile the dll perfectly 0 errors 0 warnings. But I dont know how to obtain
the .lib file from the project. Is there some setting in the properties what I am
missing ?
I am using VC6 .

Try setting the path of your output file by hand to ($OUTDIR)/mylib.lib
or something like that (sorry - don’t have vc here now). VC does
something like ($OUTDIR)/($PROJECTNAME).lib - that doesn’t work.

BR
Arne