Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Twinklebear/TwinklebearDev-Lessons
/ functions
Functions
28 in github.com/Twinklebear/TwinklebearDev-Lessons
⨍
Functions
28
◇
Types & classes
0
↓ 15 callers
Function
cleanup
include/cleanup.h:12
↓ 7 callers
Function
logSDLError
* Log an SDL error with some error message to the output stream of our choice * @param os The output stream to write the message too * @param msg Th
Lesson6/src/main.cpp:20
↓ 6 callers
Function
getResourcePath
* Get the resource path for resources located in res/subDir * It's assumed the project directory is structured like: * bin/ * the executable * re
include/res_path.h:19
↓ 5 callers
Function
logSDLError
* Log an SDL error with some error message to the output stream of our choice * @param os The output stream to write the message too * @param msg Th
Lesson2/src/main.cpp:19
↓ 5 callers
Function
renderTexture
* Draw an SDL_Texture to an SDL_Renderer at position x, y, preserving * the texture's width and height * @param tex The source texture we want to dr
Lesson2/src/main.cpp:54
↓ 4 callers
Function
logSDLError
* Log an SDL error with some error message to the output stream of our choice * @param os The output stream to write the message too * @param msg Th
Lesson4/src/main.cpp:20
↓ 4 callers
Function
logSDLError
* Log an SDL error with some error message to the output stream of our choice * @param os The output stream to write the message too * @param msg Th
Lesson3/src/main.cpp:22
↓ 4 callers
Function
logSDLError
* Log an SDL error with some error message to the output stream of our choice * @param os The output stream to write the message too * @param msg Th
Lesson5/src/main.cpp:20
↓ 2 callers
Function
loadTexture
* Loads a BMP image into a texture on the rendering device * @param file The BMP image file to load * @param ren The renderer to load the texture on
Lesson2/src/main.cpp:28
↓ 2 callers
Function
loadTexture
* Loads an image into a texture on the rendering device * @param file The image file to load * @param ren The renderer to load the texture onto * @
Lesson3/src/main.cpp:31
↓ 2 callers
Function
renderTexture
* Draw an SDL_Texture to an SDL_Renderer at position x, y, with some desired * width and height * @param tex The source texture we want to draw * @
Lesson3/src/main.cpp:48
↓ 1 callers
Function
loadTexture
* Loads an image into a texture on the rendering device * @param file The image file to load * @param ren The renderer to load the texture onto * @
Lesson4/src/main.cpp:29
↓ 1 callers
Function
loadTexture
* Loads an image into a texture on the rendering device * @param file The image file to load * @param ren The renderer to load the texture onto * @
Lesson5/src/main.cpp:29
↓ 1 callers
Function
renderText
* Render the message we want to display to a texture for drawing * @param message The message we want to display * @param fontFile The font we want
Lesson6/src/main.cpp:68
↓ 1 callers
Function
renderTexture
* Draw an SDL_Texture to an SDL_Renderer at some destination rect * taking a clip of the texture if desired * @param tex The source texture we want
Lesson6/src/main.cpp:32
↓ 1 callers
Function
renderTexture
* Draw an SDL_Texture to an SDL_Renderer at position x, y, with some desired * width and height * @param tex The source texture we want to draw * @
Lesson4/src/main.cpp:46
↓ 1 callers
Function
renderTexture
* Draw an SDL_Texture to an SDL_Renderer at some destination rect * taking a clip of the texture if desired * @param tex The source texture we want
Lesson5/src/main.cpp:45
Function
cleanup<SDL_Renderer>
include/cleanup.h:32
Function
cleanup<SDL_Surface>
include/cleanup.h:46
Function
cleanup<SDL_Texture>
include/cleanup.h:39
Function
cleanup<SDL_Window>
include/cleanup.h:25
Function
main
Lesson6/src/main.cpp:95
Function
main
* Lesson 0: Test to make sure SDL is setup properly */
Lesson0/src/main.cpp:7
Function
main
* Lesson 1: Hello World! */
Lesson1/src/main.cpp:8
Function
main
Lesson4/src/main.cpp:69
Function
main
Lesson2/src/main.cpp:64
Function
main
Lesson3/src/main.cpp:71
Function
main
Lesson5/src/main.cpp:73