Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11395 for code/branches


Ignore:
Timestamp:
Apr 6, 2017, 4:18:21 PM (8 years ago)
Author:
patricwi
Message:

dialogue classes added

Location:
code/branches/HUD_HS16
Files:
9 added
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/HUD_HS16/data/levels/events.oxw

    r11391 r11395  
    7777    <DistanceTrigger name="test" position="0,0,0" target="Pawn" distance=25 stayActive="true"/>
    7878    <Backlight position="0,0,0" visible=true frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,0,0"/>
    79     <DDDialogue string="Hello World3" >
     79    <DialogueManager question="Hello World3">
    8080      <events>
    8181        <execute>
     
    8383        </execute>
    8484      </events>
    85     </DDDialogue>
     85    </DialogueManager>
     86
    8687
    8788    <!-- orange -->
  • code/branches/HUD_HS16/src/modules/CMakeLists.txt

    r11052 r11395  
    2727
    2828ADD_SUBDIRECTORY(designtools)
     29ADD_SUBDIRECTORY(dialogue)
    2930ADD_SUBDIRECTORY(gametypes)
    3031ADD_SUBDIRECTORY(notifications)
  • code/branches/HUD_HS16/src/modules/pickup/DDDialogue.cc

    r11391 r11395  
    99    RegisterClass(DDDialogue);
    1010
     11
    1112    /**
    1213    @brief
     
    1819    }
    1920
     21    //getResponses
    2022
    2123    bool DDDialogue::execute(bool bTriggered, BaseObject* trigger)
    2224    { 
    2325        if(!bTriggered) return false;
     26
     27       
    2428
    2529        orxout() << "bTriggered is " << bTriggered;
     
    4549        XMLPortEventSink(DDDialogue, BaseObject, "execute", execute, xmlelement, mode);
    4650    }
     51
     52
    4753}
Note: See TracChangeset for help on using the changeset viewer.