##RELEASE VERSION NOW AVAILABLE
https://www.dropbox.com/s/w4r70j10c8w71sx/SpaceHorse.zip?dl=0
Download and unzip the project to a suitable location. Navigate into 'SpaceHorse/game/Release/' and run SpaceHorse.exe.
###Introduction
This project was started with the goal of creating an open map, multiplayer, 2D space explorer. The first release candidate will aim to allow exploration of a universe, which is importable/configurable from a text file. Each planet/space station etc should be dockable with resources to mine/buy in order to level up the ship. This project is currently using C++ and the Allegro games library, and SQLite.
###Setup
####Allegro library
You can download Allegro 5.0 from this repo. Download the latest version MSVC 11.
When it finishes downloading, extract the contents somewhere, e.g. C:\allegro, so that the contents of this folder is C:\allegro\bin, C:\allegro\include, and C:\allegro\lib.
Open the Visual Studio solution file, right click on the project in Solution explorer, then click Properties:
At the top, where it says something like Configuration: Active(Debug), select All Configurations.
On the left menu select C/C++ -> General. On this configuration page, select Additional Include Directories and edit it to contain C:\allegro\include\ in its text field.
On the left menu select Linker -> General. On this configuration page, select Additional Library Directories and edit it to contain C:\allegro\lib\ in its text field.
Click on Apply at the bottom, but don´t close the window yet. Back at the top, select the Debug configuration.
On the left menu select Linker -> Input. On this configuration page, select Additional Dependencies and edit it to contain allegro-5.0.10-monolith-mt-debug.lib in its text field.
(Optional)On the left menu select Linker -> System. On this configuration page, select SubSystem and change it to Console from the drop-down box. This will give you a working terminal window in Debug mode to which you can write ...err... debug stuff ;)
Click on Apply at the bottom, but don´t close the window yet.
Back at the top, select the Release configuration.
On the left menu select Linker -> Input. On this configuration page, select Additional Dependencies and edit it to contain allegro-5.0.10-monolith-static-mt.lib in its text field.
(Optional)On the left menu select Linker -> System. On this configuration page, select SubSystem and change it to Windows from the drop-down box. This will prevent the Terminal window to appear on Release versions of your program.
Click on Apply then OK, this will close the Property Pages of the project and should prepare it for Allegro.
If you are getting errors when you rebuild the project, you may need to delete the allegroTest.sdf file located in ./allegroTest/ and reload the project (right click on the project in Solution Explorer). Contact me if you have trouble setting this up.
####Sqlite3 library
Download this lib file, which has been prepared for VS Community 2015.
Create a folder C:\sqlite
and place the lib file there. This directory is linked by default to the project.
[Here] (https://wiki.allegro.cc/index.php?title=Windows,_Visual_Studio_2010_and_Allegro_5) is a link to a tutorial to set up VS with the Allegro 5 windows binary.
Here is a link to a tutorial to set up VS with sqlite3.