Commits

Devlon committed 10396b0 Merge

Adopting FreeBSD fixes.

  • Participants
  • Parent commits 33034bb, 7ce001b

Comments (0)

Files changed (31)

File CMakeLists.txt

     
 PROJECT(cepheus CXX)
 
-# set (CMAKE_CXX_COMPILER                   "/usr/bin/clang++")
+set (CMAKE_CXX_COMPILER                   "/usr/bin/clang++")
 SET (CMAKE_CXX_FLAGS_INIT                 "-Wall -pedantic -fPIC -shared -g")
 SET (CMAKE_LINK_FLAGS                     "-fPIC -shared")
-# set (CMAKE_CXX_FLAGS_INIT                 "-Wall -pedantic")
-# set (CMAKE_AR                             "/usr/bin/llvm-ar")
-# set (CMAKE_LINKER                         "/usr/bin/llvm-ld")
-# set (CMAKE_NM                             "/usr/bin/llvm-nm")
-# set (CMAKE_OBJDUMP                        "/usr/bin/llvm-objdump")
-# set (CMAKE_RANLIB                         "/usr/bin/llvm-ranlib")
+
 
 SET (SOURCES
                         src/Core/Game.cpp
 
 INCLUDE_DIRECTORIES(    
         ${CMAKE_CURRENT_SOURCE_DIR}/src/headers
+        /usr/include
+        /usr/local/include
 )
 SET (
         CONF_FILE          ${CMAKE_CURRENT_SOURCE_DIR}/src/config.h

File src/Core/Config.cpp

   POSSIBILITY OF SUCH DAMAGE.
 *******************************************************************************/
 
+

File src/Core/Entity.cpp

 void Cepheus :: Entity :: setWidth(int W){ this->_W = W; }
 void Cepheus :: Entity :: setHeight(int H){ this->_H = H; }
 void Cepheus :: Entity :: setId(int Id){ this->_Id = Id; }
+
+

File src/Core/Game.cpp

 bool Cepheus :: Game :: closed(){
     return SDL_QuitRequested();
 }
+

File src/Core/Input.cpp

 }
 Cepheus::Mouse  Cepheus :: Input :: getMouseState(){
     return this->_mousestate;
-}
+}
+

File src/Graphics/GraphicManager.cpp

 // Paint routines
 void Cepheus :: GraphicManager :: draw(Cepheus::Image *img){
     (this->getScreen())->draw(img);
-}
+}
+

File src/Graphics/Image.cpp

                    SDL_MapRGB(this->_src->format, red, green, blue)
     );
 }
+

File src/Graphics/Screen.cpp

     );
 }
 void Cepheus :: Screen :: draw(Cepheus::Image *img){}
+
+

File src/Periferals/Keyboard.cpp

   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   POSSIBILITY OF SUCH DAMAGE.
 *******************************************************************************/
+
+

File src/Periferals/Mouse.cpp

   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   POSSIBILITY OF SUCH DAMAGE.
 *******************************************************************************/
+

File src/Scene/Component.cpp

 void Cepheus:: Component :: rightClick(Mouse mouse){}
 void Cepheus:: Component :: keyPress(Cepheus::Key k){}
 void Cepheus:: Component :: update(Cepheus::Input *input){}
+

File src/Scene/Panel.cpp

 void Cepheus::Panel :: rightClick(Mouse mouse){}
 void Cepheus::Panel :: keyPress(Cepheus::Key k){}
 void Cepheus::Panel :: update(Cepheus::Input *input){}
+

File src/Scene/Scene.cpp

 // }
 // void Cepheus :: Scene :: keyPress(SDL_keysym key){}
 void Cepheus :: Scene :: update(Cepheus::Input *input){}
+

File src/Scene/SceneManager.cpp

 }
 Cepheus::Scene * Cepheus :: SceneManager :: getCurrentScene(){
     return this->_scenes.at( this->_currentId );
-}
+}
+

File src/config.h

+

File src/headers/Controllers/Keyboard.h

             void pool(SDL_Event *e);
     };
 #endif
+

File src/headers/Controllers/Mouse.h

   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   POSSIBILITY OF SUCH DAMAGE.
-*******************************************************************************/
+*******************************************************************************/

File src/headers/Controllers/Periferal.h

             void pool(SDL_Event *e); 
     };
 #endif
+

File src/headers/Core/Control.h

             std::vector<Event> fetch();
     };
 #endif
+

File src/headers/Core/Entity.h

         };
     }
 #endif
+

File src/headers/Core/Game.h

         };
     }
 #endif
+

File src/headers/Core/Input.h

                 Mouse getMouseState();
         };
     }        
-#endif
+#endif
+

File src/headers/Graphics/GraphicManager.h

         };
     }
 #endif
+

File src/headers/Graphics/Image.h

         };
     }
 #endif
+

File src/headers/Graphics/Screen.h

         };
     }
 #endif
+

File src/headers/Scene/Component.h

                 virtual void render(Cepheus::GraphicManager * gm){}
             };
     }
-#endif
+#endif
+

File src/headers/Scene/Panel.h

         };
     }
 #endif
+

File src/headers/Scene/Scene.h

         };
     }
 #endif
+

File src/headers/Scene/SceneManager.h

                 virtual void render(Cepheus::GraphicManager * gm){}
         };
     }
-#endif
+#endif
+

File src/headers/commons.h

     #include <vector>
     #include <string>
 #endif
+

File src/tests/main1.cpp

     delete game;
     return 0;
 }
+