1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Accessing Landmarks from the SDK

Discussion in 'Civ4 - Creation & Customization' started by mjs0, May 12, 2006.

  1. mjs0

    mjs0 The 4th X

    Joined:
    Nov 9, 2001
    Messages:
    1,063
    Location:
    Central Florida
    I am using the SDK to create landmarks to dynamically label tiles.
    I can successfully call addLandmark via cvDLLEngineIFaceBase to add a Landmark to a plot.
    Unfortunately I can find no way to either update or remove landmarks that have been created this way from the SDK.
    Has anyone seen anything in the SDK that might help.
    Thanks.
     
  2. TheLopez

    TheLopez Deity

    Joined:
    Jan 16, 2006
    Messages:
    2,525
    Location:
    Oregon
    mjs0,

    why are you using the SDK to add landmarks? you can use the CyEngine class in python to add and remove landmarks:
    Code:
    VOID addLandmark(CyPlot pPlot, STRING caption)
    void (CyPlot* pPlot, const TCHAR* caption)
    
    
    VOID addLandmarkPopup(CyPlot pPlot)
    void (CyPlot* pPlot)
    
    VOID removeLandmark(CyPlot pPlot)
    void (CyPlot* pPlot)
    
     
  3. mjs0

    mjs0 The 4th X

    Joined:
    Nov 9, 2001
    Messages:
    1,063
    Location:
    Central Florida
    I'm was hoping to use it as a debugging tool to publish plot values for some changes I am making to the values calculated when the AI chooses city sites.
     

Share This Page