Wrath of Zeus
Made by Torchlight Games for CSE 125 SP24
Loading...
Searching...
No Matches
Functions
main.cpp File Reference
#include <iostream>
#include <chrono>
#include <boost/asio/io_context.hpp>
#include "client/client.hpp"
#include "shared/utilities/rng.hpp"
#include "shared/utilities/config.hpp"
#include "client/audio/audiomanager.hpp"
#include "shared/utilities/root_path.hpp"
#include "client/gui/img/img.hpp"

Functions

void error_callback (int error, const char *description)
 
void set_callbacks (GLFWwindow *window)
 Sets various callbacks for the GLFWwindow. Uses the windowUserPointer object which points to a Client object and wraps the member function calls with a lambda to pass in as the static callback. More...
 
void set_opengl_settings (GLFWwindow *window)
 
int main (int argc, char *argv[])
 

Function Documentation

◆ error_callback()

void error_callback ( int  error,
const char *  description 
)

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ set_callbacks()

void set_callbacks ( GLFWwindow *  window)

Sets various callbacks for the GLFWwindow. Uses the windowUserPointer object which points to a Client object and wraps the member function calls with a lambda to pass in as the static callback.

Parameters
window

◆ set_opengl_settings()

void set_opengl_settings ( GLFWwindow *  window)