Skip to content

Commit

Permalink
imported version 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jdratlif committed Aug 26, 2019
1 parent ae2d9ed commit 71d188b
Show file tree
Hide file tree
Showing 21 changed files with 10,367 additions and 1,081 deletions.
1,874 changes: 937 additions & 937 deletions DialogBlocks/smse.pjd

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Project related configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = "Super Metroid SRAM Editor"
PROJECT_NUMBER = 0.91
PROJECT_NUMBER = 1.0
OUTPUT_DIRECTORY = apidocs
CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English
Expand Down
10 changes: 5 additions & 5 deletions Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@
<string>????</string>

<key>CFBundleVersion</key>
<string>0.91</string>
<string>1.0</string>

<key>CFBundleShortVersionString</key>
<string>0.91</string>
<string>1.0</string>

<key>CFBundleGetInfoString</key>
<string>smse 0.91, (C) 2005 John Ratliff</string>
<string>smse 1.0, (C) 2005 emuWorks</string>

<key>CFBundleLongVersionString</key>
<string>0.91, (C) 2005 John Ratliff</string>
<string>1.0, (C) 2005 emuWorks</string>

<key>NSHumanReadableCopyright</key>
<string>Copyright 2005 John Ratliff</string>
<string>Copyright 2005 emuWorks</string>

<key>LSRequiresCarbon</key>
<true/>
Expand Down
3 changes: 2 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
SUBDIRS = source
EXTRA_DIST = apidocs docs/*.txt DialogBlocks/smse.pjd TODO Doxyfile Info.plist
EXTRA_DIST = apidocs docs/*.txt DialogBlocks/smse.pjd TODO Doxyfile Info.plist \
vc.net/smse/smse.sln vc.net/smse/smse.vcproj

.PHONY: allclean apidocs touch

Expand Down
6 changes: 4 additions & 2 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,9 @@ sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
SUBDIRS = source
EXTRA_DIST = apidocs docs/*.txt DialogBlocks/smse.pjd TODO Doxyfile Info.plist
EXTRA_DIST = apidocs docs/*.txt DialogBlocks/smse.pjd TODO Doxyfile Info.plist \
vc.net/smse/smse.sln vc.net/smse/smse.vcproj

all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive

Expand Down Expand Up @@ -353,7 +355,7 @@ distclean-tags:
distdir: $(DISTFILES)
$(am__remove_distdir)
mkdir $(distdir)
$(mkdir_p) $(distdir)/DialogBlocks $(distdir)/docs
$(mkdir_p) $(distdir)/DialogBlocks $(distdir)/docs $(distdir)/vc.net/smse
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
list='$(DISTFILES)'; for file in $$list; do \
Expand Down
28 changes: 14 additions & 14 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for smse 0.91.
# Generated by GNU Autoconf 2.59 for smse 1.0.
#
# Report bugs to <[email protected]>.
#
Expand Down Expand Up @@ -269,8 +269,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='smse'
PACKAGE_TARNAME='smse'
PACKAGE_VERSION='0.91'
PACKAGE_STRING='smse 0.91'
PACKAGE_VERSION='1.0'
PACKAGE_STRING='smse 1.0'
PACKAGE_BUGREPORT='[email protected]'

ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar build build_cpu build_vendor build_os host host_cpu host_vendor host_os WINDOWS_TRUE WINDOWS_FALSE CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE WX_CONFIG_PATH WX_CPPFLAGS WX_CFLAGS WX_CXXFLAGS WX_CFLAGS_ONLY WX_CXXFLAGS_ONLY WX_LIBS WX_LIBS_STATIC WX_VERSION WX_INCLUDES LIBOBJS LTLIBOBJS'
Expand Down Expand Up @@ -738,7 +738,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures smse 0.91 to adapt to many kinds of systems.
\`configure' configures smse 1.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
Expand Down Expand Up @@ -804,7 +804,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of smse 0.91:";;
short | recursive ) echo "Configuration of smse 1.0:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -930,7 +930,7 @@ fi
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
smse configure 0.91
smse configure 1.0
generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc.
Expand All @@ -944,7 +944,7 @@ cat >&5 <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by smse $as_me 0.91, which was
It was created by smse $as_me 1.0, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@
Expand Down Expand Up @@ -1593,7 +1593,7 @@ fi
# Define the identity of the package.
PACKAGE='smse'
VERSION='0.91'
VERSION='1.0'
cat >>confdefs.h <<_ACEOF
Expand Down Expand Up @@ -2851,15 +2851,15 @@ if test $HAVE_WXWIDGETS -eq 1; then
CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
LIBS="$LIBS $WX_LIBS"
else
{ { echo "$as_me:$LINENO: error: wxWidgets >= 2.6.1 is required.
{ { echo "$as_me:$LINENO: error: wxWidgets >= 2.6 is required.
Please install wxWidgets 2.6.1 from http://www.wxwidgets.org.
Please install wxWidgets 2.6 from http://www.wxwidgets.org.
This error could also be the result of a non-standard install
path or a missing wx-config program." >&5
echo "$as_me: error: wxWidgets >= 2.6.1 is required.
echo "$as_me: error: wxWidgets >= 2.6 is required.
Please install wxWidgets 2.6.1 from http://www.wxwidgets.org.
Please install wxWidgets 2.6 from http://www.wxwidgets.org.
This error could also be the result of a non-standard install
path or a missing wx-config program." >&2;}
Expand Down Expand Up @@ -3262,7 +3262,7 @@ _ASBOX
} >&5
cat >&5 <<_CSEOF
This file was extended by smse $as_me 0.91, which was
This file was extended by smse $as_me 1.0, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -3325,7 +3325,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
smse config.status 0.91
smse config.status 1.0
configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
Expand Down
6 changes: 3 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dnl Initialize autoconf
AC_INIT([smse], [0.91], [[email protected]])
AC_INIT([smse], [1.0], [[email protected]])

dnl require autoconf >= 2.59
AC_PREREQ([2.59])
Expand Down Expand Up @@ -33,9 +33,9 @@ if test $HAVE_WXWIDGETS -eq 1; then
CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
LIBS="$LIBS $WX_LIBS"
else
AC_MSG_ERROR([wxWidgets >= 2.6.1 is required.
AC_MSG_ERROR([wxWidgets >= 2.6 is required.
Please install wxWidgets 2.6.1 from http://www.wxwidgets.org.
Please install wxWidgets 2.6 from http://www.wxwidgets.org.
This error could also be the result of a non-standard install
path or a missing wx-config program.])
Expand Down
7 changes: 6 additions & 1 deletion docs/smse.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--------------------------------------------------------------------------------
| smse 0.91 - The Super Metroid SRAM Editor
| smse 1.0 - The Super Metroid SRAM Editor
| Copyright (C) 2005 emuWorks (http://games.technoplaza.net/)
| by John Ratliff <webmaster [AT] technoplaza [DOT] net>
--------------------------------------------------------------------------------
Expand Down Expand Up @@ -380,6 +380,11 @@
| 5.0 Release History
--------------------------------------------------------------------------------

Version 1.0 - February 22, 2007
- Replaced ampersand in Yellow & Eye Doors tab with a /
- Minor code cleanup (compiles in debug mode now)
- Added Visual C++ 2005 project files

Version 0.91 - Saturday, October 15, 2005
- Updated save point list in the readme
- Added Tourian Metal Door 5
Expand Down
2 changes: 1 addition & 1 deletion source/App.cc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
using namespace smse;

const wxString smse::APP_NAME(wxT("Super Metroid SRAM Editor"));
const wxString smse::APP_VERSION(wxT(PACKAGE_VERSION));
const wxString smse::APP_VERSION(wxT("1.0"));
const wxString smse::APP_COPYRIGHT(wxT("Copyright (C) 2005 emuWorks"));
const wxString smse::APP_URL(wxT("http://games.technoplaza.net/"));

Expand Down
80 changes: 1 addition & 79 deletions source/AppConstants.hh
Original file line number Diff line number Diff line change
Expand Up @@ -20,89 +20,11 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

// $Id: AppConstants.hh,v 1.3 2005/10/15 18:40:24 technoplaza Exp $
// $Id: AppConstants.hh,v 1.4 2005/10/17 09:54:44 technoplaza Exp $

#ifndef _SMSE_APPCONSTANTS_HH_
#define _SMSE_APPCONSTANTS_HH_

/// number of save points in Brinstar
#define BS_SAVEPOINTS 5

/// number of save points in Crateria
#define C_SAVEPOINTS 2

/// offset of the checksums
#define CHECKSUM_OFFSET 0

/// offset of the redundant checksums
#define CHECKSUM_OFFSET2 0x1FF0

/// time (ms) to wait before clearing the status bar
#define CLEAR_DELAY 4000

/// offset of the checksum compliments
#define COMPLIMENT_OFFSET 0x8

/// offset of the redundant checksum compliments
#define COMPLIMENT_OFFSET2 0x1FF8

/// number of energy tanks in the game
#define ETANKS 14

/// number of eye doors in the game
#define EYEDOORS 5

/// offset to the beginning of the game data
#define GAME_OFFSET 0x10

/// size of each individual save game
#define GAME_SIZE 0x65C

/// number of save games in the SRAM data
#define GAMES 3

/// number of green doors in the game
#define GREENDOORS 23

/// idenfitier for the status bar clear timer
#define ID_SBTIMER wxID_HIGHEST + 1

/// number of save points in Maridia
#define M_SAVEPOINTS 4

/// number of metal doors in the game
#define METALDOORS 40

/// number of missile packs in the game
#define MISSILE_PACKS 46

/// number of save points in Norfair
#define NF_SAVEPOINTS 6

/// number of power bomb packs in the game
#define PBOMB_PACKS 10

/// number of reserve tanks in the game
#define RTANKS 4

/// number of red doors in the game
#define REDDOORS 30

/// number of super missile packs in the game
#define SMISSILE_PACKS 10

/// size of the SRAM file
#define SRAM_SIZE 0x2000

/// number of save points in Tourian
#define T_SAVEPOINTS 2

/// number of save points in the Wrecked Ship
#define WS_SAVEPOINTS 1

/// number of yellow doors in the game
#define YELLOWDOORS 13

namespace smse {
/// The application name
extern const wxString APP_NAME;
Expand Down
22 changes: 12 additions & 10 deletions source/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,18 @@ EXTRA_DIST = res/icon32x32.ico res/icon32x32.xpm res/smse.xrc res/windows.rc
bin_PROGRAMS = smse

smse_SOURCES = AppConstants.hh \
App.cc App.hh \
exceptions/FileIOException.cc exceptions/FileIOException.hh \
exceptions/InvalidButtonException.cc exceptions/InvalidButtonException.hh \
exceptions/InvalidSRAMDataException.cc exceptions/InvalidSRAMDataException.hh \
exceptions/InvalidSRAMFileException.cc exceptions/InvalidSRAMFileException.hh \
model/SRAMFile.cc model/SRAMFile.hh \
view/Frame.cc view/Frame.hh \
view/SRAMFileTarget.cc view/SRAMFileTarget.hh

nodist_smse_SOURCES = res/smse.cc
App.cc App.hh \
exceptions/FileIOException.cc exceptions/FileIOException.hh \
exceptions/InvalidButtonException.cc \
exceptions/InvalidButtonException.hh \
exceptions/InvalidSRAMDataException.cc \
exceptions/InvalidSRAMDataException.hh \
exceptions/InvalidSRAMFileException.cc \
exceptions/InvalidSRAMFileException.hh \
model/SRAMFile.cc model/SRAMFile.hh \
res/smse.cc \
view/Frame.cc view/Frame.hh \
view/SRAMFileTarget.cc view/SRAMFileTarget.hh

if WINDOWS
smse_SOURCES += res/windows.rc
Expand Down
Loading

0 comments on commit 71d188b

Please sign in to comment.