This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Danilo Lemos - 2021 | |
// cool_csv.cpp | |
// ====================== | |
// A small and free to use/edit function to read a CSV line. | |
#include <string> | |
#include <sstream> | |
#include <iostream> | |
void Cool_CSV(const std::string &line) {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Danilo Lemos - 2020 | |
# A free to use and edit Makefile | |
# It compiles and links the game's | |
# source code inside src/ directory. | |
# Change the following variables as you need. | |
# Compiler: | |
CXX = g++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
#Danilo Lemos - 2017 | |
#bhbusget.py | |
#--------------------- | |
#Este código é livre para ser compartilhado ou alterado, sem nenhuma restrição. | |
#Ele pega os dados usados no aplicativo de horário de ônibus da prefeitura de Belo Horizonte. | |
#Ele aceita como entrada o número de uma linha de ônibus e ordena o horário em cada estação. | |
#--------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Danilo Lemos - 2017 - 2020 | |
//change_frequency.c | |
//====================== | |
//A small function to play a SDL_mixer's chunk in a different frequency. | |
//It was written to be used on the Pekka Kana 2 SDL2 game project, and is free to use and edit. | |
#include <SDL_mixer.h> | |
#include <stdio.h> | |
#define MIX_CHANNELS 8 //Number of channels used |