| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Preferably, we would detect the presence of such functions, but _some_ folks
oppose feature tests.
|
| |
|
| |
|
|
|
|
|
| |
Unlike what the comment says, FreeBSD can have zip, and like Linux, it
won't usually have it unless installed by hand.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This updates all the contrib projects for this support
as well.
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of
defined(WIN32CONSOLE)
we should use:
defined(TARGET_OS_WINDOWS) && !defined(USE_TILE)
As well as replace
defined(WIN32TILES)
with:
defined(TARGET_OS_WINDOWS) && defined(USE_TILE)
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
|
| |
externs.h is where the warning is generated, so...
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
|
|
|
| |
Microsoft warns us that they're ignoring the C++ specification.
How nice.
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sometimes we were doing #if DEBUG and others we were doing #ifdef DEBUG.
If we mix both, we have problems: If the DEBUG macro isn't defined, the
statement '#if DEBUG' doesn't really make sense logically, because 'DEBUG'
has no value. And if we '#define DEBUG 0', then the '#ifdef DEBUG's
become true statements.
The easiest fix is to swap out the #ifs with #ifdefs.
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Apple's Terminal.app sets a TERM_PROGRAM environment variable to
"Apple_Terminal". This gives us a good way to detect at runtime
whether or not the terminal supports more than 8 colors.
The main reason for checking at runtime is that Mac users are
able to run other terminal apps (xterm, rxvt, etc), and should
expect to see more than 8 colors in terminals that support it.
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
| |
This fixes compiling some source files separately (make crash-u.o now
works while it failed before), but I may well have missed something.
|
| |
|
| |
|
|
|
|
|
|
| |
Detailed discussion is here: http://www.genodeen.net/index.clua?cwrng
Signed-off-by: Darshan Shaligram <dshaligram@users.sourceforge.net>
|
|
|
|
|
|
| |
There's no reason not to.
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
|
|
| |
If you specify OSX as a macro, it shouldn't cause the compiler
to throw a warning.
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With FreeBSD, we have to use SAVE_PACKAGE_NONE for now, because
the /usr/bin/zip program isn't part of the base installation, and
GNU tar isn't either. FreeBSD has a 'tar' command, but it's BSD
tar, rather than GNU tar. And FreeBSD's tar doesn't have the very
important '--remove-files' parameter.
I've posted on the FreeBSD forums asking about the best way to
emulate the '--remove-files' option using nothing but FreeBSD's
stock commands. I'll add a SAVE_PACKAGE_BSD_TAR option or similar
once I have more information.
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I was originally going to split this up into multiple patches, but
the Xcode project file format is a bit difficult to cleanly split
for patching. So anyway, I've made a few changes:
- Fixed Xcode 3.2 compatibility (complaints about using GCC
4.2 with the Mac OS X 10.4 SDK, among other things).
- Removed the tilegen target (this is now done via a script)
- Fixed the Crawl-tiles-cmd target
+ Now links to AppKit.framework and OpenGL.framework
+ Set the search path for the SDL, SDL_image and libpng
frameworks to be /Library/Frameworks, which is standard.
- Fixed the Crawl target
+ Now copies the necessary non-standard frameworks to the
Frameworks directory (this eliminates the dependency on
Fink).
+ Eliminated a couple redundant or worthless steps which
did things we really didn't need.
- Added precompiled header support to the Crawl-cmd and
Crawl-tiles-cmd targets.
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
|
|
|
| |
* Apply patch by trentbuck to allow packaging with tar (BR 2827595).
* Fix 2827342: Consider weapons "too large to wield" as useless.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10424 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
| |
* Fix random blink placing the player in dangerous clouds.
* Fix message when trying to place Conjure Flame in a wax wall.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10397 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
| |
lose hit points until back in water, using ENCH_AQUATIC_LAND. (Bug 2824663)
Also fix tiles compilation (patch 2824632) and add DATA_DIR_PATH to tiled
icons (patch 2824635). Both patches (and some more) by Trent W. Buck.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10364 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
| |
* Change Trog's Hand to rr += 100.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9957 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
| |
If errno.h doesn't exist on DOS, this will fail, but then it would have
failed anyway.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8978 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8217 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
| |
into a file crawlhistory.txt in docs/obsolete.
I used a perl script to do this under the assumption that all these
change logs used the same system following the keyword "Change History".
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6930 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
| |
(-DDGL_ENABLE_CORE_DUMP) to make it easier to track down crashes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6912 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
| |
easier to keep multiple dgl servers in sync.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6744 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
| |
ORIENT: south, but defined no exits. Fixed by applying the old floating vault exit behaviour to all vaults (apart from minivaults) so explicit @ exits are now optional.
Also fixed maps being unable to place monsters on shallow water.
Added debug_mons_scan to scan the mgrd for stranded monsters in fulldebug mode.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6659 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
| |
replaced with SDL/OpenGL.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6550 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
| |
Windows. Adding PCRE to DOS builds by default. Fixing DOS build error due to DJGPP brain damage.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6511 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
| |
enabled, it makes sense to have that be on by default.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6507 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
| |
Add more information to the version command.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5729 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added wrapper implementation for opendir/readdir
Other functions left stubbed out.
It's a shame that crawl's "direct.h" conflicts with <direct.h>.
Fixed up use of AppHdr.h in a couple places (it must be included first);
changed project to use precompiled headers.
crawl now compiles cleanly but doesn't link.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3573 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3194 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
| |
Removed a lot of dead code and fixed some minor bugs in wanderer generation.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2840 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2534 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
| |
Pause after reporting an error for dgamelaunch so that the dgl menu does not hide the error message.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2371 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
| |
major version.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2352 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
| |
UNICODE_LOCALE, defaulting to en_US.UTF-8.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2322 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
| |
Colour overlays were not being rotated/mirrored, fixed.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2231 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
| |
for dgamelaunch.
Dropped ice statue hitpoints to compensate for their immunity to
disintegration.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2195 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
| |
Fixed a potential race condition when writing scores.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1911 c06c8d41-db1a-0410-9941-cceddc491573
|