about summary refs log tree commit diff stats
path: root/data/maps/the_entry/rooms/Repetitive Entrance.txtpb
Commit message (Expand)AuthorAgeFilesLines
* Changed how door location names are formattedStar Rauchenberger2025-08-301-1/+1
* Added the_repetitiveStar Rauchenberger2025-08-181-0/+7
<fefferburbia@gmail.com> 2024-05-15 13:19:34 -0400 Logging changes' href='/lingo-ap-tracker/commit/src/main.cpp?h=v0.10.3&id=0c7cb22f3da56fde00f981f9fefb971c541bc8f1'>0c7cb22 ^
d7eb71d
531898b ^
d7eb71d
0c7cb22 ^






bee4194 ^
f2a4553 ^

d7eb71d



4e95da4 ^









d7eb71d


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44





                      


                   
                           

                          

                              
                                 
        
                         






                                                                  
 

                              



                                             









                                         


                            
#include <wx/wxprec.h>

#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif

#include <fstream>

#include "global.h"
#include "tracker_config.h"
#include "tracker_frame.h"

static std::ofstream* logfile;

class TrackerApp : public wxApp {
 public:
  virtual bool OnInit() {
    logfile = new std::ofstream(GetAbsolutePath("debug.log"));
    wxLog::SetActiveTarget(new wxLogStream(logfile));

#ifndef NDEBUG
    wxLog::SetVerbose(true);
    wxLog::SetActiveTarget(new wxLogWindow(nullptr, "Debug Log"));
#endif

    GetTrackerConfig().Load();

    TrackerFrame *frame = new TrackerFrame();
    frame->Show(true);
    return true;
  }

  bool OnExceptionInMainLoop() override {
    try {
      throw;
    } catch (const std::exception& ex) {
      wxLogError(ex.what());
    }

    return false;
  }
};

wxIMPLEMENT_APP(TrackerApp);