Martin Read [Tue, 18 Feb 2014 23:42:25 +0000 (23:42 +0000)]
Tech-demo combo system, and some other things.
* core.hh: New command CMD_POWER_ATTACK, and some Doxygenation.
* default.permobjs: All weapons now flagged melee or ranged.
* monsters.cc, monsters.hh: Elimination of newsym() calls and addition of new
functions to adjust flow of updates.
* notify-local-tty.cc, notify.hh: New notifications galore.
* permobj.hh, pobj_comp: New item flags
* player.hh: new boolean functions for examining player's wielding status
* u.cc: Action rewriting system with tech-demo combo detection case.
Sir Not Appearing In This Commit: Making a power attack be an actual thing
instead of just an ordinary attack.
Martin Read [Tue, 18 Feb 2014 22:48:19 +0000 (22:48 +0000)]
Added bounds check function to Level
* map.hh: Level now has a bounds checking function in_bounds which verifies
the acceptability of a Coord.
Martin Read [Tue, 18 Feb 2014 22:46:01 +0000 (22:46 +0000)]
Added farlook() functionality
* display-nc.cc: Added internal functions is_movekey(), movekey_to_direction(),
farlook(), examine_square() to provide "farlook" functionality, bound to
keystroke ';'.
Martin Read [Tue, 18 Feb 2014 22:42:46 +0000 (22:42 +0000)]
New visibility check functions
* fov.cc,fov.hh: Added tile_visible() and occupant_visible() functions which
directly inspect the visibility of a given Coord.
Martin Read [Tue, 18 Feb 2014 22:41:21 +0000 (22:41 +0000)]
Add clamp() member function to constrain Offsets and Coords to a bounding box
* coord.hh: Added Offset::clamp() and Coord::clamp() member functions which
constrain the x and y values to fit inside a specified bounding box.
Martin Read [Tue, 18 Feb 2014 22:37:29 +0000 (22:37 +0000)]
Fixed bug G-1
* util.c: my_makepath() was not correctly reinstating the temporarily
overwritten path separator character, resulting in premature return if
multiple levels of the target were incoherent.
Martin Read [Sat, 15 Feb 2014 12:31:21 +0000 (12:31 +0000)]
Rearrangement and cleanup
* MANIFEST, Makefile: Add coord.cc, poke dependencies
* coord.cc: New file to house coordinate/offset constants.
* default.permons: Set power values for new demons
* map.cc: Clean up stale code accessing stale members of Level
* map.hh: Prune stale members from Level; add Doxygen comments
* permon.hh, permobj.hh: De-confusing sloccount
* rng.cc: Relocate random_step() from main.cc
* u.cc: Relocate do_player_action() from main.cc
* victrix-abyssi.hh: Relocate save_game() prototype from main.cc
Martin Read [Fri, 14 Feb 2014 19:37:33 +0000 (19:37 +0000)]
Out of tree builds now work
Out of tree builds now work. Anyone who feels like stress-testing them to
look for bizarre edge cases is strongly encouraged to file a bug report.
Martin Read [Fri, 14 Feb 2014 19:37:13 +0000 (19:37 +0000)]
Some new react_equip messages
Martin Read [Thu, 13 Feb 2014 17:20:40 +0000 (17:20 +0000)]
New monsters and items; balancing will be required
* display-nc.cc: Updated symbol help to reflect new demon symbols
* pmon_comp: added new flags
* permon.hh: added new flags, added prototypes for test functions (not implemented yet)
* default.permobjs: New items
* default.permons: New items
Martin Read [Thu, 13 Feb 2014 17:19:15 +0000 (17:19 +0000)]
Defilers no longer cast hellfire
Hellfire is not thematically appropriate for a decay-themed demon, so
defilers no longer cast this spell.
Martin Read [Wed, 12 Feb 2014 21:05:54 +0000 (21:05 +0000)]
Get rid of misc.cc.
It is very silly.
Martin Read [Tue, 11 Feb 2014 23:26:07 +0000 (23:26 +0000)]
Header fun for cleaner deps
It should now be easier to put clean dependencies in the Makefile,
since things that shouldn't need to be included in a given file are
easier to exclude. Note that I haven't actually done the dependency
cleanup work yet.
Martin Read [Tue, 11 Feb 2014 21:12:52 +0000 (21:12 +0000)]
Moving player-related stuffs into player.hh header
This may be unnecessary, but I find it conceptually desirable.
Martin Read [Tue, 11 Feb 2014 16:14:10 +0000 (16:14 +0000)]
Implemented item WL-1 and some other issues.
* notify-local-tty.cc: Attached message priorities to many messages
* notify-local-tty.cc: Fixed get-item notification to print the right thing
* notify-local-tty.cc: Improved consistency of debug notifications
* display-nc.cc: Implemented priority-tagged variant of print_msg()
* C++ files: 1,$s/NULL/nullptr/g
Martin Read [Mon, 10 Feb 2014 21:02:26 +0000 (21:02 +0000)]
Changed version numbering scheme to M.m.p (because hey, it isn't released yet)
Martin Read [Mon, 10 Feb 2014 20:58:35 +0000 (20:58 +0000)]
Changed version to 0.99
Martin Read [Mon, 10 Feb 2014 20:53:33 +0000 (20:53 +0000)]
Switched permons database to parsed autogen
Martin Read [Mon, 10 Feb 2014 16:16:27 +0000 (16:16 +0000)]
pobj_comp: Fixed failure to write out flags for most item types
Martin Read [Mon, 10 Feb 2014 16:13:26 +0000 (16:13 +0000)]
Fixed build error from previous command-check modification
Martin Read [Mon, 10 Feb 2014 16:11:24 +0000 (16:11 +0000)]
Added patch acceptance policy notes in README.md
Martin Read [Mon, 10 Feb 2014 16:11:05 +0000 (16:11 +0000)]
Removed trailing text in debian/control
Martin Read [Mon, 10 Feb 2014 15:33:58 +0000 (15:33 +0000)]
Notification, display, and save-handling fixes
* Attempting to descend while not on stairs will no longer trigger a bug notification.
* Putting on and removing rings is now correctly notified to the player.
* Log is now stored in data directory.
* Title screen centering has been improved.
Martin Read [Mon, 10 Feb 2014 14:51:00 +0000 (14:51 +0000)]
Stubs for classes I intend to implement sometime
Martin Read [Mon, 10 Feb 2014 14:40:41 +0000 (14:40 +0000)]
Save files now go in $HOME/.local/share/com.blackswordsonics/victrix-abyssi by default
This commit also does some Neronic fiddling as an effort to make sloccount
classify certain files correctly.
Martin Read [Sun, 9 Feb 2014 15:12:34 +0000 (15:12 +0000)]
Ignore .bak files
Martin Read [Sun, 9 Feb 2014 15:09:16 +0000 (15:09 +0000)]
Big ball-of-mud commit after completing removal of direct print_msg() calls in game logic
Martin Read [Sun, 9 Feb 2014 15:08:40 +0000 (15:08 +0000)]
git will now ignore spong.txt which is my favoured name for redirecting grep output into
Martin Read [Sun, 9 Feb 2014 12:41:54 +0000 (12:41 +0000)]
Title screen alignment tweaks (should do this *properly* sometime!) and tweaks to where press_enter() gets called at game end
Martin Read [Sun, 9 Feb 2014 02:31:58 +0000 (02:31 +0000)]
Big-ball-of-mud commit because of a UI landmark
Martin Read [Sat, 8 Feb 2014 19:58:29 +0000 (19:58 +0000)]
Added "DRESS" flag to permobjs
Martin Read [Sat, 8 Feb 2014 19:58:07 +0000 (19:58 +0000)]
build system improvements
Martin Read [Sat, 8 Feb 2014 19:16:44 +0000 (19:16 +0000)]
Exclude directory tree generated by packaging test workflow
Martin Read [Sat, 8 Feb 2014 19:05:06 +0000 (19:05 +0000)]
Dinking about with workflows and updating README
Martin Read [Sat, 8 Feb 2014 18:56:49 +0000 (18:56 +0000)]
Remove external compressor call; correctly process the game tick when saving and loading
Martin Read [Sat, 8 Feb 2014 17:48:53 +0000 (17:48 +0000)]
Neronic shuffling
Martin Read [Sat, 8 Feb 2014 17:44:30 +0000 (17:44 +0000)]
Added stub point for configuration files to happen
Martin Read [Sat, 8 Feb 2014 17:14:41 +0000 (17:14 +0000)]
Ball-of-mud change for various things.
Martin Read [Sat, 8 Feb 2014 17:13:31 +0000 (17:13 +0000)]
Fixing serious bug with try count
Martin Read [Sat, 8 Feb 2014 17:12:36 +0000 (17:12 +0000)]
Shutting up the compiler; first steps on combo tracker; cleanup of stale code
Martin Read [Sat, 8 Feb 2014 17:11:31 +0000 (17:11 +0000)]
New RNG (Bob Jenkins' small non-crypto PRNG) that actually matches whatever I took it from.
Martin Read [Sat, 8 Feb 2014 17:10:50 +0000 (17:10 +0000)]
Created internal-use debian/ directory and a copyright file
Martin Read [Sat, 8 Feb 2014 17:09:25 +0000 (17:09 +0000)]
Unicode tile loader now checks return value of mbtowc but doesn't know what to do with it; 'W'ear command now behaves correctly
Martin Read [Sat, 8 Feb 2014 17:08:09 +0000 (17:08 +0000)]
Permobj now has a flags field; NOTIFY_EQUIP flag now in use; pobj_comp updated accordingly
Martin Read [Sat, 8 Feb 2014 17:05:48 +0000 (17:05 +0000)]
Relocated licence text to COPYING for Debian-friendliness
Martin Read [Sat, 8 Feb 2014 17:02:46 +0000 (17:02 +0000)]
Relocated manpage into a subdirectory
Martin Read [Sat, 8 Feb 2014 16:54:59 +0000 (16:54 +0000)]
Fixed small typo in manpage
Martin Read [Sat, 8 Feb 2014 16:54:26 +0000 (16:54 +0000)]
Added skeletal man page
Martin Read [Fri, 7 Feb 2014 22:01:52 +0000 (22:01 +0000)]
Big ball-of-mud commit after making the Level internal rep use Chunks
Martin Read [Fri, 7 Feb 2014 21:58:31 +0000 (21:58 +0000)]
Add comparators to Coord/Offset
Martin Read [Fri, 7 Feb 2014 21:58:01 +0000 (21:58 +0000)]
Don't track core dumps
Martin Read [Tue, 21 Jan 2014 20:28:19 +0000 (20:28 +0000)]
Made zombies less stupidly hard-hitting.
Martin Read [Tue, 21 Jan 2014 20:07:24 +0000 (20:07 +0000)]
Fix pobj_comp to actually mark potions as potions!
Martin Read [Tue, 21 Jan 2014 18:18:07 +0000 (18:18 +0000)]
Moved level-gain notification to produce better message flow
Martin Read [Tue, 21 Jan 2014 18:17:51 +0000 (18:17 +0000)]
Updating Manifest to reflect new architecture
Martin Read [Tue, 21 Jan 2014 18:17:10 +0000 (18:17 +0000)]
Making the new notification backend part of the build
Martin Read [Tue, 21 Jan 2014 18:15:59 +0000 (18:15 +0000)]
Added new files for the notification mechanism
Martin Read [Tue, 21 Jan 2014 16:42:12 +0000 (16:42 +0000)]
Improved README slightly
Martin Read [Tue, 21 Jan 2014 16:40:33 +0000 (16:40 +0000)]
Added a license and a markdown README
Martin Read [Tue, 21 Jan 2014 16:16:23 +0000 (16:16 +0000)]
Incremental checkpoint for project "No prose in the game engine"
Martin Read [Mon, 20 Jan 2014 14:49:11 +0000 (14:49 +0000)]
Makefile now generates generatable files before building archive
Martin Read [Mon, 20 Jan 2014 14:46:42 +0000 (14:46 +0000)]
Added permobj compiler and pobj_id.hh to MANIFEST
Martin Read [Mon, 20 Jan 2014 14:45:09 +0000 (14:45 +0000)]
Removing a silly.
Martin Read [Mon, 20 Jan 2014 14:44:27 +0000 (14:44 +0000)]
More doxygen comments; removal of a code corpse
Martin Read [Sat, 18 Jan 2014 14:36:18 +0000 (14:36 +0000)]
Updating gitignore for changes to pobj handling
Martin Read [Sat, 18 Jan 2014 14:35:44 +0000 (14:35 +0000)]
Resolving impact of the changes to item database handling
Martin Read [Sat, 18 Jan 2014 13:49:38 +0000 (13:49 +0000)]
Added human-friendly version of permobj database
Martin Read [Sat, 18 Jan 2014 13:48:56 +0000 (13:48 +0000)]
Created permobj data parser
Martin Read [Sat, 18 Jan 2014 09:38:26 +0000 (09:38 +0000)]
A jumble of const resequencing and some actual development
Martin Read [Sat, 18 Jan 2014 09:37:54 +0000 (09:37 +0000)]
Adding Doxyfile to MANIFEST
Martin Read [Wed, 8 Jan 2014 11:30:20 +0000 (11:30 +0000)]
Added C++11 dependency to Makefile
Martin Read [Wed, 8 Jan 2014 11:11:16 +0000 (11:11 +0000)]
Added Doxygen configuration
Martin Read [Sat, 4 Jan 2014 18:36:32 +0000 (18:36 +0000)]
Added .dump files to .gitignore
Martin Read [Tue, 12 Nov 2013 16:09:55 +0000 (16:09 +0000)]
Adjustment of constants relating to vision/display; possibly some more will need catching
Martin Read [Tue, 12 Nov 2013 15:48:06 +0000 (15:48 +0000)]
Fixed numpad error in display-nc.cc
Martin Read [Tue, 12 Nov 2013 15:47:07 +0000 (15:47 +0000)]
Fixed vikeys error in select_dir()
Martin Read [Tue, 12 Nov 2013 15:36:59 +0000 (15:36 +0000)]
Changes to handling of obstructive terrain; no more listing every wall type!
Martin Read [Tue, 12 Nov 2013 15:31:50 +0000 (15:31 +0000)]
Use the terrain properties array to get symbols and colours for terrain
Martin Read [Wed, 2 Oct 2013 19:50:42 +0000 (20:50 +0100)]
More progress, I think...
Martin Read [Tue, 1 Oct 2013 23:27:36 +0000 (00:27 +0100)]
Much slaying of non-Coord coordinates. FOV is cleverer.
Martin Read [Tue, 1 Oct 2013 21:21:16 +0000 (22:21 +0100)]
Added mysign() specializations for Coord and Offset
Martin Read [Mon, 30 Sep 2013 22:52:21 +0000 (23:52 +0100)]
Updated MANIFEST to contain the correct list of files
Martin Read [Mon, 30 Sep 2013 22:49:07 +0000 (23:49 +0100)]
More elimination of magic numbers; also, store evasion penalty in the item database.
Martin Read [Mon, 30 Sep 2013 22:35:13 +0000 (23:35 +0100)]
Dependency updates, much killing of magic numbers and boolification of booleans
Martin Read [Mon, 30 Sep 2013 22:16:59 +0000 (23:16 +0100)]
Miscellaneous refactoring - remove spurious field from permobj, kill magic numbers
Martin Read [Mon, 30 Sep 2013 21:05:45 +0000 (22:05 +0100)]
Replacing explicit -1's with NO_MON NO_OBJ etc.
Martin Read [Mon, 30 Sep 2013 20:33:01 +0000 (21:33 +0100)]
Updates for how to say the player resists a thing and for colour names
Martin Read [Mon, 30 Sep 2013 20:13:16 +0000 (21:13 +0100)]
Added Coord/Offset header
Martin Read [Wed, 25 Sep 2013 19:23:44 +0000 (20:23 +0100)]
Saved game now contains terrain data instead of RNG state for level rebuild
Martin Read [Wed, 25 Sep 2013 19:18:35 +0000 (20:18 +0100)]
Moved all level data into a struct
Martin Read [Wed, 25 Sep 2013 18:52:07 +0000 (19:52 +0100)]
C++ conversion changes
Martin Read [Wed, 25 Sep 2013 18:31:52 +0000 (19:31 +0100)]
Rename pursuant to making C++ification happen
Martin Read [Tue, 24 Sep 2013 19:46:17 +0000 (20:46 +0100)]
Tweaking layout probabilities and order of layout consideration.
Martin Read [Tue, 24 Sep 2013 19:45:03 +0000 (20:45 +0100)]
Assorted minor fixes and retabbing
Martin Read [Tue, 24 Sep 2013 19:44:35 +0000 (20:44 +0100)]
Improved knockback messages
Martin Read [Tue, 24 Sep 2013 19:43:51 +0000 (20:43 +0100)]
Fixed non-cleanup of inventory banner
Martin Read [Tue, 24 Sep 2013 19:43:33 +0000 (20:43 +0100)]
Added inward spiral path
Martin Read [Tue, 24 Sep 2013 19:39:32 +0000 (20:39 +0100)]
Fixed moondrake breath
Martin Read [Tue, 24 Sep 2013 18:37:25 +0000 (19:37 +0100)]
Dresses now degrade to ragged shifts when reduced to zero durability
Martin Read [Tue, 24 Sep 2013 18:37:17 +0000 (19:37 +0100)]
Remove stale debug message from u.c