Subversion Repositories Games.Carmageddon

Rev

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

  1. #include "brbegin.h"
  2. #include "harness/trace.h"
  3.  
  4. #include "CORE/HOST/himage.h"
  5. #include "CORE/PIXELMAP/pmsetup.h"
  6. #include "fwsetup.h"
  7.  
  8. br_boolean active;
  9.  
  10. // IDA: br_error __cdecl BrBegin()
  11. br_error BrBegin(void) {
  12.     LOG_TRACE("()");
  13.  
  14.     if (active) {
  15.         return 4103;
  16.     } else {
  17.         BrFwBegin();
  18.         HostImageLoad("unk?");
  19.         BrPixelmapBegin();
  20.         active = 1;
  21.         //nullsub_28();
  22.         return 0;
  23.     }
  24. }
  25.  
  26. // IDA: br_error __cdecl BrEnd()
  27. br_error BrEnd(void) {
  28.     //br_device* dev; // Pierre-Marie Baty -- unused variable
  29.     LOG_TRACE("()");
  30.     NOT_IMPLEMENTED();
  31. }
  32.