ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/Daodan_BSL.c
(Generate patch)

Comparing Daodan/src/Daodan_BSL.c (file contents):
Revision 739 by iritscen, Sun Mar 24 14:41:49 2013 UTC vs.
Revision 837 by alloc, Mon Apr 29 15:26:54 2013 UTC

# Line 796 | Line 796 | bool SLrIniCallback(char* section, bool
796                          }
797                  
798                  if (!*type)
799 <                        DDrStartupMessage("badly formed bsl definition for \"%s\"", name);
799 >                        DDrStartupMessage("Daodan: Badly formed bsl definition for \"%s\"", name);
800                  
801                  if (!strcmp(type, "int"))
802                          bsl_type = sl_int32;
# Line 808 | Line 808 | bool SLrIniCallback(char* section, bool
808                          bsl_type = sl_bool;
809                  else
810                  {
811 <                        DDrStartupMessage("unknown type in bsl definition for \"%s\"", name);
811 >                        DDrStartupMessage("Daodan: Unknown type in bsl definition for \"%s\"", name);
812                          return true;
813                  }
814                  
# Line 853 | Line 853 | bool SLrIniCallback(char* section, bool
853  
854   void SLrConfig()
855   {
856 <        DDrStartupMessage("re-parsing daodan.ini for bsl...");
856 >        DDrStartupMessage("Daodan: Re-parsing daodan.ini for bsl...");
857          inifile_read("daodan.ini", SLrIniCallback);
858 <        DDrStartupMessage("finished parsing");
858 >        DDrStartupMessage("Daodan: Finished parsing");
859   }
860  
861   void ONICALL SLrDaodan_Register_ReturnType(char* name, char* desc, char* argfmt, sl_type type, sl_func callback) {
# Line 866 | Line 866 | void ONICALL SLrDaodan_Register_ReturnTy
866                  errornum = SLrScript_Command_Register_ReturnType(name, desc, argfmt2, type, callback);
867                  if(errornum)
868                  {
869 <                        DDrStartupMessage("Registration of script command %s failed with error %i", name, errornum);
869 >                        DDrStartupMessage("Daodan: Registration of script command %s failed with error %i", name, errornum);
870                  }
871          } else {
872 <                DDrStartupMessage("Registration of script command %s failed because of a too long argfmt", name);
872 >                DDrStartupMessage("Daodan: Registration of script command %s failed because of a too long argfmt", name);
873          }
874   }
875  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)