• Stars
    star
    106
  • Rank 325,871 (Top 7 %)
  • Language
    C++
  • Created over 8 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Example of MSVC makefile project for hotloading C with intellisense/debugger compatability

C Hotloading

Quick example of compiling a "game's" main loop into a DLL with the ability to reload the DLL at run-time whenever the DLL has changed. A batch file is used to allow compilation while the debugger is attached to the main executable. Idea taken from the Handmade Hero videos + forums.

I've included notes on how to add a hotkey (I used alt + f5) to recompile while running the executable from within Visual Studio, even while the debugger is attached.

Windows only demo. Batch file setup for MSVC 2013 (v12); easily modifiable for other version.

Instructions

  • Open solution
  • f5
  • Edit game.cpp
  • Alt + f5 (after setting up the hotkey, see notes folder)

More Repositories

1

cute_headers

Collection of cross-platform one-file C/C++ libraries with no dependencies, primarily used for games
C
4,259
star
2

qu3e

Lightweight and Simple 3D Open Source Physics Engine in C++
C
923
star
3

cute_framework

The *cutest* framework out there for creating 2D games in C++!
C
535
star
4

ImpulseEngine

Simple, open source, 2D impulse based physics engine for educational use.
C++
323
star
5

AsciiEngine

Game engine written in C to create Ascii art games within the Windows console.
C
130
star
6

player2d

Educational demo implementing a swept 2D character controller
C
89
star
7

kk_slides

Some "slides" about coroutines in C
C
34
star
8

tinycavestory

Little demo of platforming and sprite batching via tinyheaders and Cave Story art
C
32
star
9

cute_snake

Snake example game written with Cute Framework
C++
17
star
10

Serialization_C

Serialization and Reflection proof of concept in C
C
13
star
11

CF_Lua

C
10
star
12

cute_headers_deprecated

Collection of deprecated cute headers
C
10
star
13

block_man

Block Man - A silly game, the first game ever made with Cute Framework
C++
9
star
14

randygaul.github.io

Ruby
6
star
15

GAM_150_SampleEngine

C
5
star
16

game_math_101

Materials for the blog post: Game Math 101, Writing your Own Math in C++
C
5
star
17

d3d9-Render-to-Texture

Example of Rendering to Texture via D3D9
C++
5
star
18

cute_pong

Pongish written in C++ with Cute Framework
C++
5
star
19

cf_net_test

Messing around with and testing client/server networking from Cute Framework
C++
4
star
20

GAM150Slides

GAM 150 Lecture Slides by Randy Gaul
3
star
21

pook

C
3
star
22

MetaData_Part5_Serialization

C++
3
star
23

cute_jam_2018

C
2
star
24

oop

Example of oop vs non-oop C++
C++
2
star
25

MetaData_Part4_Variant

C++
1
star
26

SimpleLuaBind

C
1
star
27

cute_framework_project_template

Copy + pastable CMake project template for Cute Framework
CMake
1
star
28

Scripting

Simple proof of concept for a domain specific language in C
C
1
star