yes, offcourse, but a few days ago, actually yesterday there was a guy posting recipes for some jamaikan type food so he commented thatMoosader wrote:Shouldn't "Art needed" postings go in the Art forum?lalacomun wrote:dude please post all these on the off-topic section
Search found 6 matches
- Wed May 09, 2012 4:11 pm
- Forum: Art, Music, and Design
- Topic: 8-bit Platformer Pixel Artist Needed
- Replies: 4
- Views: 9920
Re: 8-bit Platformer Pixel Artist Needed
- Wed May 09, 2012 2:55 pm
- Forum: Programming Discussion
- Topic: Struct inheritance problem
- Replies: 9
- Views: 2410
Re: Struct inheritance problem
at the end of struct entityJarrodParkes wrote:Where is Entity1 created?Code: Select all
Entity1.setX(20);
Code: Select all
struct Entity
{
...
} Entity1;
- Wed May 09, 2012 1:44 pm
- Forum: Programming Discussion
- Topic: Struct inheritance problem
- Replies: 9
- Views: 2410
Re: Struct inheritance problem
You havent posted enough for anybody to help you. Where is your main? And can we see the ACTUAL error? sure ;) errors: obj\Debug\main.o||In function `SDL_main':| C:\Users\martin\Desktop\Engine\main.cpp|22|multiple definition of `Entity1'| obj\Debug\Player.o:C:\Users\martin\Desktop\Engine\Player.cpp...
- Wed May 09, 2012 1:25 pm
- Forum: Programming Discussion
- Topic: Struct inheritance problem
- Replies: 9
- Views: 2410
Re: Struct inheritance problem
No any other suggestions??lalacomun wrote:arent you including a source file (.cpp) in you main program ??
- Wed May 09, 2012 12:20 pm
- Forum: Programming Discussion
- Topic: Struct inheritance problem
- Replies: 9
- Views: 2410
Struct inheritance problem
so, i am having an erron that sais: Multiple Definition of "Entity" (main.cpp) First Defined in here (player.cpp) so my entity struct looks like this: #ifndef ENTITY.H #define ENTITY.H struct Entity { int x,y,w,h; int getX() { return x;} int getY() { return y;} int getW() { return w;} int ...
- Mon May 07, 2012 2:47 pm
- Forum: Programming Discussion
- Topic: Game engine structure question
- Replies: 2
- Views: 1089
Game engine structure question
ok so i have a question about game engine development for example i have 2 classes: "graphics.h" class graphics { public: graphics(); ~graphics(); void DrawImage(); } "engine.h" class engine: public graphics; //that inherit from graphics class { public: engine(); ~engine(); } and...