Open Source Tomb Raider Engine
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

LoaderTR1.cpp 355B

1234567891011121314151617181920212223242526
  1. /*!
  2. * \file src/loader/LoaderTR1.cpp
  3. * \brief TR1 level file loader
  4. *
  5. * \author xythobuz
  6. */
  7. #include "global.h"
  8. #include "loader/LoaderTR1.h"
  9. LoaderTR1::LoaderTR1() {
  10. }
  11. LoaderTR1::~LoaderTR1() {
  12. }
  13. int LoaderTR1::load(std::string f) {
  14. if (file.open(f.c_str()) != 0) {
  15. return 1; // Could not open file
  16. }
  17. return 1; // stub
  18. }