Ignore:
Timestamp:
Jun 4, 2013, 5:35:02 PM (11 years ago)
Author:
alloc
Message:

Daodan: Added BSL var "show_triggervolumes". Not yet working though

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Daodan/src/Daodan_BSL.c

    r877 r882  
    8585                end = args[1].val.value_int32;
    8686        }
    87        
     87
    8888        ret->val.value_int32 = start + (rand() % (uint32_t)(end - start + 1));
    8989        ret->type = sl_int32;
     
    857857        SLrScript_Command_Register_ReturnType("st", "Prints to console in color", "", sl_void, bsl_dprintcolored);
    858858        SLrScript_Command_Register_ReturnType("d_dprint", "Prints to console in color", "", sl_void, bsl_dprintcolored);
     859
     860        SLrGlobalVariable_Register_Int32("show_triggervolumes", "Show trigger volumes", &OBJgTriggerVolume_Visible);
    859861}
    860862
Note: See TracChangeset for help on using the changeset viewer.