Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Sil

Reply
 
Thread Tools Display Modes
Old April 3, 2013, 16:26   #11
half
Knight
 
half's Avatar
 
Join Date: Jan 2009
Posts: 898
half is on a distinguished road
Gestures would be a great idea for the app in general. Regarding > and <, they actually aren't really needed in Sil as 'modifiying your own square' uses stairs if you are standing on them, uses a forge if you are at one, picks up an item if you are standing on one etc. It is usually accessed as 'control-z' or 'control-5' or "/z" or "/5" or ','.
half is offline   Reply With Quote
Old April 5, 2013, 06:04   #12
retrobits
Scout
 
Join Date: Dec 2008
Posts: 29
retrobits is on a distinguished road
Gestures, possibly configureable to map to various actions, sound like a great addition for touchscreen users.
I'll add it to the list of feature requests.
retrobits is offline   Reply With Quote
Old April 5, 2013, 09:44   #13
Psi
Knight
 
Join Date: Apr 2007
Location: Surrey, UK
Age: 41
Posts: 869
Psi is on a distinguished road
Quote:
Originally Posted by retrobits View Post
Gestures, possibly configureable to map to various actions, sound like a great addition for touchscreen users.
I'll add it to the list of feature requests.
That will be brilliant.

If the list code is modified within Sil to make lists selectable (like the menu code) and we get configurable gesture support, it should make it very playable.
Psi is offline   Reply With Quote
Old September 9, 2013, 20:22   #14
Ondrej
Rookie
 
Join Date: Jun 2013
Posts: 2
Ondrej is on a distinguished road
One quite serious bug

Sil is very well playable on Android phones with HW keyboard. There is however one quite serious bug:
When you press android home button in angband variants (or somebody calls you - i.e. it switches applications) it saves your game - that's fine. However if you are on the Main Menu screen (with options for tutorial, load game, start new game...) then it will "save" your game as well but that will corrupt the save file. I don't know if it is a bug in Sil or in angband variants though... It worked fine for Tome.
Ondrej is offline   Reply With Quote
Old November 4, 2016, 12:23   #15
Psi
Knight
 
Join Date: Apr 2007
Location: Surrey, UK
Age: 41
Posts: 869
Psi is on a distinguished road
Quote:
Originally Posted by Psi View Post
I know some of this will be for the "porters" rather than yourself, but some initial observations...

- the background tile effect for unaware monsters is not showing
- I can't find a "tab" key on the pop up keyboard, though I guess the same can be achieved via @
- I tried adding "u" and "*" to hardware keys but after bringing up a list of objects to use I discovered I couldn't select from that list without the popup keyboard. Being able to move through the list like in character creation would help here.
Quote:
Originally Posted by retrobits View Post
Thanks for the bug report Psi,
I will try to get those fixes into the next version.
Seems I have previously answered my own question from a future thread. That is special.

I don't suppose that three years on the background tile effect will magically get fixed...
Psi is offline   Reply With Quote
Old November 5, 2016, 05:02   #16
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,809
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by Psi View Post
Seems I have previously answered my own question from a future thread. That is special.

I don't suppose that three years on the background tile effect will magically get fixed...
I am not sure exactly what Sil's system for background colour changes is, but if it's like the Angband one (and it probably is because I'm not sure where else I would have stolen it from), I just implemented this for the Angband 4.0.5 port. The commit is here:

https://github.com/takkaria/angband-...379cc29e9af860

You want Term_text_and() in plugin/common/angdroid.c to look like:

Code:
static errr Term_text_and(int x, int y, int n, int a, const wchar_t *cp)
{
	int fg = a % MAX_COLORS;
	int bg;

	/* Handle background */
	switch (a / MAX_COLORS) {
		case BG_BLACK:  bg = COLOUR_DARK;  break;
		case BG_SAME:   bg = fg;           break;
		case BG_DARK:	bg = COLOUR_SHADE; break;
	}

	move(y, x);
	attrset(fg);
	bgattrset(bg);
	addnwstr(n, cp);

	return 0;
}
And then the rest of the patch I linked to should apply cleanly and get you background colours.
__________________
"Physician, heal thyself."
takkaria is offline   Reply With Quote
Old November 5, 2016, 05:43   #17
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 51
Posts: 6,325
Donated: $60
Nick is on a distinguished road
Quote:
Originally Posted by takkaria View Post
I am not sure exactly what Sil's system for background colour changes is, but if it's like the Angband one (and it probably is because I'm not sure where else I would have stolen it from)
Pretty sure it is, and that it was me that stole it
__________________
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them.
Nick is offline   Reply With Quote
Old November 5, 2016, 07:12   #18
Psi
Knight
 
Join Date: Apr 2007
Location: Surrey, UK
Age: 41
Posts: 869
Psi is on a distinguished road
Quote:
Originally Posted by takkaria View Post
And then the rest of the patch I linked to should apply cleanly and get you background colours.
Wow - that was quick!

Firstly I'm not going to pretend to know what I am doing. I could do all those changes manually but I'd much rather apply a patch file if possible like I did for the Sil bit. The link you provided looks like a patch, but I have no idea how to download that as a patch. Is there a button/link I am missing?

Many, many thanks!
Psi is offline   Reply With Quote
Old November 5, 2016, 07:23   #19
Psi
Knight
 
Join Date: Apr 2007
Location: Surrey, UK
Age: 41
Posts: 869
Psi is on a distinguished road
Ah, a bit more googling suggests putting .patch on the url. That looks promising.
Psi is offline   Reply With Quote
Old November 5, 2016, 07:58   #20
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,809
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by Psi View Post
Ah, a bit more googling suggests putting .patch on the url. That looks promising.
I am also happy to modify the copy of Sil you have. If you put it zipped up on Dropbox or something, and email me the link (andi at takkaria dot org) I can apply it for you.
__________________
"Physician, heal thyself."
takkaria 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Angband on Android david3x3x3 Vanilla 56 March 22, 2013 13:31
List of all Angband variants relic Variants 10 May 14, 2012 05:07
Faangband on android UglySquirrell Variants 0 September 30, 2011 12:13
Android Antoine Development 3 July 30, 2011 01:59
New features for Angband from variants andrewdoull Vanilla 100 October 19, 2007 03:14


All times are GMT +1. The time now is 23:25.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.