source: opengl-game/new-game.cpp

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @4ece3bf   5 years dmitry.portnoy In VulkanGame, add the ability to delete asteroids and move them at a … feature/imgui-sdl points-test
(edit) @5b02676   5 years dmitry.portnoy Make vulkangame and openglgame compile on OSX with the new … feature/imgui-sdl points-test
(edit) @4d84c72   5 years dmp1488 Move the OpenGL shaders to a gl-shaders folder feature/imgui-sdl points-test
(edit) @f133da0   5 years dmp1488 Add renderScene and renderUI functions to openglgame and use IMGUI to … feature/imgui-sdl points-test
(edit) @cabdd5c   5 years dmitry.portnoy Mark which parts of the old code were moved over to the new openglgame … feature/imgui-sdl points-test
(edit) @1fcca9e   5 years dmitry.portnoy Rename logger.h to logger.hpp feature/imgui-sdl points-test
(edit) @203ab1b   5 years dmitry.portnoy Rename utils.h to utils.hpp feature/imgui-sdl points-test
(edit) @301d0d4   5 years dmitry.portnoy Rename Compiler.h to compiler.hpp feature/imgui-sdl points-test
(edit) @5529ab5   5 years dmitry.portnoy Rename CrashLogger.cpp to crash-logger.cpp and CrashLogger.h to … feature/imgui-sdl points-test
(edit) @9cd92ae   5 years dmitry.portnoy Update TODO and remove some unused files feature/imgui-sdl points-test
(edit) @88ebdc8   5 years dmitry.portnoy Update new-game.cpp to use a header-only version of stb_image feature/imgui-sdl points-test
(edit) @b373466   6 years dmitry.portnoy Undo tweaks to badFunc feature/imgui-sdl points-test
(edit) @6abfd07   6 years dmitry.portnoy Create a log with a stack-trace when the game crashes feature/imgui-sdl points-test
(edit) @a23fc08   6 years dmitry.portnoy Move several functions from new-game.cpp to utils.cpp feature/imgui-sdl points-test
(edit) @98f06d9   6 years dmitry.portnoy Add support for ofstream to logger.cpp feature/imgui-sdl points-test
(edit) @d9b6a1c   6 years dmitry.portnoy Print a stack trace in the event of a crash. Currently, the code for … feature/imgui-sdl points-test
(edit) @caa2359   6 years dmp1488 Fix some logging code errors feature/imgui-sdl points-test
(edit) @bae0911   6 years dmitry.portnoy Update logging code to send all errors to the log file as well as the … feature/imgui-sdl points-test
(edit) @155a7cf   6 years dmitry.portnoy Replace printf with cout and cerr in new-game.cpp and logger.cpp feature/imgui-sdl points-test
(edit) @e6bc0f4   6 years dmitry.portnoy Add a callback for the window resize event feature/imgui-sdl points-test
(edit) @c55614a   6 years dmitry.portnoy CHange the code that copies object data into the OpenGL buffers into … feature/imgui-sdl points-test
(edit) @7e10667   6 years dmitry.portnoy Finish switching to the new model group rendering algorithm for … feature/imgui-sdl points-test
(edit) @dc19a39   6 years dmitry.portnoy Make explosion objects use the global model mat uniform buffer and a … feature/imgui-sdl points-test
(edit) @f97e638   6 years dmitry.portnoy Remove all the generic vbos feature/imgui-sdl points-test
(edit) @14e6918   6 years dmitry.portnoy Switch to the new model group rendering algorithm for TYPE_ASTEROID objects feature/imgui-sdl points-test
(edit) @a9d191a   6 years dmitry.portnoy Fix the buffer resizing algorithm for model groups (this fixes the … feature/imgui-sdl points-test
(edit) @c4c205e   6 years dmitry.portnoy Add a debug console to the game that displays program variable values feature/imgui-sdl points-test
(edit) @a926b79   6 years dmitry.portnoy For TYPE_SHIP objects, switch to using vbos specific to the model … feature/imgui-sdl points-test
(edit) @b05e2b5   6 years dmitry.portnoy Initialize the explosion shader vertex attributes using the new … feature/imgui-sdl points-test
(edit) @de53394   6 years dmitry.portnoy Move the generation of the explosion shader vbos to where all the … feature/imgui-sdl points-test
(edit) @b220f78   6 years dmitry.portnoy Create an overloaded version of bindUniformData that takes the data as … feature/imgui-sdl points-test
(edit) @49db5fc   6 years dmitry.portnoy Add support for uniform attributes in a ShaderModelGroup feature/imgui-sdl points-test
(edit) @a0eb547   6 years dmitry.portnoy Create an AttribInfo array for each ShaderModelGroup to support … feature/imgui-sdl points-test
(edit) @dd9771c   6 years dmp1488 Remove SceneObject.shader_program and use the object type to get the … feature/imgui-sdl points-test
(edit) @b62c109   6 years dmp1488 Use a ShaderModelGroup for the lasers amd remove BufferInfo.vbo_offset … feature/imgui-sdl points-test
(edit) @4c7cd57   6 years dmp1488 Use a ShaderModelGroup for the ship feature/imgui-sdl points-test
(edit) @0414306   6 years dmp1488 Create a map of ShaderModelGroups and use it for asteroids and explosions feature/imgui-sdl points-test
(edit) @7a55b49   6 years dmp1488 Create the ShaderModelGroup struct and start moving info required for … feature/imgui-sdl points-test
(edit) @ae0c7f4   6 years dmp1488 Merge branch 'WIP' of medievaltech.com:opengl-game into WIP feature/imgui-sdl points-test
(edit) @39ac76d   6 years dmp1488 Remove some unused code and rename some variables to more descriptive names feature/imgui-sdl points-test
(edit) @646f3f2   6 years dmp1488 Make explosions render correctly whenever a ship is destroyed. feature/imgui-sdl points-test
(edit) @bebfd5c   6 years dmp1488 WIP continued feature/imgui-sdl points-test
(edit) @c5fb958   6 years dmp1488 WIP feature/imgui-sdl points-test
(edit) @fe5e3ca   6 years dmitry.portnoy Apply the model, view, and projection matrices to explosions feature/imgui-sdl points-test
(edit) @8fbd34f   6 years dmitry.portnoy Create a work-around for the OSX Sierra vsync issue feature/imgui-sdl points-test
(edit) @adb104f   6 years dmp1488 Make the explosion shader only emit particles for a short time instead … feature/imgui-sdl points-test
(edit) @db06984   6 years dmp1488 Create a particle system that will later be used to render exploding … feature/imgui-sdl points-test
(edit) @e1eec78   6 years dmp1488 Finish resolving merge conflict feature/imgui-sdl points-test
(edit) @3d96d13   6 years dmp1488 Merge branch 'master' of medievaltech.com:opengl-game feature/imgui-sdl points-test
(edit) @1e3dddf   6 years dmp1488 Display an actual score, which gets incremented every time the player … feature/imgui-sdl points-test
(edit) @446e55d   6 years dmitry.portnoy Fix the OpenGL version issue on OSX by making it only request an … feature/imgui-sdl points-test
(edit) @8e8aed6   6 years dmp1488 Fix some g++ compiler warnings feature/imgui-sdl points-test
(edit) @25b47d7   6 years dmp1488 Correctly send the hp of each asteroid to the shader using a uniform … feature/imgui-sdl points-test
(edit) @0e0f851   6 years dmp1488 Add a dedicated shader for asteroids, add an OpenGL debug callback, … feature/imgui-sdl points-test
(edit) @2b0214c   6 years dmp1488 -Comment out the code for showing selected objects in a different … feature/imgui-sdl points-test
(edit) @1f3d32b   6 years dmp1488 -Dynamically allocate SceneObjectsto make it easier to support … feature/imgui-sdl points-test
(edit) @e9347b4   6 years dmp1488 Implement an algorithm to find the closest object in a laser's path … feature/imgui-sdl points-test
(edit) @612d1f6   6 years dmp1488 As a laser moves, update its rotation so it always faces the camera. feature/imgui-sdl points-test
(edit) @fabed35   6 years dmp1488 Make the left and right lasers fire while the Z and X keys are held … feature/imgui-sdl points-test
(edit) @8316333   6 years dmp1488 Refactor the scene object creation functions, make the initial two … feature/imgui-sdl points-test
(edit) @3effd81   6 years dmp1488 Change addLaserToScene() to position the laser between the correct … feature/imgui-sdl points-test
(edit) @fd6f465   6 years dmp1488 Change the laser rendering algorithm to draw lasers starting from the … feature/imgui-sdl points-test
(edit) @9f9f9a7   6 years dmp1488 Improve the laser rendering algorithm by using a translucent white … feature/imgui-sdl points-test
(edit) @6877ef3   6 years dmp1488 Finish integrating lasers into the object rendering pipeline and … feature/imgui-sdl points-test
(edit) @92b1e90   6 years dmp1488 Add a type field to SceneObject and mostly integrate lasers into the … feature/imgui-sdl points-test
(edit) @b155f13   6 years dmp1488 WIP: Start writing code for rendering lasers feature/imgui-sdl points-test
(edit) @ebaa95c   6 years dmp1488 Fix the logic for checking when asteroids leave the viewable scene area. feature/imgui-sdl points-test
(edit) @95595de   6 years dmp1488 Update each object's bounding center as the object moves, and remove … feature/imgui-sdl points-test
(edit) @3d06b4e   6 years dmp1488 Calculate the bounding box for each object feature/imgui-sdl points-test
(edit) @dba67b2   6 years dmp1488 Update the project to GLM 0.9.9, add the README to the Visual Studio … feature/imgui-sdl points-test
(edit) @5527206   6 years dmp1488 Add a random number generating function and continuously spawn … feature/imgui-sdl points-test
(edit) @c94a699   6 years dmp1488 Fix rendering of textured objects feature/imgui-sdl points-test
(edit) @c3c3158   6 years dmp1488 Allow objects to be added to the scene after the graphics buffers are … feature/imgui-sdl points-test
(edit) @8d5e67b   6 years dmp1488 Modify the scene to have the asteroids come out of the top edge of the … feature/imgui-sdl points-test
(edit) @cf2d1e5   6 years dmp1488 -Stop rendering the triangle and square -Place the player ship at the … feature/imgui-sdl points-test
(edit) @20e0020   6 years dmp1488 Finish building the player ship model and scale and rotate it correctly. feature/imgui-sdl points-test
(edit) @81f28c0   6 years dmp1488 Begin creating a simple model for the player's ship. feature/imgui-sdl points-test
(edit) @809ce16   6 years dmp1488 Add the ability to tilt the camera up or down with arrow keys. Moving … feature/imgui-sdl points-test
(edit) @5c403fe   6 years dmp1488 Change the SceneObject definition to include a base model matrix and a … feature/imgui-sdl points-test
(edit) @f7d35da   6 years dmp1488 Add a system to keep track of which keys are pressed or held down and … feature/imgui-sdl points-test
(edit) @0d5c100   7 years dmp1488 Create a populateBuffers() function to encapsulate populating all the … feature/imgui-sdl points-test
(edit) @e3ca955   7 years dmp1488 Change the rendering algorithm to draw the selected objects, then draw … feature/imgui-sdl points-test
(edit) @f9a242b   7 years dmp1488 Create addObjectToScene function to automate some aspects of … feature/imgui-sdl points-test
(edit) @4f3262f   7 years dmp1488 Move all function definitions in new-game.cpp after main. feature/imgui-sdl points-test
(edit) @14ff67c   7 years dmp1488 Use uniform buffers to store model matrices and add constants to … feature/imgui-sdl points-test
(edit) @e165b85   7 years dmp1488 Start incorporating UBOs feature/imgui-sdl points-test
(edit) @cffca4d   7 years dmp1488 Change the rendering for colored objects by drawing selected and … feature/imgui-sdl points-test
(edit) @93462c6   7 years dmp1488 -Create State and Event enums -Create the main menu and game states … feature/imgui-sdl points-test
(edit) @f0cc877   7 years dmp1488 Add code to create a fullscreen window, which will be used to create … feature/imgui-sdl points-test
(edit) @5b3462b   7 years dmp1488 Implement a basic gui with a stats window and a menubar containing a … feature/imgui-sdl points-test
(edit) @1c81bf0   7 years dmp1488 Remove imgui_example.cpp from the Visual Studio project and add … feature/imgui-sdl points-test
(edit) @c1ca5b5   7 years dmp1488 Show the example ImGui gui in the OpenGL game. feature/imgui-sdl points-test
(edit) @4e0b82b   7 years dmp1488 Add an ImGui example project feature/imgui-sdl points-test
(edit) @9f4986b   7 years dmp1488 Change the square's selected color to a darker blue-green feature/imgui-sdl points-test
(edit) @9dd2eb7   7 years dmp1488 Implement Phong shading in the color and texture shaders feature/imgui-sdl points-test
(edit) @d9f99b2   7 years dmp1488 Remove all instances of ObjectFace and just reference the points … feature/imgui-sdl points-test
(edit) @07ed460   7 years dmp1488 Move all the point and color data into the SceneObjects and populate … feature/imgui-sdl points-test
(edit) @05e43cf   7 years dmp1488 Move the points for all models into one vbo feature/imgui-sdl points-test
(edit) @7280257   7 years dmitry.portnoy Remove uniform buffer code until I figure out how to use it correctly. feature/imgui-sdl points-test
(edit) @baa5848   7 years dmp1488 Create a new rendering algorithm that supports a variable number of … feature/imgui-sdl points-test
Note: See TracRevisionLog for help on using the revision log.