Coder Social home page Coder Social logo

toddcarnes / galaxyview Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scumola/galaxyview

0.0 2.0 0.0 468 KB

Graphical turn viewer for the PbEM game Galaxy

License: GNU General Public License v2.0

CMake 0.35% C++ 41.24% C 46.96% Makefile 0.42% Groff 1.40% HTML 8.37% M4 1.15% Shell 0.01% POV-Ray SDL 0.09%

galaxyview's Introduction

galaxyview - Graphical turn viewer for the PbEM game Galaxy

Copyright (C) 2003 Quarterflash Design Group

GalaxyView is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Comments are welcome.

- Kenneth D. Weinert <madcoder42 @ users.sourceforge.net>

Instructions for using the Visual C project/workspace files:

These files include the information for compiling GalaxyView with VC6. In order to build GV, you will also need to have downloaded and built wxWindows (www.wxwindows.org). The current version is 2.4.1, however both 2.4.0 and the CVS version work.

In the 2.4.0 and 2.4.1 versions there is a bug (see below for the fix.) This bug has been fixed in CVS.

You also need to build the xrc library that comes with wxWindows. It is in contrib/src/xrc. Additionally, you will need sqlite (http://www.sqlite.org) and expat (http://expat.sourceforge.net.)

These project files do not specify any include/library folders - you will need to set these yourself either in the project settings or in your Visual C++ settings. These were ommitted due to the fact that they will be installed in different locations on different machines.

The bug you need to fix in one of the source files - src/common/fs_zip.cpp Add the following code:

if (right.Contains(wxT("./")))
{
    if (right.GetChar(0) != wxT('/')) right = wxT('/') + right;
    wxFileName rightPart(right, wxPATH_UNIX);
    rightPart.Normalize(wxPATH_NORM_DOTS, wxT("/"), wxPATH_UNIX);
    right = rightPart.GetFullPath(wxPATH_UNIX);
}

before this line, on line 90:

if (right.GetChar(0) == wxT('/')) right = right.Mid(1);

That should be all you need to know about compiling with VC6, good luck! :o)

galaxyview's People

Contributors

scumola avatar

Watchers

 avatar  avatar

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.