Compiler says iGUI is screwy?!

Home Forums Mods and POG Scripting Compiler says iGUI is screwy?!

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #14504
    Second Chance
    Participant

    I was just attempting to compile a small scenario script I’m working on, and calls to any function from iGUI are getting me errors of:---------- Capture Output ----------
    "C:. . .compile.bat" spacemaster.pog

    PC (Pog Compiler) Copyright (c) 1998-9 Particle Systems Ltd.
    Using compiler runtime of class "fcPogCompiler" version 1.5

    Compiling source file spacemaster.pog...

    Translating...
    Analysing...
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(21) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(23) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(25) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(27) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(29) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(31) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(33) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(35) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(37) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(39) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(41) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(43) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(45) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(47) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(49) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(51) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(53) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(55) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(57) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(59) : Error: Undeclared identifier ("list")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(61) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(63) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(65) : Error: Undeclared identifier ("list")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(67) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(69) : Error: Undeclared identifier ("list")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(71) : Error: Undeclared identifier ("list")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(73) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(75) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(77) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(79) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(81) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(83) : Error: Undeclared identifier ("list")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(85) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(87) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(89) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(91) : Error: Undeclared identifier ("hwindow")
    C:Program FilesInfogramesPog ScriptincludeiGUI.h(93) : Error: Undeclared identifier ("hwindow")
    spacemaster.pog(15) : Error: The imported header file contained errors
    spacemaster.pog(71) : Error: Undeclared identifier ("iGUI.CreateWideShadyBar")
    spacemaster.pog(72) : Error: Undeclared identifier ("iGUI.AddTitle")
    Warning: Not overwriting header file with generated header ("C:. . .spacemaster.h")

    40 errors, 1 warning

    Terminated with exit code 40Anyone know why I’m having trouble with iGUI? If you’ll notice, the last two errors are my code failing because they refer to iGUI.

    Here’s the source://
    // (c) 1999 Particle Systems Ltd. All Rights Reserved
    //
    // spacemaster
    //
    //
    //
    // Main package for the SpaceMaster game scenario
    //
    //
    // Package name
    package spacemaster;

    // Imports - the other packages we are using in this script.
    uses iGUI, GUI;

    // Exports - Functions in this package that other scripts can use.
    provides ScenarioMain, Main;

    // Enumerators (optional) - Any enumerators for the script defined here.

    // Prototypes - Functions defined for use in this package.
    prototype PlayerSetupScreen();
    prototype SpacemasterOnBackButton();

    // Code starts here

    ScenarioMain()
    {
    // Intro screen and/or movie
    iGUI.OverlayCustomScreen("spacemaster.PlayerSetupScreen");
    // Player setup

    // Map setup

    }

    Main()
    {
    // Imperial gov't setup

    // Provincial gov't setup

    // Business operations setup

    // Criminal operations setup

    // Start location setup

    // Player craft setup
    }

    // ***** SpaceMaster functions *****

    // Employment generator functions

    // Sensor functions

    // Political functions

    // Business functions

    // Criminal functions

    // SpaceMaster generic display functions
    PlayerSetupScreen()
    {
    // Locals
    hwindow shady_bar;
    // Screen setup
    shady_bar = iGUI.CreateWideShadyBar();
    iGUI.AddTitle(shady_bar, "SPACEMASTER");
    }

    SpacemasterOnBackButton()
    {
    GUI.RemoveLastOverlay();
    }
    // Galactic event functions

    // Planet functions

    // Station functions

    // Fleet functions

    // END OF FILE
    I haven’t coded in months and months. Am I just missing something monumentally obvious?

    mailto:second_chance@cox.net
    The Ultimate Guide To Modding: I-War 2 – Edge Of Chaos (on hold during SW MP mod)
    http://cartoons.sev.com.au/index.php?catid=4


    [img]http://members.cox.net/hubner/images/sc_icon150.gif[/img] . [img]http://cartoons.sev.com.au/archives/s119.jpg[/img]

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.