Open Source Tomb Raider Engine
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

LoaderTR3.cpp 355B

1234567891011121314151617181920212223242526
  1. /*!
  2. * \file src/loader/LoaderTR3.cpp
  3. * \brief TR3 level file loader
  4. *
  5. * \author xythobuz
  6. */
  7. #include "global.h"
  8. #include "loader/LoaderTR3.h"
  9. LoaderTR3::LoaderTR3() {
  10. }
  11. LoaderTR3::~LoaderTR3() {
  12. }
  13. int LoaderTR3::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. }