Skip to content

Misc. C++ - Concepts - Algorithms - Graphics - Mini Projects - C++ gl game engine - 2D/3D games from scratch - etc

Notifications You must be signed in to change notification settings

Tknott95/RainRoad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run 2.0

UNFINISHED HOBBY CODE WHERE THE IDEA WAS/IS TO EXTEND INTO A 3D ENV FOR AI TRAINING

!! FIX OLD CODE I LOST ON MY JULY z5th .GITIGNORE CHECK FOR JULY 5th MISSING PROJECTS. CHECKED 2D 2/10

RainRoad

@AUTHOR:

Trevor Knott

chmod +x ./zrv.sh ./zrv.sh main ./zrv.sh <#OfExample> ./zrv.sh main >> output.txt to see terminal output in file for grep debugging

  • 2dGraphics -> churchWindows -> comp00t
  • 2dGames -> sp8crs
  • 3dGraphics -> repulsionism
  • 3dGames
  • EleLand

GlLand

  ...     ...
 7/20/20 gLit_Mesh
 7/25/20 gLit_GUI
TmaKe by TK, aka meh
# How I run my servers.

  #!/bin/bash
  _FREETYPE="
    -I/usr/include/freetype2
    -I/usr/include/libpng16
    -I/usr/include/harfbuzz
    -I/usr/include/glib-2.0
    -I/usr/lib/glib-2.0/include"

  _IGNORE="
  -Wno-unused-function 
  -Wno-unused-variable"

  _LINKERS="
    -lglfw -lGLEW -DGLEW_STATIC -lGL
    -lfreetype"

  _O="./runtime/main"

  source ../utils.sh

  function clean() {
    if test -f "main.o"; then
      rm -rf *.o
    fi
   }


 clean
 echo "    - COMPILING BINARY"
	#  - Compiling styles -
	# Style 1) w/ -o only    :  (real 0m11.803s|user 0m10.881s|sys 0m0.891s)
	# Style 2) w/ .o linkers :  (real 0m15.355s|user 0m14.233s|sys 0m1.080s)
	# 1) g++ -Wall src/$1.cpp src/ctrls/*.cpp $_FREETYPE $_IGNORE -o ./runtime/$1 $_LINKERS 
	g++ -Wall -c src/$1.cpp src/ctrls/*.cpp $_FREETYPE $_IGNORE  && g++ *.o $_LINKERS -o $_O   

	echo "    - RUNNING BINARY"
	clean && $_O

About

Misc. C++ - Concepts - Algorithms - Graphics - Mini Projects - C++ gl game engine - 2D/3D games from scratch - etc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published