summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-18 07:25:17 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-18 07:25:17 +0000
commitde24b3c5aaf12d905731db3419e5fd2d3c46f775 (patch)
treeea7e1bc7000543c44677f24690d5afce61c853e2
parentbcf964d4fe3d671946d6cf647cba5870e92e80b1 (diff)
downloadcrawl-ref-de24b3c5aaf12d905731db3419e5fd2d3c46f775.tar.gz
crawl-ref-de24b3c5aaf12d905731db3419e5fd2d3c46f775.zip
Updated CREDITS, INSTALL.
dgamelaunch ttyplay workaround. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.1.6@667 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/CREDITS101
-rw-r--r--crawl-ref/source/AppHdr.h34
-rw-r--r--crawl-ref/source/libunix.cc5
-rw-r--r--crawl-ref/source/ouch.cc12
4 files changed, 80 insertions, 72 deletions
diff --git a/crawl-ref/CREDITS b/crawl-ref/CREDITS
index 40215ebbfd..a8402607c2 100644
--- a/crawl-ref/CREDITS
+++ b/crawl-ref/CREDITS
@@ -1,51 +1,50 @@
-The Dungeon Crawl Stone Soup team (Peter Berger, Nat Lanza, Haran Pilpel,
-Erik Piper, David Ploog, Darshan Shaligram) would like to thank:
-
-* Linley Henzell, the author of Dungeon Crawl, for writing this great game.
-
-* Brent Ross, Dungeon Crawl 4.0/4.1 maintainer. Stone Soup owes a lot to his
- ideas and code in Crawl 4.1.
-
-* Other members of the 4.0 Crawl development team: Michal Valvoda, Guus Sliepen,
- Brian Robinson, Mark Mackey, Gordon Lipford, Daniel Ligon, Jesse Jones, Josh
- Fishman, Don Brodale.
-
-* Everyone else who has contributed to Crawl in the past.
-
-We'd also like to thank members of the Dungeon Crawl community who have
-contributed to Dungeon Crawl Stone Soup:
-
-Warwick Allison
-Roy Axenov
-Alexander Beisig
-Erik Inge Bolsø
-Peter Borgmann
-Matthew Cline
-Mike Drinen
-Kieron Dunbar
-Elethiomel
-Christopher Evenstar
-Ben Goetter
-Ciaran Hamilton
-R. Dan Henry
-Benoit Hudson
-Ilyak
-Mitsuhiro Itakura
-Ryan Kusnery
-Jukka Kuusisto
-Icy Lich
-Arien Malec
-Eva Myers
-Erkki Nurmi
-nyra
-Yuuma Oohara
-Pedro
-Lemuel Pitkin
-Johanna Ploog
-Remsleep
-David Rose
-sartak
-Roman Sêk
-Solf
-Johan Strandell
-Jeremey Wilson \ No newline at end of file
+The Dungeon Crawl Stone Soup team (Peter Berger, Nat Lanza, Haran Pilpel,
+Erik Piper, David Ploog, Darshan Shaligram) would like to thank:
+
+* Linley Henzell, the author of Dungeon Crawl, for writing this great game.
+
+* Brent Ross, Dungeon Crawl 4.0/4.1 maintainer. Stone Soup owes a lot to his
+ ideas and code in Crawl 4.1.
+
+* Other members of the 4.0 Crawl development team: Michal Valvoda, Guus Sliepen,
+ Brian Robinson, Mark Mackey, Gordon Lipford, Daniel Ligon, Jesse Jones, Josh
+ Fishman, Don Brodale.
+
+We'd also like to thank members of the Dungeon Crawl community who have
+contributed to Dungeon Crawl Stone Soup:
+
+Warwick Allison
+Roy Axenov
+Alexander Beisig
+Erik Inge Bolsø
+Peter Borgmann
+Matthew Cline
+Rachel Elizabeth Dillon
+Mike Drinen
+Kieron Dunbar
+Elethiomel
+Christopher Evenstar
+Ben Goetter
+Ciaran Hamilton
+R. Dan Henry
+Benoit Hudson
+Ilyak
+Mitsuhiro Itakura
+Ryan Kusnery
+Jukka Kuusisto
+Icy Lich
+Arien Malec
+Shawn Moore
+Eva Myers
+Erkki Nurmi
+nyra
+Yuuma Oohara
+Pedro
+Lemuel Pitkin
+Johanna Ploog
+Remsleep
+David Rose
+Roman Sêk
+Solf
+Johan Strandell
+Jeremey Wilson
diff --git a/crawl-ref/source/AppHdr.h b/crawl-ref/source/AppHdr.h
index 198b1819fa..138915ea2e 100644
--- a/crawl-ref/source/AppHdr.h
+++ b/crawl-ref/source/AppHdr.h
@@ -43,10 +43,6 @@
#ifndef APPHDR_H
#define APPHDR_H
-#if _MSC_VER >= 1100 // note that we can't just check for _MSC_VER: most compilers will wind up defining this in order to work with the SDK headers...
-#pragma message("Compiling AppHeader.h (this message should only appear once)")
-#endif
-
#if defined(GCC)
# define HASH_CONTAINER_NS __gnu_cxx
# define HASH_CONTAINERS
@@ -75,6 +71,26 @@
// Define plain_term for Unix and dos_term for DOS.
#ifdef UNIX
+ // Uncomment if you're running Crawl with dgamelaunch and have
+ // problems viewing games in progress. This affects how Crawl
+ // clears the screen (see DGL_CLEAR_SCREEN) below.
+ //
+ // #define DGAMELAUNCH
+
+ // DGL_CLEAR_SCREEN specifies the escape sequence to use to clear
+ // the screen (used only when DGAMELAUNCH is defined). We make no
+ // attempt to discover an appropriate escape sequence for the
+ // term, assuming that dgamelaunch admins can adjust this as
+ // needed.
+ //
+ // Why this is necessary: dgamelaunch's ttyplay initialises
+ // playback by jumping to the last screen clear and playing back
+ // from there. For that to work, ttyplay must be able to recognise
+ // the clear screen sequence, and ncurses clear()+refresh()
+ // doesn't do the trick.
+ //
+ #define DGL_CLEAR_SCREEN "\033[2J"
+
#define PLAIN_TERM
#define MULTIUSER
#define USE_UNIX_SIGNALS
@@ -136,14 +152,6 @@
#include "libunix.h"
-#elif _MSC_VER >= 1100
- #include <string>
- #include "WinHdr.h"
- #error MSVC is not supported yet
- #define CHARACTER_SET A_ALTCHARSET
-
- #define FILE_SEPARATOR '/'
-
#elif defined(DOS)
#define DOS_TERM
#define SHORT_FILE_NAMES
@@ -163,7 +171,7 @@
#define vsnprintf(buf, size, format, args) vsprintf(buf, format, args)
#endif
-#elif defined(WIN32CONSOLE) && (defined(__IBMCPP__) || defined(__MINGW32__))
+#elif defined(WIN32CONSOLE)
#include "libw32c.h"
#define PLAIN_TERM
#define SHORT_FILE_NAMES
diff --git a/crawl-ref/source/libunix.cc b/crawl-ref/source/libunix.cc
index 39efcf371d..3aee4c0981 100644
--- a/crawl-ref/source/libunix.cc
+++ b/crawl-ref/source/libunix.cc
@@ -399,7 +399,12 @@ int clrscr()
textcolor( LIGHTGREY );
textbackground( BLACK );
retval = clear();
+#ifndef DGAMELAUNCH
refresh();
+#else
+ printf(DGL_CLEAR_SCREEN);
+ fflush(stdout);
+#endif
return (retval);
}
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index a4a93a4383..1ee91d02b3 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -898,16 +898,12 @@ void end_game( struct scorefile_entry &se )
clrscr();
if (!dump_char( morgue_name(), !dead, true ))
+ {
mpr("Char dump unsuccessful! Sorry about that.");
-#if DEBUG_DIAGNOSTICS
- //jmf: switched logic and moved "success" message to debug-only
- else
- mpr("Char dump successful! (morgue.txt).");
-#endif // DEBUG
-
- more();
+ more();
+ clrscr();
+ }
- clrscr();
#ifdef DOS_TERM
window(1, 1, 80, 25);
#endif