Changeset caa2359 in opengl-game
- Timestamp:
- May 16, 2019, 2:06:47 AM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- d9b6a1c
- Parents:
- bae0911
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
NewOpenGLGame.vcxproj
rbae0911 rcaa2359 153 153 <ClInclude Include="logger.h" /> 154 154 <ClInclude Include="stb_image.h" /> 155 <ClInclude Include="utils.h" /> 155 156 </ItemGroup> 156 157 <ItemGroup> -
logger.cpp
rbae0911 rcaa2359 26 26 return false; 27 27 } 28 va_start(argptr, message .c_str());28 va_start(argptr, message); 29 29 vfprintf(file, message.c_str(), argptr); 30 30 va_end(argptr); … … 41 41 return false; 42 42 } 43 va_start(argptr, message .c_str());43 va_start(argptr, message); 44 44 vfprintf(file, message.c_str(), argptr); 45 45 va_end(argptr); 46 46 fprintf(file, "\n"); 47 va_start(argptr, message .c_str());47 va_start(argptr, message); 48 48 vfprintf(stderr, message.c_str(), argptr); 49 49 va_end(argptr); -
new-game.cpp
rbae0911 rcaa2359 1 #include "logger.h"2 3 1 #include "stb_image.h" 4 2 … … 32 30 #include <map> 33 31 32 #include "logger.h" 34 33 #include "utils.h" 35 34 -
utils.h
rbae0911 rcaa2359 1 // Code for offset_of talemfrom https://gist.github.com/graphitemaster/494f21190bb2c63c55161 // Code for offset_of function from https://gist.github.com/graphitemaster/494f21190bb2c63c5516 2 2 3 3 template <typename T1, typename T2>
Note:
See TracChangeset
for help on using the changeset viewer.