Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

/prog/ - RPG

Name: Anonymous 2010-10-29 15:44

Lets program a roleplaying game together. Each post must contain either a new function or an edited version of an old function in psudocode. I will start:

int dealDamage(int hp, int damage){
    return hp - damage;
}

Name: Anonymous 2010-10-30 22:53

>>61
Final Fantasy X (PS2) code:


#include "MainCharacter.h"
#include "WaveFile.h"
#include "linear_story.h"
#include "men_who_look_like_faggots.h"

//#define TEXT_TO_SPEECH
//#include "TextToSpeech.h"

WaveFile MainCharacter::SoundClip()
{
    //if (name == "Tidus") {
    //    return WaveFile("tidus.wav");
    //}
    //#ifdef TEXT_TO_SPEECH
    //   return WaveFile( TextToSpeech::ToWav(name) );
    //#else
       return WaveFile("Our newest team member.wav");
    //#endif
}

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List