Stacking Rooms for Z Layer Debugging
?
?

Keyboard Navigation

Global Keys

[, < / ], > Jump to previous / next episode
W, K, P / S, J, N Jump to previous / next marker
t / T Toggle theatre / SUPERtheatre mode
V Revert filter to original state Y Select link (requires manual Ctrl-c)

Menu toggling

q Quotes r References f Filter y Link c Credits

In-Menu Movement

a
w
s
d
h j k l


Quotes and References Menus

Enter Jump to timecode

Quotes, References and Credits Menus

o Open URL (in new tab)

Filter Menu

x, Space Toggle category and focus next
X, ShiftSpace Toggle category and focus previous
v Invert topics / media as per focus

Filter and Link Menus

z Toggle filter / linking mode

Credits Menu

Enter Open URL (in new tab)
0:11On determining which systems impact many other systems, and solidifying them early on
0:11On determining which systems impact many other systems, and solidifying them early on
0:11On determining which systems impact many other systems, and solidifying them early on
2:45What Mike Acton had to say about the potential costliness of some game design decisions1
2:45What Mike Acton had to say about the potential costliness of some game design decisions1
2:45What Mike Acton had to say about the potential costliness of some game design decisions1
7:43Recap our current situation and set the stage for solidifying Z
7:43Recap our current situation and set the stage for solidifying Z
7:43Recap our current situation and set the stage for solidifying Z
9:54handmade_world_mode.cpp: Make AddStandardRoom generate some stairs
9:54handmade_world_mode.cpp: Make AddStandardRoom generate some stairs
9:54handmade_world_mode.cpp: Make AddStandardRoom generate some stairs
15:59Run the game and traverse the offset stairs
15:59Run the game and traverse the offset stairs
15:59Run the game and traverse the offset stairs
16:31handmade_world_mode.cpp: Make PlayWorld generate more layers of rooms
16:31handmade_world_mode.cpp: Make PlayWorld generate more layers of rooms
16:31handmade_world_mode.cpp: Make PlayWorld generate more layers of rooms
17:18Run the game and see the multiple layers
17:18Run the game and see the multiple layers
17:18Run the game and see the multiple layers
18:14handmade_world_mode.cpp: Expand the TraversablePoint rectangles to fill the tiles and give them outlines
18:14handmade_world_mode.cpp: Expand the TraversablePoint rectangles to fill the tiles and give them outlines
18:14handmade_world_mode.cpp: Expand the TraversablePoint rectangles to fill the tiles and give them outlines
22:30handmade_render_group.cpp: Make PushRect multiply the Color by GlobalAlpha
22:30handmade_render_group.cpp: Make PushRect multiply the Color by GlobalAlpha
22:30handmade_render_group.cpp: Make PushRect multiply the Color by GlobalAlpha
22:51Run the game and see that we're already in pretty good shape, but need to more clearly specify Z
22:51Run the game and see that we're already in pretty good shape, but need to more clearly specify Z
22:51Run the game and see that we're already in pretty good shape, but need to more clearly specify Z
24:42handmade_world_mode.cpp: Make AddStandardRoom generate a hole in the ground
24:42handmade_world_mode.cpp: Make AddStandardRoom generate a hole in the ground
24:42handmade_world_mode.cpp: Make AddStandardRoom generate a hole in the ground
29:15Run the game and look down through the hole
29:15Run the game and look down through the hole
29:15Run the game and look down through the hole
30:01The snake just went up the stairsα
30:01The snake just went up the stairsα
30:01The snake just went up the stairsα
30:24handmade_world_mode.cpp: Make UpdateAndRenderWorld draw the tiles green
30:24handmade_world_mode.cpp: Make UpdateAndRenderWorld draw the tiles green
30:24handmade_world_mode.cpp: Make UpdateAndRenderWorld draw the tiles green
31:37Run the game and consider the problem with drawing down so far
31:37Run the game and consider the problem with drawing down so far
31:37Run the game and consider the problem with drawing down so far
33:28handmade_world_mode.cpp: Make UpdateAndRenderWorld expand FadeBottomStartZ and FadeBottomEndZ
33:28handmade_world_mode.cpp: Make UpdateAndRenderWorld expand FadeBottomStartZ and FadeBottomEndZ
33:28handmade_world_mode.cpp: Make UpdateAndRenderWorld expand FadeBottomStartZ and FadeBottomEndZ
34:21Profiler: Note that BeginSim and UpdateAndRenderWorld are slow
34:21Profiler: Note that BeginSim and UpdateAndRenderWorld are slow
34:21Profiler: Note that BeginSim and UpdateAndRenderWorld are slow
38:28build.bat: Switch to -O2 find that we're now running at 60 FPS
38:28build.bat: Switch to -O2 find that we're now running at 60 FPS
38:28build.bat: Switch to -O2 find that we're now running at 60 FPS
39:59Profiler: Switch to the software renderer
39:59Profiler: Switch to the software renderer
39:59Profiler: Switch to the software renderer
41:01win32_handmade.cpp: Add more BEGIN_BLOCK and END_BLOCK pairs in Win32DisplayBufferInWindow
41:01win32_handmade.cpp: Add more BEGIN_BLOCK and END_BLOCK pairs in Win32DisplayBufferInWindow
41:01win32_handmade.cpp: Add more BEGIN_BLOCK and END_BLOCK pairs in Win32DisplayBufferInWindow
43:24handmade_world_mode.cpp: Add more BEGIN_BLOCK and END_BLOCK pairs in UpdateAndRenderWorld
43:24handmade_world_mode.cpp: Add more BEGIN_BLOCK and END_BLOCK pairs in UpdateAndRenderWorld
43:24handmade_world_mode.cpp: Add more BEGIN_BLOCK and END_BLOCK pairs in UpdateAndRenderWorld
44:12Run the game, view those timings and find that brains are not taking much time
44:12Run the game, view those timings and find that brains are not taking much time
44:12Run the game, view those timings and find that brains are not taking much time
45:04handmade_debug.cpp: Make DrawTopClocksList calculate and display a cumulative percentage
45:04handmade_debug.cpp: Make DrawTopClocksList calculate and display a cumulative percentage
45:04handmade_debug.cpp: Make DrawTopClocksList calculate and display a cumulative percentage
47:39handmade_debug.cpp: Make DrawTopClocksList call AddTooltip to draw this percentage
47:39handmade_debug.cpp: Make DrawTopClocksList call AddTooltip to draw this percentage
47:39handmade_debug.cpp: Make DrawTopClocksList call AddTooltip to draw this percentage
52:06Debugger: Step into DrawTopClocksList and find and investigate why our TextRect is not valid
52:06Debugger: Step into DrawTopClocksList and find and investigate why our TextRect is not valid
52:06Debugger: Step into DrawTopClocksList and find and investigate why our TextRect is not valid
54:56handmade_debug.cpp: Make DrawTopClocksList set TextRect off GetTextSize
54:56handmade_debug.cpp: Make DrawTopClocksList set TextRect off GetTextSize
54:56handmade_debug.cpp: Make DrawTopClocksList set TextRect off GetTextSize
55:59handmade_debug_ui.cpp: Introduce a version of GetTextSize that takes a v2 At
55:59handmade_debug_ui.cpp: Introduce a version of GetTextSize that takes a v2 At
55:59handmade_debug_ui.cpp: Introduce a version of GetTextSize that takes a v2 At
56:39handmade_debug_ui.cpp: Make AddTooltip draw a background
56:39handmade_debug_ui.cpp: Make AddTooltip draw a background
56:39handmade_debug_ui.cpp: Make AddTooltip draw a background
58:40handmade_debug.cpp: Make ToolTipTransform appear above everything
58:40handmade_debug.cpp: Make ToolTipTransform appear above everything
58:40handmade_debug.cpp: Make ToolTipTransform appear above everything
1:00:28Run the game and view our tooltip
1:00:28Run the game and view our tooltip
1:00:28Run the game and view our tooltip
1:02:48handmade_sim_region.cpp: Add a TIMED_BLOCK for SimUnpack in BeginSim
1:02:48handmade_sim_region.cpp: Add a TIMED_BLOCK for SimUnpack in BeginSim
1:02:48handmade_sim_region.cpp: Add a TIMED_BLOCK for SimUnpack in BeginSim
1:03:17handmade_sim_region.cpp: Make the PushArray calls in BeginSim do NoClear, and check that all of the necessary data is initialised
1:03:17handmade_sim_region.cpp: Make the PushArray calls in BeginSim do NoClear, and check that all of the necessary data is initialised
1:03:17handmade_sim_region.cpp: Make the PushArray calls in BeginSim do NoClear, and check that all of the necessary data is initialised
1:05:42Profiler: Find that BeginSim no longer takes so much time
1:05:42Profiler: Find that BeginSim no longer takes so much time
1:05:42Profiler: Find that BeginSim no longer takes so much time
1:06:52handmade_world_mode.cpp: Add BEGIN_BLOCK and END_BLOCK pairs for EntityRendering and EntityPhysics in UpdateAndRenderWorld
1:06:52handmade_world_mode.cpp: Add BEGIN_BLOCK and END_BLOCK pairs for EntityRendering and EntityPhysics in UpdateAndRenderWorld
1:06:52handmade_world_mode.cpp: Add BEGIN_BLOCK and END_BLOCK pairs for EntityRendering and EntityPhysics in UpdateAndRenderWorld
1:08:18Profiler: Find that EntityRendering is taking up the lion's share of the time
1:08:18Profiler: Find that EntityRendering is taking up the lion's share of the time
1:08:18Profiler: Find that EntityRendering is taking up the lion's share of the time
1:11:07handmade_world_mode.cpp: Move the EntityRendering block down to look only at the Piece list
1:11:07handmade_world_mode.cpp: Move the EntityRendering block down to look only at the Piece list
1:11:07handmade_world_mode.cpp: Move the EntityRendering block down to look only at the Piece list
1:11:36handmade_world_mode.cpp: Add BEGIN_BLOCK and END_BLOCK pairs for CollisionRendering, VectorClear, and HitpointRendering in UpdateAndRenderWorld
1:11:36handmade_world_mode.cpp: Add BEGIN_BLOCK and END_BLOCK pairs for CollisionRendering, VectorClear, and HitpointRendering in UpdateAndRenderWorld
1:11:36handmade_world_mode.cpp: Add BEGIN_BLOCK and END_BLOCK pairs for CollisionRendering, VectorClear, and HitpointRendering in UpdateAndRenderWorld
1:12:33Profiler: Find that CollisionRendering is the hog
1:12:33Profiler: Find that CollisionRendering is the hog
1:12:33Profiler: Find that CollisionRendering is the hog
1:12:47handmade_world_mode.cpp: Add BEGIN_BLOCK and END_BLOCK pairs for VolumeRendering and TraversableRendering in UpdateAndRenderWorld
1:12:47handmade_world_mode.cpp: Add BEGIN_BLOCK and END_BLOCK pairs for VolumeRendering and TraversableRendering in UpdateAndRenderWorld
1:12:47handmade_world_mode.cpp: Add BEGIN_BLOCK and END_BLOCK pairs for VolumeRendering and TraversableRendering in UpdateAndRenderWorld
1:13:34Profiler: Find that TraversableRendering is the most expensive
1:13:34Profiler: Find that TraversableRendering is the most expensive
1:13:34Profiler: Find that TraversableRendering is the most expensive
1:14:33handmade_world_mode.cpp: #if 0 the PushRectOutline calls for the traversables
1:14:33handmade_world_mode.cpp: #if 0 the PushRectOutline calls for the traversables
1:14:33handmade_world_mode.cpp: #if 0 the PushRectOutline calls for the traversables
1:15:35Consider turning on the optimiser just for these traversable drawing routines or blowing out the PushRect functions to be more explicit
1:15:35Consider turning on the optimiser just for these traversable drawing routines or blowing out the PushRect functions to be more explicit
1:15:35Consider turning on the optimiser just for these traversable drawing routines or blowing out the PushRect functions to be more explicit
1:16:19Q&A
🗩
1:16:19Q&A
🗩
1:16:19Q&A
🗩
1:17:21Casey Muratori: insobot Do you have a question for me?
1:17:21Casey Muratori: insobot Do you have a question for me?
1:17:21Casey Muratori: insobot Do you have a question for me?
1:17:28insobot cmuratori: Duuuuude
🗪
1:17:28insobot cmuratori: Duuuuude
🗪
1:17:28insobot cmuratori: Duuuuude
🗪
1:17:34serge_rgb How much longer does it take to build Handmade Hero with release optimizations?
🗪
1:17:34serge_rgb How much longer does it take to build Handmade Hero with release optimizations?
🗪
1:17:34serge_rgb How much longer does it take to build Handmade Hero with release optimizations?
🗪
1:18:24Debugger: Demo the insufficiency of MSVC's debug information in optimised builds
1:18:24Debugger: Demo the insufficiency of MSVC's debug information in optimised builds
1:18:24Debugger: Demo the insufficiency of MSVC's debug information in optimised builds
1:22:59cubercaleb The switch is -Zo
🗪
1:22:59cubercaleb The switch is -Zo
🗪
1:22:59cubercaleb The switch is -Zo
🗪
1:23:46themarsalla I missed the optimization due to buffering but I caught some stuff about the clear being bloated, but didn't catch what the fix was?
🗪
1:23:46themarsalla I missed the optimization due to buffering but I caught some stuff about the clear being bloated, but didn't catch what the fix was?
🗪
1:23:46themarsalla I missed the optimization due to buffering but I caught some stuff about the clear being bloated, but didn't catch what the fix was?
🗪
1:24:13thesizik Far-away floors turning transparent don't look quite right since you can see through them
🗪
1:24:13thesizik Far-away floors turning transparent don't look quite right since you can see through them
🗪
1:24:13thesizik Far-away floors turning transparent don't look quite right since you can see through them
🗪
1:24:43longboolean When peering down the hole at the more transparent layers, you can see characters through those ground layers. My guess is you would want to mix with a "fog color" instead of just making the tiles transparent?
🗪
1:24:43longboolean When peering down the hole at the more transparent layers, you can see characters through those ground layers. My guess is you would want to mix with a "fog color" instead of just making the tiles transparent?
🗪
1:24:43longboolean When peering down the hole at the more transparent layers, you can see characters through those ground layers. My guess is you would want to mix with a "fog color" instead of just making the tiles transparent?
🗪
1:25:24elyasm Would LLVM work on Windows / Handmade Hero?
🗪
1:25:24elyasm Would LLVM work on Windows / Handmade Hero?
🗪
1:25:24elyasm Would LLVM work on Windows / Handmade Hero?
🗪
1:27:18dandymcgee What editor is most similar to 4coder, and how long did it take to pick it up?
🗪
1:27:18dandymcgee What editor is most similar to 4coder, and how long did it take to pick it up?
🗪
1:27:18dandymcgee What editor is most similar to 4coder, and how long did it take to pick it up?
🗪
1:28:22wellingguzman Having many levels of rooms and having entities in each level actively executing, wouldn't that be heavy / expensive? Or have you think in a performance solution or a level limitation?
🗪
1:28:22wellingguzman Having many levels of rooms and having entities in each level actively executing, wouldn't that be heavy / expensive? Or have you think in a performance solution or a level limitation?
🗪
1:28:22wellingguzman Having many levels of rooms and having entities in each level actively executing, wouldn't that be heavy / expensive? Or have you think in a performance solution or a level limitation?
🗪
1:29:17longboolean Is there a way to tell the compiler to optimize just a particular section of the code? If not, how would you work around that?
🗪
1:29:17longboolean Is there a way to tell the compiler to optimize just a particular section of the code? If not, how would you work around that?
🗪
1:29:17longboolean Is there a way to tell the compiler to optimize just a particular section of the code? If not, how would you work around that?
🗪
1:31:07cubercaleb Clang++ is worse. Honestly, why can't the PDB just say "Hey, you are at this instruction? Okay, the value is in this register / address or whatever"?
🗪
1:31:07cubercaleb Clang++ is worse. Honestly, why can't the PDB just say "Hey, you are at this instruction? Okay, the value is in this register / address or whatever"?
🗪
1:31:07cubercaleb Clang++ is worse. Honestly, why can't the PDB just say "Hey, you are at this instruction? Okay, the value is in this register / address or whatever"?
🗪
1:33:46Wind it down
🗩
1:33:46Wind it down
🗩
1:33:46Wind it down
🗩