Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sandbox: Condensed renderUI + fellow subsections #319

Open
wants to merge 76 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
59c4ecf
make render_m_showTextures
tcoyvwac Dec 16, 2022
172837c
added helper lambda print_text
tcoyvwac Dec 16, 2022
2aa65bb
added helper lambda: print_text
tcoyvwac Dec 16, 2022
36229ee
added delta split choice array
tcoyvwac Dec 17, 2022
4dab771
added std::accumulate over nTotalArray
tcoyvwac Dec 17, 2022
2c6d079
make helpful local-scope lambdas into free-functions
tcoyvwac Dec 17, 2022
3c172d2
added vtable_kv_t
tcoyvwac Dec 17, 2022
625fcf5
added process_render_passes
tcoyvwac Dec 18, 2022
cf8a01b
added metatable
tcoyvwac Dec 18, 2022
1ea6982
strongtyped vtable_kv_t
tcoyvwac Dec 18, 2022
790816b
strongtyped kv_prompt
tcoyvwac Dec 18, 2022
ab81b3e
moved metadata, overlay_m_showTextures declaration to better place
tcoyvwac Dec 18, 2022
58e7538
moved render_ui_t to renderable_objects namespace
tcoyvwac Dec 18, 2022
0ea1d6d
rename struct-name to: overlay_fn_args_t
tcoyvwac Dec 18, 2022
7f337fb
rename struct-name to: help_prompt_t
tcoyvwac Dec 18, 2022
0956066
rename struct-name to: num_of_passes_t
tcoyvwac Dec 18, 2022
4658d4f
rename typename to: render_pass_args_t
tcoyvwac Dec 18, 2022
b8eff21
added namespace: overlay_actions
tcoyvwac Dec 18, 2022
06d2029
added label for: end-of-anon-namespace, renderable_objects
tcoyvwac Dec 18, 2022
c2e4ba2
added set_common_text_attributes
tcoyvwac Dec 18, 2022
2eea67c
make num_of_passes_t ordering match vtable_render_pass_t
tcoyvwac Dec 18, 2022
9123cdc
removed unneeded whitespacing
tcoyvwac Dec 18, 2022
ba88a7a
align table data
tcoyvwac Dec 18, 2022
88569e8
prefer glm::vec2 datatype for: step
tcoyvwac Dec 18, 2022
59f895b
prefer glm::vec2 datatype for: offset
tcoyvwac Dec 18, 2022
ece6cc5
prefer glm::vec2 datatype for: pos
tcoyvwac Dec 18, 2022
e8bfb5a
condense initialisation of render_ui_t: w, h
tcoyvwac Dec 18, 2022
97397da
condense initialisation of render_ui_t: pos
tcoyvwac Dec 18, 2022
85e5dea
condense initialisation of render_ui_t: step
tcoyvwac Dec 19, 2022
005986f
condense initialisation of render_ui_t: offset
tcoyvwac Dec 19, 2022
09c6d70
prefer glm::vec2 datatype for: {w,h}
tcoyvwac Dec 19, 2022
a8c1f6b
added overlay_black_box
tcoyvwac Dec 19, 2022
a2215c2
simplify mathematical equations
tcoyvwac Dec 20, 2022
4502b03
convert to use print_text
tcoyvwac Dec 21, 2022
7d7317d
refactor overlay_m_showTextures
tcoyvwac Dec 22, 2022
6b2435e
renamed lolo to uio
tcoyvwac Dec 23, 2022
7d43364
renamed muu to "o"
tcoyvwac Dec 23, 2022
d27b082
removed unneeded whitespace
tcoyvwac Dec 23, 2022
56622d8
simplify do_pass_lightmap for-loop
tcoyvwac Dec 23, 2022
34770a5
remove unneeded whitespace
tcoyvwac Dec 23, 2022
34c2719
rename abc to "current"
tcoyvwac Dec 23, 2022
908f6c9
renamed local lambda to print_help_prompt
tcoyvwac Dec 23, 2022
973599f
renamed lala to fbo
tcoyvwac Dec 23, 2022
1f2dd65
renamed lala to overlay_table
tcoyvwac Dec 23, 2022
fd03992
prefer ranged-for-loop over iterators
tcoyvwac Dec 24, 2022
8c2a4c7
shorthand datatype to reduce codesize
tcoyvwac Dec 24, 2022
377080e
const-harden some variables
tcoyvwac Dec 25, 2022
e0e220d
prefer "return on false"
tcoyvwac Dec 25, 2022
0e9eada
removed unneeded whitespace
tcoyvwac Dec 25, 2022
614e3d2
prefer std::vector::empty
tcoyvwac Dec 25, 2022
767a04a
promote int to size_t
tcoyvwac Dec 25, 2022
f659ce4
convert datatype{}* to const auto (compiler type deduction)
tcoyvwac Dec 25, 2022
dac5f29
convert datatype{} to [const] auto - (compiler type deduction)
tcoyvwac Dec 25, 2022
8e39acc
rename local variable to: lightmap
tcoyvwac Dec 25, 2022
99c1f00
renamed dispatch-table to: render_pass_table
tcoyvwac Dec 25, 2022
c39581d
function renamed to: overlay_plot_data
tcoyvwac Dec 25, 2022
1dafe26
function renamed to: overlay_show_buffer_passes
tcoyvwac Dec 25, 2022
eeb9f28
function renamed to: overlay_show_textures
tcoyvwac Dec 25, 2022
fc8f4a4
prefer const auto for: overlay_table
tcoyvwac Dec 25, 2022
dd4c0af
prefer if-statements over dispatch table
tcoyvwac Dec 28, 2022
99bd88e
prefer customised parameters for: overlay_show_textures
tcoyvwac Dec 28, 2022
7b834fd
prefer customised parameters for: overlay_show_buffer_passes
tcoyvwac Dec 28, 2022
b6612c1
prefer customised parameters for: overlay_plot_data
tcoyvwac Dec 28, 2022
a3283cf
prefer customised parameters for: overlay_cursor
tcoyvwac Dec 28, 2022
9de7ff4
prefer customised parameters for: overlay_prompt_drag_and_drop
tcoyvwac Dec 28, 2022
a887b79
prefer customised parameters for: overlay_prompt_help
tcoyvwac Dec 28, 2022
62042c3
removed overlay_fn_args_t
tcoyvwac Dec 28, 2022
fe2d147
prefer direct function calls over dispatch table
tcoyvwac Dec 28, 2022
146fc6a
prefer customised paramters: do_pass_singlebuffer
tcoyvwac Dec 28, 2022
9a1b5a7
prefer customised parameters: do_pass_doublebuffers
tcoyvwac Dec 28, 2022
41fcff5
prefer customised parameters: do_pass_pyramid
tcoyvwac Dec 28, 2022
a03fae3
prefer customised parameters: do_pass_lightmap
tcoyvwac Dec 28, 2022
b373aed
prefer customised parameters: do_pass_scene
tcoyvwac Dec 28, 2022
6232d7a
prefer customised parameters: do_pass_scenebuffer
tcoyvwac Dec 28, 2022
1377ce9
prefer customised parameters: do_pass_scenedepth
tcoyvwac Dec 28, 2022
8d1d75c
removed: render_pass_args_t
tcoyvwac Dec 28, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading