Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old August 21, 2007, 16:14   #1
TJA
Adept
 
TJA's Avatar
 
Join Date: Aug 2007
Posts: 117
TJA is on a distinguished road
Thumbs up Smarter Movement ... please have a look

I re-implemented my little patch from 1999 and now call it "Smart Movement".

It does make walking around in Angband much more comfortable, without bumping walls.
This makes it much more easy to use one hand on the keyboard or allows for much better handling while using the cursor-keys instead of the num-keys.
Exploring is easy and funny this way


It´s not easy to describe what it does - here what i wrote in the patch:

Quote:
+ Smart Movement: Walk around obstacles
+
+ This is a hack to make movement more clever and convenient.
+
+ If you try to move diagonal but there is an
+ obstacle, this code tries to walk around that
+ obstacle:
+ It tries to drop either x- or y-movement, prefering
+ the last straight direction you took or x- over
+ y-movement.
+
+ If you move straight (in either x- or y-direction),
+ it tries to change that in a diagonal movement,
+ prefering the last general direction you took.
+ If that does'nt work, it tries to keep your desired
+ direction and make it diagonally the other way.
+
+ This way it's *fun* to walk around ...
This description does not realy fit ...


Please download and try it from here:

http://www.tja-server.de/SmartMove-3.0.9-patch.tar.gz
containing those files:

angband-3.0.9/src/tables.c
angband-3.0.9/src/cmd2.c
angband-3.0.9/src/defines.h
angband-3.0.9/src/config.h

Or just apply it as patch via this file:
http://www.tja-server.de/SmartMove-3.0.9-patch.diff

Use the following command on your angband-3.0.9 directory:

patch -p0 < SmartMove-3.0.9-patch.diff

It will be compiled in via the line "#define SMARTMOVE" in config.h but still allows to enable or disable it via option in the screen interface

It makes any Roguelike so much more fun to play
Please note, that this patch currently only works for Vanilla Angband 3.0.9

Have fun and please write here if you like it!

REALY, just give it a try!!!

Last edited by TJA; August 21, 2007 at 16:21.
TJA is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 13:16.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.