Page 1 of 1

Ahoy!

Posted: Fri Mar 19, 2010 6:05 pm
by che3ver
Ahoy is an underused word these days. :cry:

Hello! I've just found your game through db.tigsource.com.
I admit, I haven't had the chance to play it yet since I'm stuck here at work, but it's installing the moment I get home.

I have a rapidly developing interest in indie and/or retro RPGs. They just seem more pure and fun than a lot of the more popular games.

I noticed that the development section of the website says you may be looking for assistance in certain areas.
I'll be happy to record any bugs I find while playing.
I'd also like to mention that I'm currently in school for programming and though my knowledge is a bit basic yet, I'd be very interested if there were some way for me to use those skills to assist you in your game development, if there is still any need. Perhaps starting with something small like minor bugfixes?

Posted: Fri Mar 19, 2010 6:46 pm
by penguinflyer2222
Ahey! Welcome and have a lightbulb. :idea:
Egoboo is programmed in C or C++ for big codey stuff, I don't know which excactly.
And EgoScript, a basic scripting language for object scripts.
Then there's data.txt and all that weird stuff that's easy to understand.
I'm glad you're interested!

Posted: Fri Mar 19, 2010 7:07 pm
by che3ver
My guess would be C++, since I'm yet to hear of someone still sticking to old school C. I've worked with C++ and Python mostly, I'm willing to pick up any other language, like EgoScript, that'd be helpful though.

Posted: Fri Mar 19, 2010 7:21 pm
by penguinflyer5234
Egoboo is currently written in C. But I do think bgbirdsey wants to move to C++.

Have a happy fencer with an electric anvil on his head! :teach:!

Posted: Fri Mar 19, 2010 7:33 pm
by che3ver
I may be wrong, but isn't C++ entirely backwards compatible with C?

Posted: Sat Mar 20, 2010 12:56 am
by Seanbot
weeeeeeeeeeell
Sometimes.
C++ has a bunch of features that C doesn't, and is ONLY Object Orientated (functions classes and the like).
A lot of C+ and C code will be the same, but there is a lot of difference between them.

Posted: Sat Mar 20, 2010 7:28 am
by bgbirdsey
C++ requires strict type matching

The following will compile in C

Code: Select all

typedef int my_type_1;
typedef int my_type_2;

void some_function(my_type_1 j);

void main( void )
{
    int i;
    my_type_1 j;
    my_type_2 k;

    some_function(i);
    some_function(j);
    some_function(k);
}


but it the calls "some_function(i)" and "some_function(k)" will create compiler errors in c++ because my_type_1 and my_type_2 are considered different types, even though they are otherwise exactly identical to "int". This seems like a pain, but is actually extremely useful for debugging.

Also, the following is illegal in c++ for the same reason

Code: Select all

void * vp = NULL;
char * cp = NULL;
int    * ip = NULL;

// generates a warning because you are assigning a "const char *" object to a
// "char *" variable
char * blah = "some string";

// no problems
cp = blah;

// compiler error in c++, but not c
vp = cp;

// no error because of type cast
vp = (void *)cp;

// compiler error in c++, but not c
cp = vp;

// and so on...

Posted: Sat Mar 20, 2010 12:39 pm
by che3ver
Alright, my mistake. I hadn't really compared them like that. I just noticed that some of the methods I was learning were claiming a C syntax form then blowing it off as "it's okay because C++ can read it".