News:

The Forum Rules and Guidelines
Our forum has Rules and Guidelines. Please, be kind and read them ;).

[patch]snow images for crossings

Started by Dwachs, May 04, 2010, 03:52:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dwachs

.. 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?
Parsley, sage, rosemary, and maggikraut.

Fabio


The Hood

I hope this makes it in, another anomaly sorted out.

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

Dwachs

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).
Parsley, sage, rosemary, and maggikraut.

jamespetts

Quote from: 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?

That is indeed a good idea - would be lovely to see gated crossings early on and AHBs later on in Pak128.Britain... :-D
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Dwachs

Update: now with timline for crossings.

Parsley, sage, rosemary, and maggikraut.

prissi

Since most entries in the crossing array will be empty, maybe one should rather use a sparse array for it?

(May power supplied died yesterday, and this WIN98 Pentium 150 cannot compile it. SO I cannot test it.)

jamespetts

Quote from: prissi on May 05, 2010, 08:55:03 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...
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

prissi

[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.

The Hood

I'm assuming this hasn't made it in yet, given it's still in "considered" patches?

Dwachs

Yes. But should go in trunk soon. (Ie when rl permits)
Parsley, sage, rosemary, and maggikraut.

The Hood

That's good news.  There'll be some pak128.Britain graphics to take advantage too when rl permits :)

Dwachs

Incorporated in rev 3245. To be able to use the timeline stuff, a new (nightly) makeobj is required.
Parsley, sage, rosemary, and maggikraut.

The Hood

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?

Dwachs

Quote from: 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? 
There is no makeobj nightly. Quick guide for compiling: Get the code first

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)
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.
Parsley, sage, rosemary, and maggikraut.

The Hood


Dwachs

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.
Parsley, sage, rosemary, and maggikraut.

The Hood

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.

wlindley

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.

Dwachs

Quote from: 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.
No need to hurry. There are no deadlines. Sure these features will go into the next release.
Parsley, sage, rosemary, and maggikraut.

Frank

Quote from: Dwachs on May 13, 2010, 02:35:56 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