Skip to content

Commit

Permalink
Origination.
Browse files Browse the repository at this point in the history
  • Loading branch information
toolness committed Aug 5, 2012
0 parents commit 1d9c9ac
Show file tree
Hide file tree
Showing 77 changed files with 19,004 additions and 0 deletions.
7 changes: 7 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Pman AUTHORS

I (Atul Varma) wrote 99% of the code and created all of the graphics,
with the exception of the fruits. Credits to other individuals are
given when appropriate in the source code.

Thanks to Ariel Matthews for the great fruit graphics! :)
16 changes: 16 additions & 0 deletions BUGS
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Pman BUGS

Mac OS X:
---------

If you're using "thousands of colors" (15/16-bpp color depth),
windowed mode blits might not work. Fullscreen mode works fine, and
pixel draws work fine in windowed mode, but blits don't. I'm
attributing this bug to SDL, since I'm pretty sure I'm using the
proper protocol for querying the graphics hardware and setting the
video mode. Everything works fine under "millions of colors",
though.

There's some kind of text error message that displays on the console
whenever you switch from windowed to fullscreen mode. It doesn't
crash anything, though.
340 changes: 340 additions & 0 deletions COPYING

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
2003-08-10 - Version 0.1.5 released. Added a BUGS file.

2003-08-09 - Version 0.1.4 released. Made a few changes to the
postmortem, and fixed a bug in the root Makefile.am.

2003-08-06 - Version 0.1.3 released. Modified the VC++ project files so
they integrate OK with the build process.

2003-08-06 - Version 0.1.2 released. Added a few scripts to aid in
compiling and distribution, and also created new "install" and
"uninstall" targets for the main makefile. Also added a
game_load_bmp() function to the code to replace the use of
SDL_LoadBMP(), and modified the stat display to display the
version of Pman from config.h. Oh, and config.h is also
automatically generated and used during the build process, too.

2003-08-06 - Version 0.1 released.
79 changes: 79 additions & 0 deletions INSTALL
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
To compile Pman:
----------------
1. Run './configure'.
2. Run 'make'.
3. Run 'make install'.

To run Pman:
------------
1. Go into the 'release' directory.
2. Depending on your OS, run either "pman" (Unix/MacOSX) or "pman.exe".

Note that in this project, "make install" has
been rewritten to copy all essential program files into the "release"
directory.

Similarly, "make uninstall" deletes the "release" directory and
everything inside it.

Compilation prerequisites:
--------------------------

The only third-party library this application requires is the Simple
DirectMedia Layer, available for most platforms at
http://www.libsdl.org. Note that although the configure script checks
for SDL 1.2.0 or higher, in practice the application has only been
tested with SDL 1.2.5.

Cross-platform compatibility:
-----------------------------

Pman has been compiled and run successfully on the following platforms
and compilers:

MacOS X 10.2 ("Jaguar") using gcc 3.1
RedHat Linux 8.0 ("Psyche") using gcc 3.2
Windows 2000 using Microsoft Visual C++ .NET 2002
Windows 2000 using Cygwin and gcc 3.2

Additionally, Pman has run successfully on the following platforms:

Windows 98
Windows XP

MacOS X notes:
--------------

Don't download the precompiled SDL OS X development package; this
installs an OS X framework that can be used with Apple's Project
Builder, but it doesn't seem to be compatible with the Unix library
version of SDL that the configure/make cycle uses. So download
the source to the SDL library, compile, and install it.

Windows notes:
--------------

If you are using Windows, the configure/make cycle probably won't
work unless you're using Cygwin32 and have the SDL library installed
under it.

If you want to compile Pman under Win32 using Visual C++ .NET, use the
project contained in the 'VisualC' directory. You will also need to
make sure you have the SDL library and include paths set up in your
project or global preferences. To compile this properly, you must
run "configure --disable-sdl" in the root directory; after doing
this, build the project in MS Visual Studio, and then run "make
install" in the root directory. Note that even compiling using MS
Visual Studio still requires Cygwin, although it doesn't require SDL
under Cygwin (this is because the configure script creates the
config.h file, which passes on needed information to Visual C++).

If you have Cygwin32 but don't have the SDL library, you can still
maintain the package (although you can't compile it unless you go the
MSVC++ route). To do this, run configure with the '--disable-sdl'
option. This will allow configure to create a makefile, but you won't
be able to actually compile the binary via 'make'. You can, however,
make any modifications to the package and use 'make dist' to
re-distribute the modified package. If you do this, make sure you're
using the 'ntea' option with Cygwin so that POSIX file permissions are
preserved.
16 changes: 16 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
SUBDIRS = docs resources src VisualC
EXTRA_DIST = BUGS auto-rebuild.sh auto-package.sh

# install and uninstall have been completely replaced so that the
# installer copies all essential program files into the /release
# directory, and the uninstaller deletes the /release directory.

install:
test -d release \
|| mkdir release
cp -p resources/bmp/*.bmp release
cp -p src/pman${EXEEXT} release

uninstall:
rm -r -f release

Loading

0 comments on commit 1d9c9ac

Please sign in to comment.