Subversion Repositories Games.Carmageddon

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. #include "sys_conf.h"
  2. #include "harness/trace.h"
  3.  
  4. br_token valid_system_config_tokens[5];
  5.  
  6. // IDA: br_boolean __usercall Is_Valid_Sys_Config_Token@<EAX>(br_token t@<EAX>)
  7. br_boolean Is_Valid_Sys_Config_Token(br_token t) {
  8.     //br_boolean bOK; // Pierre-Marie Baty -- unused variable
  9.     //int i; // Pierre-Marie Baty -- unused variable
  10.     LOG_TRACE("(%d)", t);
  11.     NOT_IMPLEMENTED();
  12. }
  13.  
  14. // IDA: br_boolean __usercall LoadIniEntry@<EAX>(char *ini_file@<EAX>, char *section_name@<EDX>, br_token t@<EBX>, char *Entry@<ECX>)
  15. br_boolean LoadIniEntry(char* ini_file, char* section_name, br_token t, char* Entry) {
  16.     //char Temp[255]; // Pierre-Marie Baty -- unused variable
  17.     //br_uint_16 size; // Pierre-Marie Baty -- unused variable
  18.     //br_value v; // Pierre-Marie Baty -- unused variable
  19.     //br_error r; // Pierre-Marie Baty -- unused variable
  20.     LOG_TRACE("(\"%s\", \"%s\", %d, \"%s\")", ini_file, section_name, t, Entry);
  21.     NOT_IMPLEMENTED();
  22. }
  23.  
  24. // IDA: br_error __usercall LoadIniConfig@<EAX>(char *ini_file@<EAX>, char *section_name@<EDX>)
  25. br_error LoadIniConfig(char* ini_file, char* section_name) {
  26.     LOG_TRACE("(\"%s\", \"%s\")", ini_file, section_name);
  27.     NOT_IMPLEMENTED();
  28. }
  29.  
  30. // IDA: br_boolean __usercall LoadRegistryEntry@<EAX>(char *Reg_Path@<EAX>, void *hKey@<EDX>, br_token t@<EBX>, char *Entry@<ECX>)
  31. br_boolean LoadRegistryEntry(char* Reg_Path, void* hKey, br_token t, char* Entry) {
  32.     //char Temp[255]; // Pierre-Marie Baty -- unused variable
  33.     //br_uint_16 size; // Pierre-Marie Baty -- unused variable
  34.     //br_value v; // Pierre-Marie Baty -- unused variable
  35.     //br_error r; // Pierre-Marie Baty -- unused variable
  36.     LOG_TRACE("(\"%s\", %p, %d, \"%s\")", Reg_Path, hKey, t, Entry);
  37.     NOT_IMPLEMENTED();
  38. }
  39.  
  40. // IDA: br_error __usercall LoadRegistryConfig@<EAX>(char *Reg_Path@<EAX>, void *hKey@<EDX>)
  41. br_error LoadRegistryConfig(char* Reg_Path, void* hKey) {
  42.     LOG_TRACE("(\"%s\", %p)", Reg_Path, hKey);
  43.     NOT_IMPLEMENTED();
  44. }
  45.  
  46. // IDA: br_error __usercall BrSetDefaultConfig@<EAX>(br_token t@<EAX>, char *Entry@<EDX>)
  47. br_error BrSetDefaultConfig(br_token t, char* Entry) {
  48.     //char Reg_Path[255]; // Pierre-Marie Baty -- unused variable
  49.     //int v0; // Pierre-Marie Baty -- unused variable
  50.     //int v1; // Pierre-Marie Baty -- unused variable
  51.     //int v2; // Pierre-Marie Baty -- unused variable
  52.     //br_value v; // Pierre-Marie Baty -- unused variable
  53.     LOG_TRACE("(%d, \"%s\")", t, Entry);
  54.     NOT_IMPLEMENTED();
  55. }
  56.  
  57. // IDA: br_error __cdecl BrSystemConfigBegin()
  58. br_error BrSystemConfigBegin(void) {
  59.     //char temp[255]; // Pierre-Marie Baty -- unused variable
  60.     //br_value v; // Pierre-Marie Baty -- unused variable
  61.     STUB();
  62.     return 0; // Pierre-Marie Baty -- function must return a value
  63. }
  64.  
  65. // IDA: br_error __cdecl BrSystemConfigLoad(br_token t, char *Param1, void *Param2)
  66. br_error BrSystemConfigLoad(br_token t, char* Param1, void* Param2) {
  67.     //br_error r; // Pierre-Marie Baty -- unused variable
  68.     LOG_TRACE("(%d, \"%s\", %p)", t, Param1, Param2);
  69.     NOT_IMPLEMENTED();
  70. }
  71.  
  72. // IDA: br_error __cdecl BrSystemConfigSetString(br_token t, char *string)
  73. br_error BrSystemConfigSetString(br_token t, char* string) {
  74.     //br_value v; // Pierre-Marie Baty -- unused variable
  75.     LOG_TRACE("(%d, \"%s\")", t, string);
  76.     NOT_IMPLEMENTED();
  77. }
  78.  
  79. // IDA: br_error __cdecl BrSystemConfigQueryString(br_token t, char *string, int max_size)
  80. br_error BrSystemConfigQueryString(br_token t, char* string, int max_size) {
  81.     //br_error r; // Pierre-Marie Baty -- unused variable
  82.     //br_value v; // Pierre-Marie Baty -- unused variable
  83.     LOG_TRACE("(%d, \"%s\", %d)", t, string, max_size);
  84.     NOT_IMPLEMENTED();
  85. }
  86.