summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/version.h
Commit message (Collapse)AuthorAgeFilesLines
* Be more consistent with doxygen comment style.Neil Moore2014-05-291-8/+8
| | | | | | | | Use /** for block comments, /// for short comments, and /**< and ///< for post-member comments. The //<! that appeared in a few places wasn't even correct: it should have been //!< (but is now ///<).
* Simplify handling of version info.Adam Borowski2013-03-141-36/+6
| | | | | They're static strings, there's no point in having functions just to malloc and pass them around.
* Use std namespace.Raphael Langella2012-08-261-9/+9
| | | | | | | | | | | | | I had to rename distance() (in coord.h) to distance2() because it conflicts with the STL function to compare 2 iterators. Not a bad change given how it returns the square of the distance anyway. I also had to rename the message global variable (in message.cc) to buffer. I tried to fix and improve the coding style has much as I could, but I probably missed a few given how huge and tedious it is. I also didn't touch crawl-gdb.py, and the stuff in prebuilt, rltiles/tool and util/levcomp.*, because I have no clue about those.
* Add Version::Major(), returning e.g. "0.10" for 0.10-a0 and 0.10.1 both.Samuel Bronson2011-10-041-0/+8
|
* Determine release type (alpha / beta / final) in only one place.Adam Borowski2011-07-091-1/+8
|
* Include build and runtime architectures in version info.Adam Borowski2011-04-231-0/+12
| | | | | | | | | | | | | | The old info used kernel version and bitness of build machine, which are irrelevant: most 32 bit systems today will run 64 bit kernels since distributions tend to install these if the machine is capable of that. We (very slightly) care about userland, not the kernel. uname is worthless, too: in scratchbox, you might have an amd64 kernel, i386 native userland, armel compiler, armhf target. And if you want real fun, just wait for Debian multiarch. And all that complexity is totally not needed, since the compiler knows everything that is relevant already.
* Fix patched stable versions being "devel", sanitize gen_ver.pl, rip unused junk.Adam Borowski2011-04-231-76/+3
|
* Make file headers doxygen-friendly, drop useless fields.Adam Borowski2011-03-281-4/+4
| | | | | | | "File:" is shown in your editor's status bar. "Written by:" was used only for the first person who changed a file. We got git for that now, and pre-DCSS history is so woefully inaccurate it doesn't really matter.
* Remove "called from:" comments.Vsevolod Kozlov2009-11-031-3/+0
| | | | | | These were of questionable use and freshness. Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* version.cc: combine CFLAGS_L and CFLAGSSteven Noonan2009-10-311-6/+0
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* version.cc: add OS version to the compilation_info() printoutSteven Noonan2009-10-181-1/+7
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Add compilation information to Version namespaceMatthew Cline2009-10-181-0/+47
| | | | | | | | | | 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".
* versioning: remove SVN-specific revision data, add Git versioningSteven Noonan2009-10-181-49/+72
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Drop obsolete CVS last-committed headers ($Author$).Adam Borowski2009-10-061-3/+0
|
* Version -> 0.6Darshan Shaligram2009-10-011-1/+1
|
* version.h: we're using git now, change VER_QUAL to '-git'Steven Noonan2009-09-251-1/+1
| | | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net> Signed-off-by: Darshan Shaligram <dshaligram@users.sourceforge.net>
* Allow BUILD_REVISION to be defined at compilation time to manually specify ↵ennewalker2009-02-091-1/+1
| | | | | | the SVN revision, overriding the number derived from keywords. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9010 c06c8d41-db1a-0410-9941-cceddc491573
* Remove the BUILD_REVISION define which was apparently never used, andj-p-e-g2009-01-051-7/+4
| | | | | | | | directly use svn_revision in the version output. Also add 0.5 version highlights, while I was at it. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8245 c06c8d41-db1a-0410-9941-cceddc491573
* Adding REVISION() macro to all source files.ennewalker2009-01-041-4/+3
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8217 c06c8d41-db1a-0410-9941-cceddc491573
* Addition of REVISION() macro for tracking SVN revision.ennewalker2009-01-041-0/+18
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8213 c06c8d41-db1a-0410-9941-cceddc491573
* Remove pre-Stone Soup change history from source files, and push it allj-p-e-g2008-09-141-5/+0
| | | | | | | | | | 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
* Fix 2012822: Tutorial quirks.j-p-e-g2008-07-071-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6446 c06c8d41-db1a-0410-9941-cceddc491573
* A little bit of savegame code cleanup; and a small format change to makepauldubois2008-04-201-2/+0
| | | | | | | | | | | | | | | | | | | | | | | life easier (or rather, possible) for dump_savegame. Should not break saves (let me know if they do). - Fixed dump_savegame bug reading TAG_LEVEL. Handle lua map_markers (by skipping over them) -- requires format change and minor version bump. - Consolidated YOU_MINOR_VERSION, LEVEL_MINOR_VERSION, GHOST_MINOR_VERSION into a single TAG_MINOR_VERSION, because otherwise versions can't be passed into data structures being deserialized (because they may be contained in both you and ghost, for example). - Clean out old code that pretends to restore other major versions, and some duplicate code that pretends level loading and general tagged file loading are different. (Left ghosts alone because they really do do something different, slightly) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4420 c06c8d41-db1a-0410-9941-cceddc491573
* Bumped save major version to 5 to prevent collisions with Crawl 4.0/4.1 files.dshaligram2007-12-081-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3023 c06c8d41-db1a-0410-9941-cceddc491573
* Increased max monsters to 350, breaks saves, may be buggy. Incremented save ↵dshaligram2007-10-071-1/+1
| | | | | | major version. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2352 c06c8d41-db1a-0410-9941-cceddc491573
* Trunk is now 0.4.dshaligram2007-09-171-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2130 c06c8d41-db1a-0410-9941-cceddc491573
* Give Lugonu Banishment and Corruption. I've left the old Bend Space in, becausedshaligram2007-08-111-1/+1
| | | | | | | | | | | | | | | | | | | | there needs to be an invocation that can train Invocations, and Banishment is too costly to use for everyday training. Corruption is still a first-cut, needs more work and playtesting: - Terrain modification is one-time only. Creeping modification requires too much savegame magic. - The monsters gated in during the corruption effect are occasionally hostile, but mostly neutral. Neutrals will attack hostile monsters and also pets, but will leave other neutrals and the player alone (in general). A neutral that wants to go somewhere, but finds the player in the way will still take a swing at the player. - Beams are still not fixed to handle neutrals correctly (so neutrals do not target and shoot right yet), will fix soon. Breaks save compatibility. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1990 c06c8d41-db1a-0410-9941-cceddc491573
* Tweaked version.h and command.cc to add revision info for Windows svn builds.dshaligram2007-05-181-0/+6
| | | | | | | | | Ice beasts get AT_HIT instead of AT_CLAW (to correspond to Ice Form). Yaks and death yaks get AT_BUTT instead of AT_HIT. Maybe we should add AT_GORE, AT_KICK, and AT_TRAMPLE too. :-) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1482 c06c8d41-db1a-0410-9941-cceddc491573
* Allow player ghosts to use corona.dshaligram2007-04-101-1/+1
| | | | | | Breaks save compatibility, upped save major version. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1282 c06c8d41-db1a-0410-9941-cceddc491573
* Trunk is now aimed at 0.3. 0.2.X releases will be on the 0.2 branch.dshaligram2007-04-021-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1191 c06c8d41-db1a-0410-9941-cceddc491573
* Trunk is now aimed at 0.2.1.dshaligram2007-03-301-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1127 c06c8d41-db1a-0410-9941-cceddc491573
* New key=value logfile format as proposed by Shawn Moore. This is more verbosedshaligram2007-03-081-1/+4
| | | | | | | | | | | | | | | | | | | | | than the old format by about 2x, but is more maintainable and comprehensible. Removed support for parsing scorefiles/logfiles older than 4.0 beta 26. Added shim to make 0.1.7 logfiles compatible with 0.2 Using the -scorefile option alone (no -scores, -tscores, etc.) causes Crawl to read in the existing scorefile/logfile and write it out to stdout in the new format. Ghouls get claw damage messages in unarmed combat. Plain oozes lose acid damage attacks (added inadvertently). Prompt the user when trying to displace a friendly over water (the old fix was to simply say "The foo resists"). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@994 c06c8d41-db1a-0410-9941-cceddc491573
* New overview screen (the 'O' screen.)haranp2006-11-261-1/+1
| | | | | | | | | | This involves changes in quite a few things, so the major savefile version is now 1, and old savefiles *will not load*! Lots of conditional loading code has therefore been removed. Minor savefile version dropped to 0 in everything. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@495 c06c8d41-db1a-0410-9941-cceddc491573
* Merged stone_soup r15:451 into trunk.dshaligram2006-11-221-2/+5
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@452 c06c8d41-db1a-0410-9941-cceddc491573
* Clean up a mistake in the SVN import.nlanza2006-08-131-0/+51
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10 c06c8d41-db1a-0410-9941-cceddc491573