I've cleared a major hurdle towards Rance X modding. I am now able to compile and run the pictured code, which adds a new type of skill effect to the game. So it should now be possible to create custom skills which do arbitrary things.