The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Dwachs on May 04, 2010, 03:52:24 pm

Title: [patch]snow images for crossings
Post by: Dwachs on May 04, 2010, 03:52:24 pm
.. again a simple patch, no need to change makeobj. Images with [ 1 ] instead of [ 0 ] will be winter images. Any comments against using the so far unused second index?
Title: Re: [patch]snow images for crossings
Post by: Fabio on May 05, 2010, 10:26:50 am
great idea!
Title: Re: [patch]snow images for crossings
Post by: The Hood on May 05, 2010, 01:47:10 pm
I hope this makes it in, another anomaly sorted out.

Any chance of allowing different crossing graphics at different points in the timeline?
Title: Re: [patch]snow images for crossings
Post by: Dwachs on May 05, 2010, 02:10:02 pm
First things first :D

The current structure of the crossing objects was already prepared for winter images (or animations?). Don't know.

Timeline should be pretty straightforward (though changes to makeobj needed).
Title: Re: [patch]snow images for crossings
Post by: jamespetts on May 05, 2010, 05:16:58 pm
I hope this makes it in, another anomaly sorted out.

Any chance of allowing different crossing graphics at different points in the timeline?

That is indeed a good idea - would be lovely to see gated crossings early on and AHBs later on in Pak128.Britain... :-D
Title: Re: [patch]snow images for crossings
Post by: Dwachs on May 05, 2010, 08:20:36 pm
Update: now with timline for crossings.

Title: Re: [patch]snow images for crossings
Post by: prissi on May 05, 2010, 08:55:03 pm
Since most entries in the crossing array will be empty, maybe one should rather use a sp**** array for it?

(May power supplied died yesterday, and this WIN98 Pentium 150 cannot compile it. SO I cannot test it.)
Title: Re: [patch]snow images for crossings
Post by: jamespetts on May 05, 2010, 09:35:33 pm
(May power supplied died yesterday, and this WIN98 Pentium 150 cannot compile it. SO I cannot test it.)

There can't be many of those around these days...
Title: Re: [patch]snow images for crossings
Post by: prissi on May 06, 2010, 10:18:42 am
[heavily offtopic]
Depends: Our oldest measurement system runs (an AUGER setup) runs on a 10MHz 286 (under DOS 3.1). And I have one computer which still butts Windows for Workgroups 3.11 fine (486 DX2 with 8MB main memory). But Simutrans never ever run smoothly below a Pentium.
Title: Re: [patch]snow images for crossings
Post by: The Hood on May 11, 2010, 03:04:13 pm
I'm ****uming this hasn't made it in yet, given it's still in "considered" patches?
Title: Re: [patch]snow images for crossings
Post by: Dwachs on May 12, 2010, 07:57:57 am
Yes. But should go in trunk soon. (Ie when rl permits)
Title: Re: [patch]snow images for crossings
Post by: The Hood on May 12, 2010, 08:34:51 am
That's good news.  There'll be some pak128.Britain graphics to take advantage too when rl permits :)
Title: Re: [patch]snow images for crossings
Post by: Dwachs on May 13, 2010, 08:03:22 am
Incorporated in rev 3245. To be able to use the timeline stuff, a new (nightly) makeobj is required.
Title: Re: [patch]snow images for crossings
Post by: The Hood on May 13, 2010, 08:28:01 am
Excellent!  Where do you get nightly makeobj from?  Presumably for linux version I would need to compile from source?  Is there a quick guide for doing this?  Finally (sorry for all the questions) if I add new parameters to the dat file, will old makeobj and old game versions still work with the new dat/pak?
Title: Re: [patch]snow images for crossings
Post by: Dwachs on May 13, 2010, 12:03:40 pm
Excellent!  Where do you get nightly makeobj from?  Presumably for linux version I would need to compile from source?  Is there a quick guide for doing this? 
There is no makeobj nightly. Quick guide for compiling: Get the code first
Code: [Select]
svn co svn://tron.homeunix.org/simutrans/trunk  <target-directory>
copy config.template to config.default
edit config.default (see also the readme.txt on this)
Code: [Select]
cd  makeobj
make
.. hope this works.
Quote
Finally (sorry for all the questions) if I add new parameters to the dat file, will old makeobj and old game versions still work with the new dat/pak?
Old makeobj will work with the new dat. At least in the case of this change here. Old makeobj is able to compile the dat with winter images. Only for timeline information a new makeobj is needed. But using old game versions with new pak-files is not recommended, it works for me with new crossings and old program but may fail for others.
Title: Re: [patch]snow images for crossings
Post by: The Hood on May 13, 2010, 02:00:09 pm
thanks - I'll give it a go.
Title: Re: [patch]snow images for crossings
Post by: Dwachs on May 13, 2010, 02:35:56 pm
What version of makeobj does wernieman use for generating the nightly-pak's? If he uses an own current compilation of makeobj, you would have to wait only for the nightly and would not have to compile makeobj yourself.
Title: Re: [patch]snow images for crossings
Post by: The Hood on May 13, 2010, 02:59:19 pm
On a related note, when is the next stable due?  If these new features go into the next release, then obviously I want to make sure there is a pak128.Britain release to go with it.
Title: Re: [patch]snow images for crossings
Post by: wlindley on May 13, 2010, 03:05:28 pm
But will there be animation of a British railwayman running down the steps from the box, lifting the latch, closing the first gate, lifting the other latch, closing the other gate, running up the steps, and throwing the Proceed lever for the semaphore signal? (grin)

I was amazed that procedure still persisted when I stayed in Chartham in 2000.
Title: Re: [patch]snow images for crossings
Post by: Dwachs on May 13, 2010, 03:27:04 pm
On a related note, when is the next stable due?  If these new features go into the next release, then obviously I want to make sure there is a pak128.Britain release to go with it.
No need to hurry. There are no deadlines. Sure these features will go into the next release.
Title: Re: [patch]snow images for crossings
Post by: Frank on May 13, 2010, 03:31:02 pm
What version of makeobj does wernieman use for generating the nightly-pak's? ...

a dev-makeobj compile in April for pak64 and new tunnel