Search found 535 matches

by short
Sun Jul 15, 2012 2:08 pm
Forum: Programming Discussion
Topic: SDL 2.0
Replies: 13
Views: 4141

SDL 2.0

So I saw this link, and wanted to make sure everyone else here saw it.

http://www.phoronix.com/scan.php?page=n ... px=MTE0MDU

It seems that it will have valve's backing, so hopefully more updates. I looked on SDL's official website but didn't find anything, anyone else see anything?
by short
Fri Jul 13, 2012 9:55 pm
Forum: Game Development
Topic: I MUST FINISH A PROJEKT!
Replies: 2
Views: 1564

Re: I MUST FINISH A PROJEKT!

You can do it! Put your back into it! :worship:
by short
Mon Jun 04, 2012 10:18 am
Forum: Programming Discussion
Topic: [SOLVED]Looking to make 3d games with opengl, but don't
Replies: 8
Views: 2975

Re: Looking to make 3d games with opengl, but don't know how

Ok, I'm going to try that. When I try to compile the first tutorial, I get a series of errors. I would ask on the SDL forums, but after registering I never got an email to activate! Here's what I got in errors: 1>------ Build started: Project: SDL, Configuration: Debug Win32 ------ 1>sourceFile.obj...
by short
Sat Jun 02, 2012 1:25 am
Forum: Programming Discussion
Topic: SDL tutorial.
Replies: 4
Views: 1951

Re: SDL tutorial.

bbguimaraes wrote:There's one right above you post.
chaos4.png

LOL this one makes me laugh in my over-worked state :lol: :lol: :lol: :lol: :lol: :lol: :lol:
by short
Fri Jun 01, 2012 10:06 am
Forum: Programming Discussion
Topic: SDL tutorial.
Replies: 4
Views: 1951

Re: SDL tutorial.

Indie Tom wrote:I really want to learn SDL. But I can't find any good tutorial becasue I don't understand them becasue I have dyslexi.
So does anyone know one that is easy to read?

Thanks.
Perhaps the most creative excuse to not read I've heard in a while.
by short
Fri May 25, 2012 2:09 am
Forum: Programming Discussion
Topic: Are you kidding me?
Replies: 18
Views: 5654

Re: Are you kidding me?

But let's say you have a method to do something bool erroredMethod() { bool isSuccessful = false; do something; do something; //if this causes an out of memory error(read exception) then the rest of the code doesn't execute do something; isSuccessful = true; // how can this be set then ? } malloc r...
by short
Wed May 16, 2012 9:37 am
Forum: General Gaming
Topic: Diablo III Battletag Thread
Replies: 3
Views: 4734

Re: Diablo III Battletag Thread

hurstshifter wrote:Hey Guys,
I mean, we paid the same amount didn't we?!
-Hurst
Perhaps, but you didn't contribute to the world's pollution by buying it in a box, for that shame on you.

/sarcasm
by short
Thu May 10, 2012 7:44 pm
Forum: Programming Discussion
Topic: Lua Binding Won't Compile with G++ --HELP!
Replies: 15
Views: 3548

Re: Lua Binding Won't Compile with G++ --HELP!

LOL why did you take down what you posted?

I didn't get to see it..........

:nono:
by short
Thu May 10, 2012 1:38 pm
Forum: Programming Discussion
Topic: Lua Binding Won't Compile with G++ --HELP!
Replies: 15
Views: 3548

Re: Lua Binding Won't Compile with G++ --HELP!

Undefined references are usually a sign the linker can't find the code your calling. I've never used lua, but make sure your linking all the libraries.
by short
Fri May 04, 2012 10:34 am
Forum: Programming Discussion
Topic: Best method for interaction between classes
Replies: 4
Views: 1021

Re: Best method for interaction between classes

A design pattern I really have been taking a liking too lately (which in some scenarios really helps) is dependency injection. It requires that each class takes all of it's dependencies as parameters (usually in the constructor). It is appropriate when used correctly, and if abused can very quickly ...
by short
Thu May 03, 2012 2:23 pm
Forum: Programming Discussion
Topic: const functions not compiling in, imp from singleton ifc
Replies: 12
Views: 2291

Re: const functions not compiling in, imp from singleton ifc

Okay but the *type* of the pointer is SingletonInterface, but since I new'ed a SingletonImplementation, instance should be pointing to an instance of SingletonImplementation. So it should know to invoke the child class, SingletonImplementation, functions. This is supported by the fact that when I r...
by short
Thu May 03, 2012 12:40 pm
Forum: Programming Discussion
Topic: const functions not compiling in, imp from singleton ifc
Replies: 12
Views: 2291

Re: const functions not compiling in, imp from singleton ifc

Haha jk, but inside SingletonInterface.h you should be declaring interfaces (function definitions) not bodies. First of all, "declaring a function interface" and a "function definition" are not the same thing :) LOL ok, what I meant was function prototype, your right. Updated. S...
by short
Thu May 03, 2012 11:27 am
Forum: Programming Discussion
Topic: const functions not compiling in, imp from singleton ifc
Replies: 12
Views: 2291

Re: const functions not compiling in, imp from singleton ifc

Am I just being retarded here? Yes. Haha jk, but inside SingletonInterface.h you should be declaring interfaces (function definitions prototype ) not bodies. Within SingletonInterface.h declare // derp derp virtual bool iAreNotWorkingLol() const; Within SingletonInterface.h define method again (thi...