Orthodox C++ (sometimes referred as C+) is minimal subset of C++ that improves C, but avoids all unnecessary things from so called Modern C++. It's exactly opposite of what Modern C++ suppose to be.
/** | |
* Simple OpenGL with SFML. | |
* | |
* Build: g++ -o simple_opengl_sfml simple_opengl_sfml.cpp -lsfml-window -lsfml-system -lGL | |
*/ | |
#include <SFML/Window.hpp> | |
#include <SFML/OpenGL.hpp> | |
#define WINDOW_WIDTH 640 |
# For each result of find call our script to run on the filename | |
$ find . -name "*.md" -print0 | xargs -0 -I file ./prepend.sh file |
/** | |
* Simple SDL2 program using OpenGL as rendering pipeline. | |
*/ | |
#include <iostream> | |
#include <SDL2/SDL.h> | |
#include <SDL2/SDL_opengl.h> | |
#include <OpenGL/GLU.h> | |
#define SCREEN_WIDTH 640 |
#include <SDL2/SDL.h> | |
#include <SDL2/SDL_syswm.h> | |
#include <bgfx/bgfx.h> | |
#include <bgfx/platform.h> | |
#include <bx/bx.h> | |
#include <bx/mutex.h> | |
#include <bx/thread.h> | |
void threadInit() | |
{ |
Exhaustive list of SPDX (Software Package Data Exchange) licenses: https://spdx.org/licenses/
#!/usr/bin/env haxex -lib mcli @ | |
/** | |
Taken from mcli example https://github.com/waneck/mcli | |
Say hello. | |
Example inspired by ruby's "executable" lib example | |
**/ | |
class HaxeScript extends mcli.CommandLine | |
{ | |
/** |
# Run the last command as root | |
sudo !! | |
# Serve current directory tree at http://$HOSTNAME:8000/ | |
python -m SimpleHTTPServer | |
# Save a file you edited in vim without the needed permissions | |
:w !sudo tee % | |
# change to the previous working directory | |
cd - | |
# Runs previous command but replacing | |
^foo^bar |
A couple of weeks ago I played (and finished) A Plague Tale, a game by Asobo Studio. I was really captivated by the game, not only by the beautiful graphics but also by the story and the locations in the game. I decided to investigate a bit about the game tech and I was surprised to see it was developed with a custom engine by a relatively small studio. I know there are some companies using custom engines but it's very difficult to find a detailed market study with that kind of information curated and updated. So this article.
Nowadays lots of companies choose engines like Unreal or Unity for their games (or that's what lot of people think) because d