Changeset eba8c0c in opengl-game


Ignore:
Timestamp:
Aug 29, 2019, 9:13:58 PM (5 years ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
0df3c9a
Parents:
e8ebc76
Message:

Expand on the upgrade TODO list and remove game-gui-glfw as a dependency from vulkangame and spacegame

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • makefile

    re8ebc76 reba8c0c  
    4242endif
    4343
    44 LIBS = `pkg-config --static --libs sdl2 sdl2_image sdl2_ttf glfw3`
     44LIBS = `pkg-config --static --libs sdl2 sdl2_image sdl2_ttf`
    4545ifeq ($(OS),Darwin)
    4646        LIBS := $(VULKAN_SDK_PATH)/lib/libvulkan.dylib $(LIBS)
    4747endif
    4848ifeq ($(OS),Linux)
    49         LIBS = `pkg-config --static --libs sdl2 glfw3`
     49        LIBS = `pkg-config --static --libs sdl2`
    5050        LIBS := -lvulkan $(LIBS) -lSDL2_image -lSDL2_ttf # TODO: figure out how to statically link these, ideally using pkg-config
    5151endif
     
    5353LIB_FLAGS = $(LIB_PATHS) $(LIBS)
    5454
    55 vulkangame: vulkan-game.cpp game-gui-sdl.cpp game-gui-glfw.cpp
     55vulkangame: vulkan-game.cpp game-gui-sdl.cpp
    5656        $(CC) $(CXX_FLAGS) -o $@ $^ $(LIB_FLAGS)
    5757
    58 spacegame: main.cpp space-game.cpp game-gui-sdl.cpp game-gui-glfw.cpp
     58spacegame: main.cpp space-game.cpp game-gui-sdl.cpp
    5959        $(CC) $(CXX_FLAGS) -o $@ $^ $(LIB_FLAGS)
    6060
  • upgrade-TODO.txt

    re8ebc76 reba8c0c  
     1- Create shader configs in Vulkan and sample vertex data for all the shaders currently used in OpenGL
     2- Rewrite the system to store scene objects, copy their vertex data to vertex buffers and
     3  resize the vertex buffers as needed to be used with Vulkan
     4- Copy the UI overlay system from the Vulkan implementation to build the UI on top of
    15- Upgrade the UI from ImGui to SDL
    26  - Could probably use the existing window / event system
    37  - Create buttons with text and events in SDL
    4 - Create shader configs in Vulkan and sample vertex data for all the shaders currently used in OpenGL
    5 - Rewrite the system to store scene objects, copy their vertex data to vertex buffers and
    6   resize the vertex buffers as needed to be used with Vulkan
    78- Implement the ability to listen for mouse clicks and keystrokes
    89  - Assuming SDL supports detecting key presses and key releases, re-implement the key state array
  • vulkan-game.cpp

    re8ebc76 reba8c0c  
    2121#include "utils.h"
    2222
    23 #include "game-gui-glfw.hpp"
    2423#include "game-gui-sdl.hpp"
    2524
Note: See TracChangeset for help on using the changeset viewer.