openplanet-nl / issues

Issue tracker for Openplanet.
10 stars 0 forks source link

weird shared exports issue - ghosts++ #503

Closed XertroV closed 3 weeks ago

XertroV commented 3 weeks ago

A shared export in G++ isn't being compiled in the plugin, but is compiled in dependencies.

If I copy it into the file it's used in, then G++ compiles. But if I don't, it doesn't compile.

It's in a file called GPP_SharedExports.as (previously SharedExports.as), and it doesn't look like it's added when compiling G++.

It's not added regardless of whether it's listed in info.toml as a shared export or not.

The issue persists after restarting the game.

image

namespace Ghosts_PP {
    shared interface IInputChange {
        int32 get_Tick();
        uint64 get_States();
        uint16 get_MouseAccuX();
        uint16 get_MouseAccuY();
        int8 get_Steer();
        bool get_Gas();
        bool get_Brake();
        bool get_Horn();
        uint8 get_CharacterStates();
        int64 get_Time();
        bool get_FreeLook();
        bool get_ActionSlot1();
        bool get_ActionSlot2();
        bool get_ActionSlot3();
        bool get_ActionSlot4();
        bool get_ActionSlot5();
        bool get_ActionSlot6();
        bool get_ActionSlot7();
        bool get_ActionSlot8();
        bool get_ActionSlot9();
        bool get_ActionSlot0();
        bool get_Respawn();
        bool get_SecondaryRespawn();
        string ToString();
    }
}

OP on discord: https://discord.com/channels/276076890714800129/424967293538402334/1253920202966696018