Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old May 27, 2009, 21:15   #1
PaulBlay
Knight
 
Join Date: Jan 2009
Posts: 657
PaulBlay is on a distinguished road
Quick Term_erase question.

And the question is ... what's this bit in aid of?

Code:
	if ((n > 0) && (scr_cc[x] == (char) -1) && (scr_aa[x] == 255))
	{
		x--;
		n++;
	}
Apart from not understanding it and wanting to my problem is that I am using wchar_t not char for text so that "(char) -1" and "255" might well not be compatible with the rest of the code now.

Incidentally, if I was going to guess, I'd suspect it might have something to do with BIGTILE mode? (Maybe not).

[EDIT] Yeah, looks like it's BIGTILE stuff. I think I've got a handle on it, but I guess I'll end up changing some code for this.
__________________
Currently turning (Angband) Japanese.

Last edited by PaulBlay; May 27, 2009 at 21:34.
PaulBlay is offline   Reply With Quote
 


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
Yum! Favorite quick recipe. Pete Mack Idle chatter 1 April 22, 2009 11:12
Quick Diving versus "Recommended Depths" Wraitheist Vanilla 14 May 4, 2008 09:12


All times are GMT +1. The time now is 14:42.


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