725 |
|
} |
726 |
|
|
727 |
|
if (!*type) |
728 |
< |
DDrStartupMessage("Daodan: Badly formed bsl definition for \"%s\"", name); |
728 |
> |
STARTUPMESSAGE("Badly formed bsl definition for \"%s\"", name); |
729 |
|
|
730 |
|
if (!strcmp(type, "int")) |
731 |
|
bsl_type = sl_int32; |
737 |
|
bsl_type = sl_bool; |
738 |
|
else |
739 |
|
{ |
740 |
< |
DDrStartupMessage("Daodan: Unknown type in bsl definition for \"%s\"", name); |
740 |
> |
STARTUPMESSAGE("Unknown type in bsl definition for \"%s\"", name); |
741 |
|
return true; |
742 |
|
} |
743 |
|
|
782 |
|
|
783 |
|
void SLrConfig() |
784 |
|
{ |
785 |
< |
DDrStartupMessage("Daodan: Re-parsing daodan.ini for bsl..."); |
785 |
> |
STARTUPMESSAGE("Re-parsing daodan.ini for bsl...", 0); |
786 |
|
inifile_read("daodan.ini", SLrIniCallback); |
787 |
< |
DDrStartupMessage("Daodan: Finished parsing"); |
787 |
> |
STARTUPMESSAGE("Finished parsing", 0); |
788 |
|
} |
789 |
|
*/ |
790 |
|
|
796 |
|
errornum = SLrScript_Command_Register_ReturnType(name, desc, argfmt2, type, callback); |
797 |
|
if(errornum) |
798 |
|
{ |
799 |
< |
DDrStartupMessage("Daodan: Registration of script command %s failed with error %i", name, errornum); |
799 |
> |
STARTUPMESSAGE("Registration of script command %s failed with error %i", name, errornum); |
800 |
|
} |
801 |
|
} else { |
802 |
< |
DDrStartupMessage("Daodan: Registration of script command %s failed because of a too long argfmt", name); |
802 |
> |
STARTUPMESSAGE("Registration of script command %s failed because of a too long argfmt", name); |
803 |
|
} |
804 |
|
} |
805 |
|
|