Skip to content

Commit

Permalink
Adding binaries for Linux (and history text)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbuDhabi committed Oct 21, 2012
1 parent 118386d commit 1facd1a
Show file tree
Hide file tree
Showing 29 changed files with 26 additions and 4 deletions.
10 changes: 10 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@ Vinland Trail

The game where you are Leif Eriksson and everyone dies of scurvy.

Installation:
Just download the contents of the appropriate binary folder, and run the executable. Under Linux, you will need to have the following libraries installed:
- SDL 1.2
- SDL_image
- SDL_mixer
- SDL_ttf

Compiling from source:
Use g++ or something vaguely compatible. Have development versions of the libraries listed above. Project files for Code::Blocks are included, if you use that IDE.

Credits:
AbuDhabi - programming, art design, sound fabrication
Erik Mesoy - historical text, Viking names
Expand Down
6 changes: 3 additions & 3 deletions Viking Trail.layout
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<File name="landmark_reached.cpp" open="0" top="0" tabpos="23">
<Cursor position="72" topLine="33" />
</File>
<File name="load_media.cpp" open="1" top="1" tabpos="6">
<File name="load_media.cpp" open="1" top="0" tabpos="6">
<Cursor position="1071" topLine="29" />
</File>
<File name="main.cpp" open="1" top="0" tabpos="1">
Expand All @@ -67,8 +67,8 @@
<File name="random_event.cpp" open="1" top="0" tabpos="5">
<Cursor position="738" topLine="33" />
</File>
<File name="read_history.cpp" open="0" top="0" tabpos="17">
<Cursor position="1375" topLine="11" />
<File name="read_history.cpp" open="1" top="1" tabpos="11">
<Cursor position="2723" topLine="35" />
</File>
<File name="repair_boat.cpp" open="0" top="0" tabpos="26">
<Cursor position="0" topLine="14" />
Expand Down
Binary file added binaries/Linux x86/Viking Trail
Binary file not shown.
Binary file added binaries/Linux x86/data/font/georgia.ttf
Binary file not shown.
Binary file added binaries/Linux x86/data/img/becalmed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added binaries/Linux x86/data/img/beiced.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added binaries/Linux x86/data/img/blank.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added binaries/Linux x86/data/img/boatdamage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added binaries/Linux x86/data/img/class.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added binaries/Linux x86/data/img/endscreen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added binaries/Linux x86/data/img/fishing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added binaries/Linux x86/data/img/high_seas_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added binaries/Linux x86/data/img/high_seas_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added binaries/Linux x86/data/img/history.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added binaries/Linux x86/data/img/landmark1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added binaries/Linux x86/data/img/landmark2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added binaries/Linux x86/data/img/landmark3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added binaries/Linux x86/data/img/mainmenu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added binaries/Linux x86/data/img/pillage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added binaries/Linux x86/data/img/scurvy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added binaries/Linux x86/data/img/titlescreen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added binaries/Linux x86/data/img/vinland.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added binaries/Linux x86/data/img/whaling.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added binaries/Linux x86/data/snd/lol.ogg
Binary file not shown.
Binary file added binaries/Linux x86/data/snd/menu.ogg
Binary file not shown.
Binary file added binaries/Linux x86/data/snd/opening.ogg
Binary file not shown.
Binary file added binaries/Linux x86/data/snd/victory.ogg
Binary file not shown.
Binary file modified data/img/history.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 13 additions & 1 deletion read_history.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,19 @@ int read_history() {


print_full_picture(BITMAPS[IMG_HISTORY]);
put_text_at(-1,48,"THE FASCINATING HISTORY OF THE VIKING COLONIZATION OF VINLAND.");
put_text_at(-1,48,"VIKING HISTORICAL TEXT");
put_text_at(120,80,"Vikings were North Europeans who went raiding and trading");
put_text_at(120,100,"across most of Europe around 800-1050. The name comes from");
put_text_at(120,120,"the phrase \"to go viking\", originally meaning to set");
put_text_at(120,140,"out on a journey. Vikings sailed to Greenland and built");
put_text_at(120,160,"colonies, sailed to England and looted monasteries, sailed");
put_text_at(120,180,"to Constantinople and became mercenaries, sailed to Russia");
put_text_at(120,200,"and captured slaves, sailed to France and settled down,");
put_text_at(120,220,"and the most important Vikings were buried in boats. In");
put_text_at(120,240,"this game, you play Vikings trying to sail to Vinland (North");
put_text_at(120,260,"America) to establish a settlement there and live off");
put_text_at(120,280,"the fat of the land, far away from the bitter snows of");
put_text_at(120,300,"Norway.");

if (Mix_Playing(-1) == 0) Mix_PlayChannel(-1, SOUNDS[SND_MAIN_MENU], 0);
SDL_Flip(MAIN_SCREEN);
Expand Down

0 comments on commit 1facd1a

Please sign in to comment.