Angband.oook.cz
Angband.oook.cz
AboutDownloadVariantsLadderForumCompetitionSpoilersComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old May 25, 2012, 06:02   #31
Therem Harth
Knight
 
Join Date: Jan 2008
Posts: 800
Therem Harth is on a distinguished road
And the culprit is...

Code:
$ git bisect good
c06c5c1d05164048707ef8235e971597beaffbdf is the first bad commit
commit c06c5c1d05164048707ef8235e971597beaffbdf
Author: Bardur Arantsson <bardur@scientician.net>
Date:   Tue Feb 22 00:29:52 2011 +0100

    Remove SAVE_HACK compile-time flag.

:040000 040000 b07db02dde8d70bfbd3fa37541fb5279b355b023 2be7bdb7dc925c045df331cf
2b69884f92347cc7 M      src
Therem Harth is offline   Reply With Quote
Old May 25, 2012, 06:46   #32
AnonymousHero
Knight
 
AnonymousHero's Avatar
 
Join Date: Jun 2007
Posts: 628
AnonymousHero is on a distinguished road
Quote:
Originally Posted by Therem Harth View Post
First, something else noteworthy: revision
Code:
gcc: error: and\: No such file or directory
gcc: error: Settings/Administrator/My\: No such file or directory
gcc: error: Documents/Downloads/tome2-tome2/src: No such file or directory
C:\MinGW\bin\windres.exe: preprocessing failed.
mingw32-make[2]: *** [src/angband_rc.o] Error 1
mingw32-make[1]: *** [src/CMakeFiles/tome.dir/all] Error 2
mingw32-make: *** [all] Error 2
This is the Win2k/WInXP one?

Btw, which Cmake version are you running? The changelog for 2.8.6 claims some fixes wrt. white space handling so maybe that's worth a shot if you are on a lower version.
AnonymousHero is offline   Reply With Quote
Old May 25, 2012, 06:50   #33
AnonymousHero
Knight
 
AnonymousHero's Avatar
 
Join Date: Jun 2007
Posts: 628
AnonymousHero is on a distinguished road
Quote:
Originally Posted by Therem Harth View Post
And the culprit is...

Code:
$ git bisect good
c06c5c1d05164048707ef8235e971597beaffbdf is the first bad commit
commit c06c5c1d05164048707ef8235e971597beaffbdf
Author: Bardur Arantsson <bardur@scientician.net>
Date:   Tue Feb 22 00:29:52 2011 +0100

    Remove SAVE_HACK compile-time flag.

:040000 040000 b07db02dde8d70bfbd3fa37541fb5279b355b023 2be7bdb7dc925c045df331cf
2b69884f92347cc7 M      src
This... makes no sense. This doesn't remove any function definitions, so it shouldn't even be possible for this to cause the error you described earlier.
AnonymousHero is offline   Reply With Quote
Old May 25, 2012, 13:39   #34
Therem Harth
Knight
 
Join Date: Jan 2008
Posts: 800
Therem Harth is on a distinguished road
Quote:
Originally Posted by AnonymousHero View Post
This is the Win2k/WInXP one?

Btw, which Cmake version are you running? The changelog for 2.8.6 claims some fixes wrt. white space handling so maybe that's worth a shot if you are on a lower version.
Cmake 2.8.8.

Quote:
This... makes no sense. This doesn't remove any function definitions, so it shouldn't even be possible for this to cause the error you described earlier.
Ugh, sorry. Maybe the linker hung on c06c5c1 because my computer was overheating, I was compiling in a VM...
Therem Harth is offline   Reply With Quote
Old May 30, 2012, 14:11   #35
Therem Harth
Knight
 
Join Date: Jan 2008
Posts: 800
Therem Harth is on a distinguished road
Unfortunately it might be a while before I can get back to this, due to intensive summer courses at uni. Just FYI...

(The silver lining is that, once I'm back to Angband, I may have a better idea how to optimize the SDL code.)
Therem Harth is offline   Reply With Quote
Old May 30, 2012, 18:00   #36
AnonymousHero
Knight
 
AnonymousHero's Avatar
 
Join Date: Jun 2007
Posts: 628
AnonymousHero is on a distinguished road
That's fine. It's not really going anywhere (fast), anyway
AnonymousHero is offline   Reply With Quote
Old May 31, 2012, 20:33   #37
Therem Harth
Knight
 
Join Date: Jan 2008
Posts: 800
Therem Harth is on a distinguished road
So I gathered.

Hmm. An idea regarding centered view, somewhat inspired by FVWM: maybe the distance from the edge that triggers view scrolling could be increased, to something greater than magical attack range? That would fix the major issue with centered view being impractical (i.e. monsters instakilling you from offscreen), without requiring (difficult) optimization of the SDL code.

It'd be a temporary workaround, not a long-term fix, but it would offer some reprieve from the major performance issues on the Win32 and SDL platforms.

Edit: N/M, that wouldn't work; the size of the screen isn't big enough. Grr.

Last edited by Therem Harth; May 31, 2012 at 21:20.
Therem Harth 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
Need advice... X11 vs. SDL Therem Harth Development 25 October 25, 2011 04:35
NPP sdl Nick Variants 10 July 15, 2010 07:23
Down with the SDL! Pete Mack Development 0 August 13, 2009 05:26
SDL sound Nick Development 1 July 16, 2009 22:14
Ubuntu SDL Help? benhamill Vanilla 12 February 24, 2009 22:19


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


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