Code Monkey home page Code Monkey logo

empire's Introduction

Welcome to my Github!

I put pretty much everything I do here, from playing around and general experimentation, to my own personal hobby projects.

You can find videos of some projects on my youtube here: https://www.youtube.com/c/hopsonn

I also have a (Work in Progress) website here: https://hopson97.github.io/

empire's People

Contributors

grpou avatar hopson97 avatar kiroma avatar spartan322 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

empire's Issues

won't compile

Using MinGW, SFML installed
Application.h (48) error: 'mutex' in namespace 'std' does not name a type

edit: i figured it out nevermind

GCC/Clang compile errors on Linux

CMakeFiles/empire.dir/Source/Sim/World.cpp.o: In function `std::_MakeUniq<CustomColonyCreator>::__single_object std::make_unique<CustomColonyCreator, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
World.cpp:(.text._ZSt11make_uniqueI19CustomColonyCreatorJRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENSt9_MakeUniqIT_E15__single_objectEDpOT0_[_ZSt11make_uniqueI19CustomColonyCreatorJRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENSt9_MakeUniqIT_E15__single_objectEDpOT0_]+0x36): undefined reference to `CustomColonyCreator::CustomColonyCreator(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
CMakeFiles/empire.dir/Source/Sim/World.cpp.o: In function `std::_MakeUniq<RandomColonyCreator>::__single_object std::make_unique<RandomColonyCreator, int const&>(int const&)':
World.cpp:(.text._ZSt11make_uniqueI19RandomColonyCreatorJRKiEENSt9_MakeUniqIT_E15__single_objectEDpOT0_[_ZSt11make_uniqueI19RandomColonyCreatorJRKiEENSt9_MakeUniqIT_E15__single_objectEDpOT0_]+0x36): undefined reference to `RandomColonyCreator::RandomColonyCreator(int)'
CMakeFiles/empire.dir/Source/Sim/World.cpp.o: In function `CustomColonyCreator::~CustomColonyCreator()':
World.cpp:(.text._ZN19CustomColonyCreatorD2Ev[_ZN19CustomColonyCreatorD5Ev]+0xf): undefined reference to `vtable for CustomColonyCreator'
CMakeFiles/empire.dir/Source/Sim/World.cpp.o: In function `RandomColonyCreator::~RandomColonyCreator()':
World.cpp:(.text._ZN19RandomColonyCreatorD2Ev[_ZN19RandomColonyCreatorD5Ev]+0xf): undefined reference to `vtable for RandomColonyCreator'

when compiled with Clang 4.0.1 and GCC 7.1.1 20170630 ensuring the C++14 standard

Cannot find files on OSX XCode 11.3

Building from cmake from the root directory cmake -G "Xcode" and running throws
[39mFailed to load image "Res/Maps/world_map_large.png". Reason: Unable to open file
and then
Failed to create texture, invalid size (0x0) [91mUnable to open colours.txt.

Waves of nomads go across civilizations

For some reason (I think disease is causing this) there's always a colony that's inside of another one and makes waves inside of it, almost like conway's game of life

screen shot 2017-09-03 at 11 10 33 pm
screen shot 2017-09-03 at 11 03 40 pm they are mowing down entire chunks of land and then get their children mowed down
screen shot 2017-09-03 at 11 16 26 pm (once i think about it, that continent does look like a dancer lol)

something I could recommend to fix this is to make the extremely young have a low amount of strength, but soon they adopt the strength that their parent had

Compile errors on Mac OS

Source/Sim/CustomColonyCreator.cpp:75:32: error: use of undeclared identifier 'TextColour'

I think this is because the compiler isn't defining unix. Adding || defined(__APPLE__) to the tops of Unix.h and Unix.cpp should resolve this error.

Source/Sim/ColonyStatistics.cpp:51:28: error: implicit instantiation of undefined template 'std::__1::basic_ostringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> >'

This can be resolved by putting #include <sstream> to the top of ColonyStatistics.cpp.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.