Misc changes
This commit is contained in:
@@ -84,7 +84,7 @@ RegisterTutorialSection(HowToFindCommands, "Tutorial on finding the commands", R
|
|||||||
|
|
||||||
RegisterTutorialSection(HowToBindCommandsToKeys, "how to bind commands to keys", R"==(
|
RegisterTutorialSection(HowToBindCommandsToKeys, "how to bind commands to keys", R"==(
|
||||||
|
|
||||||
We will start easy. Try selecting the entire line below and (ctrl-q / right click / F12)
|
We will start easy. Try selecting and executing the lines below:
|
||||||
|
|
||||||
:Set DrawLineNumbers 0
|
:Set DrawLineNumbers 0
|
||||||
:Set TextColor ffaa0000
|
:Set TextColor ffaa0000
|
||||||
|
|||||||
+3
-3
@@ -54,7 +54,7 @@
|
|||||||
|
|
||||||
|
|
||||||
*/
|
*/
|
||||||
#define PLUGIN_PROFILER 1
|
#define PLUGIN_PROFILER 0
|
||||||
#include "plugin_profiler.h"
|
#include "plugin_profiler.h"
|
||||||
#include "basic.h"
|
#include "basic.h"
|
||||||
#include "basic.cpp"
|
#include "basic.cpp"
|
||||||
@@ -1035,8 +1035,8 @@ int main(int argc, char **argv, char **envp)
|
|||||||
const SDL_DisplayMode *display_mode = SDL_GetCurrentDisplayMode(primary_display_id);
|
const SDL_DisplayMode *display_mode = SDL_GetCurrentDisplayMode(primary_display_id);
|
||||||
int whalf = (int)(display_mode->w * 0.5) - 10;
|
int whalf = (int)(display_mode->w * 0.5) - 10;
|
||||||
int hhalf = (int)(display_mode->h) - 120;
|
int hhalf = (int)(display_mode->h) - 120;
|
||||||
int xhalf = whalf;
|
// int xhalf = whalf;
|
||||||
int yhalf = 30;
|
// int yhalf = 30;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
Uint32 window_flags = SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE | SDL_WINDOW_HIGH_PIXEL_DENSITY;
|
Uint32 window_flags = SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE | SDL_WINDOW_HIGH_PIXEL_DENSITY;
|
||||||
|
|||||||
Reference in New Issue
Block a user