Search found 54 matches

by Zer0XoL
Mon May 04, 2009 1:08 pm
Forum: Programming Discussion
Topic: N00bish function wont work with class thingy
Replies: 13
Views: 1180

Re: N00bish function wont work with class thingy

In your Attack function, it's a copy of the instance of Player that's being passed as an argument, not the actual instance. It's like copying a file and putting it into a different folder then modifying the contents of the new file, when really you want to change the data in the original. You'll ne...
by Zer0XoL
Mon May 04, 2009 1:04 pm
Forum: Programming Discussion
Topic: N00bish function wont work with class thingy
Replies: 13
Views: 1180

Re: N00bish function wont work with class thingy

When you call the function void Attack(Player e) the object form main is copied to the object called "e". "e" is destroyed after the execution leaves the scope. So you don't change the correct object. To use the object from main, you can pass a reference (or a pointer) to it. vo...
by Zer0XoL
Mon May 04, 2009 12:37 pm
Forum: Game Development
Topic: Pirate Game
Replies: 58
Views: 13024

Re: Pirate Game

Rely nice, blitz?
WTF sverige tar över internet? :O
"WTF sweden takes over the net? :O"
(...translation :P)
by Zer0XoL
Mon May 04, 2009 12:26 pm
Forum: Programming Discussion
Topic: N00bish function wont work with class thingy
Replies: 13
Views: 1180

N00bish function wont work with class thingy

Ok, hello :) I thought i would make a simple text game before continuing with SDL And well, i have problems xD. Now, everytime i try to attack Slagor hes HP is always "reset"(not good), BUT i can decrese his HP in the main function.(but i want it to work in the attack function) And here is...
by Zer0XoL
Sun May 03, 2009 12:03 pm
Forum: General/Off-Topic
Topic: Official "Hello, World! (I'm new!)" thread
Replies: 821
Views: 624430

Re: Official "Hello, World! (I'm new!)" thread

Hello everyone, this is my first post! :) I enjoy programming and knowledge and I´m interested in making games using SDL I program C++, and i have average computer knowledge of a "nerd" :lol: My "name" is Zer0XoL, Zero Koll, Zer0KoLL, Zer0XoLL... you get the point.... Gyrovorbi...
by Zer0XoL
Sun May 03, 2009 1:23 am
Forum: Programming Discussion
Topic: Lua and C++
Replies: 15
Views: 1863

Re: Lua and C++

ok thats fine, but i'm still learning lua as well so i expect to be corrected if i'm wrong. But i should have another tutorial soon about calling lua functions from C/C++ and calling C/C++ functions from lua(which in my opinion is the pride and joy of lua coooooool..........i will be waiting. :D I ...
by Zer0XoL
Sat May 02, 2009 11:40 pm
Forum: General/Off-Topic
Topic: Official "Hello, World! (I'm new!)" thread
Replies: 821
Views: 624430

Re: Official "Hello, World! (I'm new!)" thread

Hello everyone, this is my first post! :) I enjoy programming and knowledge and I´m interested in making games using SDL I program C++, and i have average computer knowledge of a "nerd" :lol: My "name" is Zer0XoL, Zero Koll, Zer0KoLL, Zer0XoLL... you get the point.... Gyrovorbi...
by Zer0XoL
Sat May 02, 2009 11:38 pm
Forum: General/Off-Topic
Topic: Official "Hello, World! (I'm new!)" thread
Replies: 821
Views: 624430

Re: Official "Hello, World! (I'm new!)" thread

eatcomics wrote:
MarauderIIC wrote:
eatcomics wrote:I presume the owners of this fine establishment will meet and greet you soon
This
MarauderIIC wrote:
Zer0XoL wrote:Hello everyone, this is my first post! :)
Y HALO THAR!
doesn't count? :)
no seeing as how it seemed like you were making fun of my southern dialect :lol:
lol this is my 2nd post ;P
by Zer0XoL
Fri May 01, 2009 8:55 am
Forum: General/Off-Topic
Topic: Official "Hello, World! (I'm new!)" thread
Replies: 821
Views: 624430

Re: Official "Hello, World! (I'm new!)" thread

Hello everyone, this is my first post! :) I enjoy programming and knowledge and I´m interested in making games using SDL I program C++, and i have average computer knowledge of a "nerd" :lol: My "name" is Zer0XoL, Zero Koll, Zer0KoLL, Zer0XoLL... you get the point.... Gyrovorbis...