Open main menu

Difference between revisions of "User:Buddha^/GSoC2007-ProjectDiary"

Added info on done work on 2007-08-04.
(Updated info on instrument starting offsets (Added info on DEMO.SYS16 i.e. AGI Demo 2).)
(Added info on done work on 2007-08-04.)
Line 1,058: Line 1,058:
If you're interested be sure to check out the 64kB intro compo and the main demo compo today using
If you're interested be sure to check out the 64kB intro compo and the main demo compo today using
[http://www.assemblytv.net/2007/stream-en Assembly TV].
[http://www.assemblytv.net/2007/stream-en Assembly TV].
== 2007-08-04 (Saturday) - A couple compilation fixes ==
Carch on #scummvm told of a couple of compilation problems that
ScummVM's current trunk has on on Windows (VS2003), Xbox (VS2003) and Xbox 360
(VS2005). We investigated the problems together and I committed the
fixes to the trunk ([http://scummvm.svn.sourceforge.net/viewvc/scummvm/scummvm/trunk/engines/agi/sound.cpp?r1=28445&r2=28446&sortby=date Here] and
[http://scummvm.svn.sourceforge.net/viewvc/scummvm/scummvm/trunk/engines/kyra/script.cpp?r1=28297&r2=28447&sortby=date here]).
In Kyra's code an object wasn't converted automatically to a boolean value even though it
had an operator bool defined so I added an explicit bool conversion and that fixed the problem.
In the AGI code there was a problem with automatic selection of the wanted version of the
pow-function. So I replaced the offending pow-function call with a constant value as it
actually was calculating a constant and not a variable and it worked. Carch also gave another
way to fix the problem and that was to replace the pow(2, 1/12.0) call with a pow(2.0, 1/12.0)
call. That way the compiler knew to choose the pow(double, double) version of the pow-function.
417

edits