├── .gitignore ├── .gitmodules ├── CMakeLists.txt ├── LICENSE ├── Makefile ├── README.org ├── assets ├── red-blob.bmp └── red-blob.png ├── atlas.cpp ├── atlas.h ├── common.h ├── emscripten-shell.html ├── font.cpp ├── font.h ├── glwrappers.cpp ├── glwrappers.h ├── main.cpp ├── render-imgui.cpp ├── render-imgui.h ├── render-layer.h ├── render-shapes.cpp ├── render-shapes.h ├── render-sprites.cpp ├── render-sprites.h ├── render-surface.cpp ├── render-surface.h ├── window.cpp └── window.h /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redblobgames/helloworld-sdl2-opengl-emscripten/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redblobgames/helloworld-sdl2-opengl-emscripten/HEAD/.gitmodules -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redblobgames/helloworld-sdl2-opengl-emscripten/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redblobgames/helloworld-sdl2-opengl-emscripten/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redblobgames/helloworld-sdl2-opengl-emscripten/HEAD/Makefile -------------------------------------------------------------------------------- /README.org: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redblobgames/helloworld-sdl2-opengl-emscripten/HEAD/README.org -------------------------------------------------------------------------------- /assets/red-blob.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redblobgames/helloworld-sdl2-opengl-emscripten/HEAD/assets/red-blob.bmp -------------------------------------------------------------------------------- /assets/red-blob.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redblobgames/helloworld-sdl2-opengl-emscripten/HEAD/assets/red-blob.png -------------------------------------------------------------------------------- /atlas.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redblobgames/helloworld-sdl2-opengl-emscripten/HEAD/atlas.cpp -------------------------------------------------------------------------------- /atlas.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redblobgames/helloworld-sdl2-opengl-emscripten/HEAD/atlas.h -------------------------------------------------------------------------------- /common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redblobgames/helloworld-sdl2-opengl-emscripten/HEAD/common.h -------------------------------------------------------------------------------- /emscripten-shell.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redblobgames/helloworld-sdl2-opengl-emscripten/HEAD/emscripten-shell.html -------------------------------------------------------------------------------- /font.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redblobgames/helloworld-sdl2-opengl-emscripten/HEAD/font.cpp -------------------------------------------------------------------------------- /font.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redblobgames/helloworld-sdl2-opengl-emscripten/HEAD/font.h -------------------------------------------------------------------------------- /glwrappers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redblobgames/helloworld-sdl2-opengl-emscripten/HEAD/glwrappers.cpp -------------------------------------------------------------------------------- /glwrappers.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redblobgames/helloworld-sdl2-opengl-emscripten/HEAD/glwrappers.h -------------------------------------------------------------------------------- /main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redblobgames/helloworld-sdl2-opengl-emscripten/HEAD/main.cpp -------------------------------------------------------------------------------- /render-imgui.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redblobgames/helloworld-sdl2-opengl-emscripten/HEAD/render-imgui.cpp -------------------------------------------------------------------------------- /render-imgui.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redblobgames/helloworld-sdl2-opengl-emscripten/HEAD/render-imgui.h -------------------------------------------------------------------------------- /render-layer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redblobgames/helloworld-sdl2-opengl-emscripten/HEAD/render-layer.h -------------------------------------------------------------------------------- /render-shapes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redblobgames/helloworld-sdl2-opengl-emscripten/HEAD/render-shapes.cpp -------------------------------------------------------------------------------- /render-shapes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redblobgames/helloworld-sdl2-opengl-emscripten/HEAD/render-shapes.h -------------------------------------------------------------------------------- /render-sprites.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redblobgames/helloworld-sdl2-opengl-emscripten/HEAD/render-sprites.cpp -------------------------------------------------------------------------------- /render-sprites.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redblobgames/helloworld-sdl2-opengl-emscripten/HEAD/render-sprites.h -------------------------------------------------------------------------------- /render-surface.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redblobgames/helloworld-sdl2-opengl-emscripten/HEAD/render-surface.cpp -------------------------------------------------------------------------------- /render-surface.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redblobgames/helloworld-sdl2-opengl-emscripten/HEAD/render-surface.h -------------------------------------------------------------------------------- /window.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redblobgames/helloworld-sdl2-opengl-emscripten/HEAD/window.cpp -------------------------------------------------------------------------------- /window.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redblobgames/helloworld-sdl2-opengl-emscripten/HEAD/window.h --------------------------------------------------------------------------------