The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: prissi on November 15, 2013, 12:06:14 AM

Title: cannot zoom out (only in) of paks made with new makeobj
Post by: prissi on November 15, 2013, 12:06:14 AM
I cannot zoom out (enlarge) pak64 with latest makeobj, but I can zoom in. Not sure what the problem is at the moment.
Title: Re: cannot zoom out (only in) of paks made with new makeobj
Post by: isidoro on November 15, 2013, 12:47:17 AM
I get a similar effect as this one:
http://forum.simutrans.com/index.php?topic=12774.msg127482#msg127482 (http://forum.simutrans.com/index.php?topic=12774.msg127482#msg127482)

but compiling myself ST and makeobj (r6901) and pak128 (r1323) in Linux...

Title: Re: cannot zoom out (only in) of paks made with new makeobj
Post by: Markohs on November 15, 2013, 11:50:16 AM
It might be related to cached values in viewport_t? Is there any way to reproduce it? I can test it if you want.
Title: Re: cannot zoom out (only in) of paks made with new makeobj
Post by: prissi on November 15, 2013, 12:08:27 PM
Just zoom out with the nightly pak64 should do this.
Title: Re: cannot zoom out (only in) of paks made with new makeobj
Post by: wernieman on November 15, 2013, 12:43:53 PM
Witch Version of makeobj don“t have the Problem?

I only could test it tonight
Title: Re: cannot zoom out (only in) of paks made with new makeobj
Post by: prissi on November 15, 2013, 01:32:32 PM
I am not even sure makeobj is to blame. But some of the changes from Max-Max and myself were done (although they did not very conspicious.)
Title: Re: cannot zoom out (only in) of paks made with new makeobj
Post by: wernieman on November 15, 2013, 01:54:19 PM
Can you give me a Info (pm) , when it works?
Title: Re: cannot zoom out (only in) of paks made with new makeobj
Post by: prissi on November 15, 2013, 03:50:40 PM
Stupid error, set a variable and then zeroed out the whole structure so no image was zoomable at all. Is fixed.