Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from dave-kennedy/master
Line endings
- Loading branch information
Showing
70 changed files
with
13,699 additions
and
13,692 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Set the default behavior, in case people don't have core.autocrlf set. | ||
* text=auto | ||
|
||
# Explicitly declare text files you want to always be normalized and converted | ||
# to native line endings on checkout. | ||
*.c text | ||
*.h text |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
#ifndef character_h | ||
#define character_h | ||
|
||
#include "corange.h" | ||
|
||
typedef struct { | ||
vec2 velocity; | ||
vec2 position; | ||
float flap_timer; | ||
bool facing_left; | ||
} character; | ||
|
||
character* character_new(); | ||
void character_delete(character* c); | ||
|
||
void character_update(character* c); | ||
void character_render(character* c, vec2 camera_position); | ||
|
||
#ifndef character_h | ||
#define character_h | ||
|
||
#include "corange.h" | ||
|
||
typedef struct { | ||
vec2 velocity; | ||
vec2 position; | ||
float flap_timer; | ||
bool facing_left; | ||
} character; | ||
|
||
character* character_new(); | ||
void character_delete(character* c); | ||
|
||
void character_update(character* c); | ||
void character_render(character* c, vec2 camera_position); | ||
|
||
#endif |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
#ifndef coin_h | ||
#define coin_h | ||
|
||
#include "corange.h" | ||
|
||
typedef struct { | ||
vec2 position; | ||
} coin; | ||
|
||
coin* coin_new(); | ||
void coin_delete(coin* c); | ||
|
||
void coin_render(coin* c, vec2 camera_position); | ||
|
||
|
||
#ifndef coin_h | ||
#define coin_h | ||
|
||
#include "corange.h" | ||
|
||
typedef struct { | ||
vec2 position; | ||
} coin; | ||
|
||
coin* coin_new(); | ||
void coin_delete(coin* c); | ||
|
||
void coin_render(coin* c, vec2 camera_position); | ||
|
||
|
||
#endif |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,52 @@ | ||
############################################################################################################################### | ||
############################################################################################################################### | ||
############################################################################################################################### | ||
############################################################################################################################### | ||
############################################################################################################################### | ||
############################################################################################################################### | ||
############################################################################################################################### | ||
###########################################R################################################################################### | ||
###########################R####################################################R############################################## | ||
########################################"""####""######"""""""""############################################################### | ||
#######################""""""""""""""""" """" """""" ##################"""""######################################## | ||
####################### {^} _______ ____ "######R#########" ""###################################### | ||
#######################__ (') ~~~~~~~________~~~~__ "#############"" {^} ""#################################### | ||
#################R#####~~@____@.____!____#######~~~~~~~~####~~. ""########### (') "##R################################ | ||
#########################~~~~~~~~~~~~~~~~################R####~_ _###########___ |_@_ ""################################# | ||
#############################################R#################~ _~########R##~~~_.!~~~_ """""############################ | ||
########R######################"""""""""#######################" ~#####R#########~~~###~___ "#R######################### | ||
##################R######"""""" """""""###""""#####"""" ""##"""################~~~ ########################### | ||
####################""""" """ """"" "" """"#####"""""""""" __.###"""##########R########## | ||
#################""" {^} {^} """"" ~~~#"" ""################### | ||
###############"" (') (') {^} """ "################## | ||
###############_ | _.@__ | (') {^} ################## | ||
###############~ | ~~~~~_ .@!___ | (') ####R############# | ||
################__db | "####~ ~~~~~~ __|._ | _################## | ||
################~~hu__ _.!_ """" "##"" __~~!~~ | ~################## | ||
##########R#######~~~~ ~~~~_ "" {^} ~~#R~## {^} | _.################### | ||
################""""" "###~ {^} {^} (') """"" (') !_~~################### | ||
################_ "#"" (') (') | {^} {^} | {^} _~~##################### | ||
################~ {^} " | {^} \---* {^}(') (') | (') ~####################### | ||
###############_ ('){^} | (') {^} | (') | | {^} | | "####R################# | ||
###############~_ | (') | __@.___ | (') | | | | (') | | ____###################### | ||
################~_ | | {^} | _@~~~~~~~___ | |{^} |{^}+--/ | | +--/ ~~~~###################### | ||
#################~ +--/ {^}(') | ~~#######~~~____ \---*(') |(')| \--* | #R#############R######### | ||
################_ | (') | !_############~~~~ | | | \-* {^} | |{^} "######################## | ||
################~@_| \--* ___._~~################_ +-/ | | (') \--*(') ######################## | ||
#########R#######~~| {^} | ~~~~~#########R########~ | | | | +-/ ######################## | ||
###################! (') _!___@####R#############""""" \----* +--/ __!.____@######################## | ||
###################~___ | ___~~~~~~################## | | ~~~~~~~~~######################## | ||
####################~~~_!.____@______~~~#######################" +---/ """"""########################### | ||
################R######~~~~~~~~~~~~~~######################R###__@_ | ###R####################### | ||
###############################################################~~~~.____ | _______########################### | ||
############################R###################R##################~~~~~______.!___ __..~~~~~~~########################### | ||
########################################################################~~~~~~~~~~~______~~~~################################## | ||
######################################R##########################R#################~~~~~~###################################### | ||
###########R################################################################################################################### | ||
#############################################################################################R################################# | ||
############################################################################################################################### | ||
############################################################################################################################### | ||
############################################################################################################################### | ||
############################################################################################################################### | ||
############################################################################################################################### | ||
############################################################################################################################### | ||
############################################################################################################################### | ||
############################################################################################################################### | ||
############################################################################################################################### | ||
############################################################################################################################### | ||
############################################################################################################################### | ||
############################################################################################################################### | ||
###########################################R################################################################################### | ||
###########################R####################################################R############################################## | ||
########################################"""####""######"""""""""############################################################### | ||
#######################""""""""""""""""" """" """""" ##################"""""######################################## | ||
####################### {^} _______ ____ "######R#########" ""###################################### | ||
#######################__ (') ~~~~~~~________~~~~__ "#############"" {^} ""#################################### | ||
#################R#####~~@____@.____!____#######~~~~~~~~####~~. ""########### (') "##R################################ | ||
#########################~~~~~~~~~~~~~~~~################R####~_ _###########___ |_@_ ""################################# | ||
#############################################R#################~ _~########R##~~~_.!~~~_ """""############################ | ||
########R######################"""""""""#######################" ~#####R#########~~~###~___ "#R######################### | ||
##################R######"""""" """""""###""""#####"""" ""##"""################~~~ ########################### | ||
####################""""" """ """"" "" """"#####"""""""""" __.###"""##########R########## | ||
#################""" {^} {^} """"" ~~~#"" ""################### | ||
###############"" (') (') {^} """ "################## | ||
###############_ | _.@__ | (') {^} ################## | ||
###############~ | ~~~~~_ .@!___ | (') ####R############# | ||
################__db | "####~ ~~~~~~ __|._ | _################## | ||
################~~hu__ _.!_ """" "##"" __~~!~~ | ~################## | ||
##########R#######~~~~ ~~~~_ "" {^} ~~#R~## {^} | _.################### | ||
################""""" "###~ {^} {^} (') """"" (') !_~~################### | ||
################_ "#"" (') (') | {^} {^} | {^} _~~##################### | ||
################~ {^} " | {^} \---* {^}(') (') | (') ~####################### | ||
###############_ ('){^} | (') {^} | (') | | {^} | | "####R################# | ||
###############~_ | (') | __@.___ | (') | | | | (') | | ____###################### | ||
################~_ | | {^} | _@~~~~~~~___ | |{^} |{^}+--/ | | +--/ ~~~~###################### | ||
#################~ +--/ {^}(') | ~~#######~~~____ \---*(') |(')| \--* | #R#############R######### | ||
################_ | (') | !_############~~~~ | | | \-* {^} | |{^} "######################## | ||
################~@_| \--* ___._~~################_ +-/ | | (') \--*(') ######################## | ||
#########R#######~~| {^} | ~~~~~#########R########~ | | | | +-/ ######################## | ||
###################! (') _!___@####R#############""""" \----* +--/ __!.____@######################## | ||
###################~___ | ___~~~~~~################## | | ~~~~~~~~~######################## | ||
####################~~~_!.____@______~~~#######################" +---/ """"""########################### | ||
################R######~~~~~~~~~~~~~~######################R###__@_ | ###R####################### | ||
###############################################################~~~~.____ | _______########################### | ||
############################R###################R##################~~~~~______.!___ __..~~~~~~~########################### | ||
########################################################################~~~~~~~~~~~______~~~~################################## | ||
######################################R##########################R#################~~~~~~###################################### | ||
###########R################################################################################################################### | ||
#############################################################################################R################################# | ||
############################################################################################################################### | ||
############################################################################################################################### | ||
############################################################################################################################### | ||
############################################################################################################################### | ||
############################################################################################################################### | ||
############################################################################################################################### |
Oops, something went wrong.