Download Latest Version GunSimV11.7z (519.4 kB)
Email in envelope

Get an email when there's a new version of Basic Ship Gun Model

Home / GunSim_V1_1
Name Modified Size InfoDownloads / Week
Parent folder
GunSimV11.7z 2011-11-02 519.4 kB
GunSim_V11.tar.gz 2011-11-02 168.5 kB
README.txt 2011-11-02 2.5 kB
Totals: 3 Items   690.5 kB 0
GunSim_V1.1 (Pre-Alpha) Naval Gun Simulator Model. 

BUG FIXES:
1. 01/Nov/2011
Wrong deceleration of shell of diameters other than 14". Cause: action_handler for screen 0 NOT handling change of frontal area of shell from its reset diameter. All shells had frontal area of a 14" shell, consequently drag calculations were not realistic for any shell other than 14" (the default shell).

WINDOWS binary with source code folder;

FILE: GunSimV11.7z

Unzip .7z file and run executable. Allegro5 required runtime dll's included.

************** ////////////// ****************

(OR)

Linux source code;

FILE: GunSim_V11.tar.gz

Requires the Allegro 5 Games Programming Library for compiling. As a minumum, the Allegro 5 libs should support X11, primitives_addon, font_addon, ttf_addon, and image_addon. 

This is a development (incomplete) version, with some working features. COMPILING INSTRUCTIONS (GNU/LINUX - DEBIAN) Requires: gcc/g++ (I have used version 4.6) Allegro 5 (version 5.0.4 used here and recommended) The following Allegro 5 libs are required for linking/compiling the source code. (use the following line as your linker options, and ensure that your A5 installation was built with support and the dependencies for these libs). 

`pkg-config --libs allegro-5.0 allegro_font-5.0 allegro_ttf-5.0 allegro_primitives-5.0 allegro_image-5.0` 

Source Code Files: 
al5setp.h 
GunSim.h 
GunsimV11.cpp 

Files to be placed in the same folder as the compiled executable: 
FreeMono.ttf 
mach_cd.txt 
rhos.txt 
PE.jpg 




************** ////////////// **************** 
Open Source Initiative OSI - The zlib/libpng License (Zlib):Licensing [OSI Approved License] 

The zlib/libpng License Copyright (c) <2011> <william shearer> 

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 

1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 

2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 

3. This notice may not be removed or altered from any source distribution.
Source: README.txt, updated 2011-11-02