CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: UVmatician

Search: Search took 0.03 seconds.

  1. Replies
    7
    Views
    12,061

    Re: noob error: spawning entities from file.

    I changed my MyMap.cpp code to the following




    #include "CEntity.h"
    #include "MyMap.h"


    CEntity* MyMap::GetEntity(std::string type )
  2. Replies
    7
    Views
    12,061

    Re: noob error: spawning entities from file.

    @Deyili
    thank you very much

    @D Drmmr
    thanks, apparently I need to do some more research on how std::vectors work.

    @Chris F
    thanks, yeah I had heard about component based Entities. Is it...
  3. Replies
    7
    Views
    12,061

    noob error: spawning entities from file.

    I'm still inexperienced with C++. I am trying to load game entities and their xyz coordinates from a text file "1.ent" I thought it would be a good idea for a map format.

    here is the MyMap.cpp:
    ...
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured