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

Pages: 1-

Game Development - Project Linking

Name: Anonymous 2010-06-28 15:28

I've got an issue on my hands in regards to c++ working in visual studio 2008, I was wondering if any of you would have any suggestions for me.

The Goal:
I want to have a core engine that is both reusable, and provides shared functionality for my game engine, and my level editor. My current approach is to separate them into separate projects and to have a "program" class in the core project, and derived class in the editor project.

My Progress:
So far, I've added the Editor project and made it dependent of the Core project. I've also added the source directory of the core project as an additional include directory of the editor project (properties>c++>additional include directories)

The Issue:
Although I can see project.h from the editor class, and get no errors including the project.h or inheriting from the project class, I get issues accessing any members or methods, or using any 'this' calls, such as '__super::'. Not being able to use super really defeats a great deal of the functionality outlined in the program class, so I'm sure you can see how this is quite a pickle I'm in.

Any thoughts, suggestions, or places you think I should look?

Name: Anonymous 2010-06-28 15:28

The Solution:
Read SICP

Name: Anonymous 2010-06-28 15:29

visual studio 2008
Try using Makefiles.

Name: Anonymous 2010-06-28 15:31

You guys should try 'not trolling', once in a while. I hear it can be pretty fun.

Name: Anonymous 2010-06-28 15:37

>>1
I get issues accessing any members or methods
I heard issues can be mitigated by solutions. This is my suggestion, to devise and implement a solution that would get rid of the issues. You can also look in some places where they write about issues, too. Fucking moron.

Name: Anonymous 2010-06-28 15:37

>>4
I hear shut up, because nobody here likes or uses visual studio - nobody can (or wants to) help you.

Name: Anonymous 2010-06-28 15:41

Is it just you, or is it overly pretensions in here?

Oh well, this board is useless. Moving on.

Name: Anonymous 2010-06-28 15:44

>>7
Well done, you've identified that we are not a help board, but a discussion board.

Name: Anonymous 2010-06-28 15:46

>>7
No, you are useless.

Name: Anonymous 2010-06-28 15:47

I get issues accessing any members or methods, or using any 'this' calls, such as '__super::'.
Okay.

Name: Anonymous 2010-06-28 15:50

It's always funny when someone looking for Sepples and Visual Studio tutorials accuses others of trolling.

Name: Anonymous 2010-06-28 15:54

>>7
It is overly pretensions here! You're right!

Name: Anonymous 2010-06-28 16:47

>>12
* pretentious

Name: Anonymous 2010-06-28 16:54

Name: Anonymous 2010-06-28 17:05

Oh come on guys, don't be so grumpy all the time.

I'd say that the problem stems from using C++, and more precisely - you not understanding C++. It's widely thought of as a bloated and convoluted language, and it has reserved that reputation.
How are you inheriting the core program? I'm sure that C++ needs additional keywords when inheriting, so that it knows what to inherit (though that might be unrelated to the problem; I dunno, I don't use C++).

Name: Anonymous 2010-06-28 17:06

>>15
s/reserved/earned/

Name: Anonymous 2010-06-28 17:11

>>6
Some people do use the compiler and CLI tools that come with VS, but less people actually use the IDE.

Name: Anonymous 2011-02-04 19:55

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