Commit Graph

2408 Commits (master)
 

Author SHA1 Message Date
Romain Vimont c4266e487b Rename (un)lock_mutex to mutex_(un)lock
For consistency, rename lock_mutex and unlock_mutex to mutex_lock and
mutex_unlock.
6 years ago
Romain Vimont ad667bfa20 Fix function signature
Use void for parameters (this project is in C).
6 years ago
Romain Vimont 37d88b8a6a Use SDL_bool return type instead of int
Many functions returned an int to indicate their success. For clarity,
use SDL_bool instead.
6 years ago
Romain Vimont 2b44052f80 Destroy condition variable on frames destruction
A condition variable was init for the "struct frames", but was never destroyed.
6 years ago
Romain Vimont 1a71c4ab1d Implement framework wrappers separately
Move the DeviceUtil internal static classes to public classes, in a
separate package (".wrappers").

This paves the way to implement InputManager properly.
6 years ago
Romain Vimont 39fd6ce518 Send device name on the socket
Make the server send the device name along with the width and height, so
that the client may use it as the window title.
6 years ago
Romain Vimont 9d141a7f50 Add README 6 years ago
Romain Vimont 54d9148a36 Initial commit
Start a new clean history from here.
6 years ago