The International Simutrans Forum


Author Topic: [MakeObj] Invalid coords warning  (Read 3621 times)

0 Members and 1 Guest are viewing this topic.

Offline Václav

  • Devotee
  • *
  • Posts: 3322
  • formerly VaclavMacurek
  • Languages: CZ, EN
[MakeObj] Invalid coords warning
« on: December 10, 2012, 02:14:24 PM »
I think that it would be good if makeobj would warn that dat file contain invalid coords.

For example, you decide to change source file, you change positions in line - but you forget change number of raw - and then, when original sheet had ten lines - but new sheet has only one line, currently makeobj does its work - but you don't know about this mistake until you copy addon into any game folder - and start game.

Would be possible to add this feature?

When makeobj checks validity of size of sheet (for example for pak96.comic it must be multiplies of number 96), then why it could not check also this?

Offline greenling

  • Lounger
  • *
  • Posts: 1728
  • Simutransarchology it my hobby!
  • Languages: DE,EN
Re: [MakeObj] Invalid coords warning
« Reply #1 on: December 10, 2012, 04:37:29 PM »
That it a very good idea they you have.
It Possible that we can exchange some words in the makobj?