├── images
├── screen1.png
├── screen2.png
├── screen3.png
├── screen4.gif
└── screen5.png
├── rtdoom
├── pch.cpp
├── Painter.cpp
├── packages.config
├── GameState.h
├── pch.h
├── GLViewport.h
├── rtdoom.h
├── FrameBuffer.cpp
├── MapRenderer.h
├── WireframePainter.h
├── GLRenderer.h
├── Painter.h
├── SolidPainter.h
├── GameState.cpp
├── TexturePainter.h
├── Viewport.h
├── Helpers.cpp
├── MathCache.h
├── Renderer.h
├── WireframePainter.cpp
├── Projection.h
├── Helpers.h
├── FrameBuffer32.h
├── FrameBuffer.h
├── SolidPainter.cpp
├── GLViewport.cpp
├── GameLoop.h
├── Renderer.cpp
├── SoftwareRenderer.h
├── MapDef.h
├── MapRenderer.cpp
├── GLContext.h
├── MapStore.cpp
├── WADFile.h
├── Viewport.cpp
├── MathCache.cpp
├── GameLoop.cpp
├── MapStore.h
├── MapStructs.h
├── FrameBuffer32.cpp
├── rtdoom.vcxproj.filters
├── Frame.h
├── Projection.cpp
├── TexturePainter.cpp
├── Frame.cpp
├── main.cpp
├── GLContext.cpp
├── glad
│ └── KHR
│ │ └── khrplatform.h
├── rtdoom.vcxproj
├── MapDef.cpp
├── GLRenderer.cpp
└── WADFile.cpp
├── LICENSE
├── rtdoom.sln
├── README.md
├── .gitattributes
├── .clang-format
└── .gitignore
/images/screen1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mausimus/rtdoom/HEAD/images/screen1.png
--------------------------------------------------------------------------------
/images/screen2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mausimus/rtdoom/HEAD/images/screen2.png
--------------------------------------------------------------------------------
/images/screen3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mausimus/rtdoom/HEAD/images/screen3.png
--------------------------------------------------------------------------------
/images/screen4.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mausimus/rtdoom/HEAD/images/screen4.gif
--------------------------------------------------------------------------------
/images/screen5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mausimus/rtdoom/HEAD/images/screen5.png
--------------------------------------------------------------------------------
/rtdoom/pch.cpp:
--------------------------------------------------------------------------------
1 | // pch.cpp: source file corresponding to pre-compiled header; necessary for compilation to succeed
2 |
3 | #include "pch.h"
4 |
5 | // In general, ignore this file, but keep it around if you are using pre-compiled headers.
--------------------------------------------------------------------------------
/rtdoom/Painter.cpp:
--------------------------------------------------------------------------------
1 | #include "pch.h"
2 | #include "Painter.h"
3 |
4 | namespace rtdoom
5 | {
6 | Painter::Painter(FrameBuffer& frameBuffer) : m_frameBuffer(frameBuffer) {}
7 |
8 | Painter::~Painter() {}
9 | } // namespace rtdoom
10 |
--------------------------------------------------------------------------------
/rtdoom/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/rtdoom/GameState.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "MapDef.h"
4 |
5 | namespace rtdoom
6 | {
7 | class GameState
8 | {
9 | public:
10 | std::unique_ptr m_mapDef;
11 | float m_step;
12 | Thing m_player;
13 |
14 | void Move(int m, int r, float step);
15 | void NewGame(const MapStore& mapStore);
16 |
17 | GameState();
18 | ~GameState();
19 | };
20 | } // namespace rtdoom
21 |
--------------------------------------------------------------------------------
/rtdoom/pch.h:
--------------------------------------------------------------------------------
1 | #ifndef PCH_H
2 | #define PCH_H
3 |
4 | #include
5 | #include
6 | #include
7 | #include
8 | #include
9 | #include
10 | #include