Changeset 882
- Timestamp:
 - Jun 4, 2013, 5:35:02 PM (12 years ago)
 - Location:
 - Daodan/src
 - Files:
 - 
      
- 2 edited
 
- 
          
  Daodan_BSL.c (modified) (2 diffs)
 - 
          
  Oni_Symbols.h (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
Daodan/src/Daodan_BSL.c
r877 r882 85 85 end = args[1].val.value_int32; 86 86 } 87 87 88 88 ret->val.value_int32 = start + (rand() % (uint32_t)(end - start + 1)); 89 89 ret->type = sl_int32; … … 857 857 SLrScript_Command_Register_ReturnType("st", "Prints to console in color", "", sl_void, bsl_dprintcolored); 858 858 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); 859 861 } 860 862  - 
      
Daodan/src/Oni_Symbols.h
r879 r882 79 79 #define SSgSearchOnDisk (*((bool*)0x005eb758)) 80 80 81 // OBJgTriggerVolume_Visible - bsl var to show trigger volumes 82 #define OBJgTriggerVolume_Visible (*((bool*)0x005ec6c4)) 83 81 84 82 85 // Method signature for script (BSL) functions … … 166 169 167 170 // Register a global BSL variable 171 DefFunc(uint16_t, SLrGlobalVariable_Register_Bool, ONICALL, (char* name, char* desc, UUtBool* data), 0x00477f50); 168 172 DefFunc(uint16_t, SLrGlobalVariable_Register_Int32, ONICALL, (char* name, char* desc, int32_t* data), 0x00477e30); 169 173 DefFunc(uint16_t, SLrGlobalVariable_Register_Float, ONICALL, (char* name, char* desc, float* data), 0x00477ec0);  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  