The International Simutrans Forum

 

Author Topic: menuconf.tab conflicts with standard  (Read 274 times)

0 Members and 1 Guest are viewing this topic.

Offline Vladki cz

  • Devotee
  • *
  • Posts: 2491
    • My addons, mostly roadsigns
  • Languages: EN, CS
menuconf.tab conflicts with standard
« on: November 07, 2018, 07:23:28 PM »
Hello,

I'm trying to have pak128.CS to be playable with both standard and extended. I do not want to fork it like pak128.Britain. But recently I ran into a problem with menuconf.tab. Numeric values for new features in standard and extended overlap, and have different meanings:

Code: [Select]
# Standard
# TOOL_ROTATE_BUILDING =  40
# Extended
# TOOL_BUILD_SIGNALBOX =  40
# TOOL_REASSIGN_SIGNAL =  41
#
#

As I would like to see the rotate_building tool backported to extended, it would be really bad if it would get different number than it already has in standard.
Is it possible to move the extended specific tools to some higher numbers (lets say >100 or >128 ?)

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18210
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: menuconf.tab conflicts with standard
« Reply #1 on: November 07, 2018, 11:27:15 PM »
This is an interesting thought. I imagine that this work would most efficiently be done at the same time as merging the rotate building tool is integrated into Extended.