summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/util
Commit message (Collapse)AuthorAgeFilesLines
* Fix name sorting in columnise-credits.Darshan Shaligram2010-01-161-0/+2
|
* Add Robert Burnham to credits (dpeg).Darshan Shaligram2010-01-141-5/+11
| | | | Also tweak the columnise-credits script to directly update CREDITS.txt instead of sending its output to stdout.
* Move to a more compile-safe way of defining species skill aptitudes.Darshan Shaligram2010-01-041-11/+10
| | | | This also fixes broken aptitudes after Darts skill was removed.
* Fix alignment of unarmed combat skill column.Darshan Shaligram2010-01-031-1/+4
|
* Generate aptitudes.txt as part of the build, remove generated file from repo.Darshan Shaligram2010-01-031-0/+246
|
* Remove code duplication by making artifacts use SPARM_SPIRIT_SHIELD.Adam Borowski2009-12-151-2/+1
|
* Massively expand tile functionality in vault definitions.Jude Brown2009-12-092-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | This commit creates a new specifier for vaults: "TILE". Used much in the same way as COLOUR, it can apply any specific tile to a feature. Example syntax is specified in the syntax file, but copied here for clarity: TILE: x = wall_flesh Identical to FTILE and RTILE in syntax, but closer to COLOUR in functionality. Instead of replacing the floor or relevant rock tiles, this can be used to replace the tile used for any specific feature. This can be used in combination with FTILE and RTILE to change the appearance of features. It can only be used with previously specified tiles, however. Like COLOUR and FTILE, this should be used sparingly and to good effect. Please, feel free to update vaults to use this! We want to ensure that tiles players get the same experience as ASCII players do. This is only the first stage in a push for greater flexibiltiy through tiles, but hopefully it'll have a good impact.
* Use env in hashbangs to placate necrocomputing OSes with packaged perl ↵Adam Borowski2009-12-025-5/+5
| | | | installed in /usr/local/bin/
* Revert "Convert dgn.set_border_fill_type to BORDER."Jude Brown2009-11-302-11/+0
| | | | | | | This reverts commit 941444076c26e5e5149c6368a4261d60842fe3ec. After consultation with Enne, this doesn't really fix the issue, and is therefore superfluous.
* Convert dgn.set_border_fill_type to BORDER.Jude Brown2009-11-302-0/+11
| | | | | | | | | | The Lua prelude of maps isn't executed early enough now. Using 'BORDER' sets map->border_fill_type as soon as the map is read, rather than after it is placed. This commit increases the value of MAP_CACHE_VERSION. Can be reverted if it causes issues or is unwanted.
* Subvaults.Enne Walker2009-11-282-1/+19
| | | | | | | | Vaults can now include other vaults as a part of their definition. These subvaults are currently included by tag only and replace glyphs in their parent vault. See documentation for more details. Vault:8 has been modified to use subvaults.
* Properly build when out of git (using packaged source).Adam Borowski2009-11-252-9/+9
|
* Don't number entries in art-data.h, this serves no purpose but clouds diffs.Adam Borowski2009-11-121-3/+1
|
* Update a few special cases in includes.sh.Robert Vollmert2009-11-101-5/+2
|
* Split up level_design.txt into smaller files.David Ploog2009-11-081-1/+1
| | | | | Namely introduction.txt, syntax.txt, advanced.txt all inside of docs/develop/levels.
* Remove a few placeholders from enum.hStefan O'Rear2009-11-041-2/+2
|
* Artefacts no longer provide tele or mappingMatthew Cline2009-11-031-8/+11
| | | | Evokable teleporataion and evokable mapping are gone from artefacts.
* version.cc: combine CFLAGS_L and CFLAGSSteven Noonan2009-10-311-6/+1
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Combine mons_is_sleeping(monsters *m) into monsters::asleep()abrahamwl2009-10-301-1/+1
| | | | ...and replace all references to mons_is_sleeping with asleep.
* makefile: allow build.h to be generated based on git-merge-baseSteven Noonan2009-10-251-2/+7
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Retrieved names lost from CREDITS.Darshan Shaligram2009-10-221-0/+69
|
* columnise-credits should remove duplicate names.Darshan Shaligram2009-10-221-1/+2
|
* Fix bug in columnise-credits that could cause it to lose names (dpeg).Darshan Shaligram2009-10-221-1/+1
|
* KPROP: assign feature properties in Lua vaults: FPROP_BLOODY, etc.Jude Brown2009-10-212-1/+12
|
* Fix missing levcomp include properly.Robert Vollmert2009-10-211-2/+1
|
* Revert "Fix broken include."Robert Vollmert2009-10-211-1/+2
| | | | | | Messed up the submodule again, I'm afraid. This reverts commit 4c9ce77b6e7a7494e3e4ada71eb4155210af1455.
* Fix broken include.Robert Vollmert2009-10-211-2/+1
|
* compflag.h: generate via perl script instead of shellSteven Noonan2009-10-191-0/+38
| | | | | | | Some platforms broke because they used /bin/sh, which doesn't have the '-n' parameter for 'echo'. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Split dgn_lib out of luadgn.cc; rename luadgn to dlua.Robert Vollmert2009-10-191-1/+1
|
* gen_ver.pl: add OS version to the list of definesSteven Noonan2009-10-181-0/+3
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* gen_ver.pl: use 'uname -s' instead of 'uname -o'Steven Noonan2009-10-181-1/+1
| | | | | | Some versions of 'uname' do not have an '-o' option. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* gen_ver.pl: don't bother with MD5 checkingSteven Noonan2009-10-181-31/+2
| | | | | | | | | | Comparing MD5 hashes used to be important for this script, because in the project I developed it for, it was a globally included header (by something akin to AppHdr.h). Preventing it from changing was pretty important. But it doesn't matter now, since we only make it a dependency of version.cc, and the makefile regenerates it on every build (which is handy). Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* gcc-opt.pl: use gcc-opt-x86.pl for x86_64 as wellSteven Noonan2009-10-181-1/+1
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Add compilation information to Version namespaceMatthew Cline2009-10-181-0/+12
| | | | | | | | | | The Version namespace now provides the compiler which was used, the OS, machine type and processor type the compilation was done on, and the CFLAGS, CFLAGS_L and LDFLAGS which were used. If GCC was the compiler, it also provides the compiler version. This information is included in crash reports, and can be dumped using the new command line option "-version".
* Lua map improvements.Enne Walker2009-10-181-1/+1
| | | | | | | | | | | | | | | | | | | | The previous dungeon layout.des functions all apply directly to the grid and so are unsuitable for use in vaults. This aims to correct that by providing lua functions that can manipulate maps (of glyphs). grd[x][y] in a .des file can now be used to get and set glyphs in the current map. This should allow for less cumbersome map variations than what you can do with just SUBST and SHUFFLE. To support that, map_def no longer batches up transforms--it applies them all immediately. This resulted in a good bit of refactoring. FTILE/RTILE map commands now support setting the tile for multiple features at once. There are also a small number of new lua functions that apply to maps (map_octa_room, map_smear, and map_extend). Ideally, these will eventually replace the existing builder funcs that work on grd.
* gen_ver.pl: add build.h generator scriptSteven Noonan2009-10-182-0/+164
| | | | | | | | This works best with 'git describe', but if it can't use that (i.e. in an official release tree, outside of git), it will use release_ver in the util directory. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* gcc-opt-x86.pl: add Core 2 and AtomSteven Noonan2009-10-181-5/+23
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* gcc-gte.pl: use 1/0 instead of Yes/NoSteven Noonan2009-10-181-6/+6
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* git-opt-x86.pl: Detect some more archesMatthew Cline2009-10-181-0/+26
| | | | Detect pentium, pentium-mmx, pentiumpro, athlon, and amdfam10.
* util/gcc-opt.pl: added (whoops)Steven Noonan2009-10-181-0/+38
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* AUTO_OPT: add a bit of flexibility for future porting, Mac OS X supportSteven Noonan2009-10-182-50/+104
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* makefile: Automatically optimize for your machineMatthew Cline2009-10-171-0/+50
| | | | | | | | | Setting the makefile variable AUTO_OPT_GCC will give GCC a list of optimization flags suited for the machine make is run on. It does this using util/auto-opt.sh. "-march=native -mtune=native" are always outputted, which causes GCC to detect the CPU type you use and generate code for that. On Linux systems it also looks at the flags line of /proc/cpuinfo to pick x86 optimization flags.
* art-data.pl: add tiledef-player.h include to fix undeclared identifiersSteven Noonan2009-10-151-0/+1
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* contribs: moved to contribs dir, added as submodulesSteven Noonan2009-10-14190-231327/+0
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Fix it returning "No" if any of the parts of gcc's version was less thanMatthew Cline2009-10-141-0/+10
| | | | | the target version (e.g., "4.3.0 >= 4.2.5" was returning "No" because 0 < 5).
* makefile: detect if GCC is >= 4.3.0 before adding -Wno-array-boundsSteven Noonan2009-10-141-0/+59
| | | | | | | GCC versions less than 4.3.0 had a compiler error because the -Wno-array-bounds flag wasn't valid. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* makefiles: 'clean'/'distclean' now do RM on all intermediates at onceSteven Noonan2009-10-143-10/+8
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* sqlite3.c: fix SQLITE_HAS_CODEC macro usageSteven Noonan2009-10-131-4/+4
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* sqlite/Makefile: define missing macros and fix THREADSAFE macroSteven Noonan2009-10-131-1/+2
| | | | | | | | One macro was incorrectly referred to (THREADSAFE -> SQLITE_THREASAFE), and two others were not defined but their value was checked by preprocessor statements. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* sqlite3.c: stomp trailing whitespaceSteven Noonan2009-10-131-638/+638
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>