100% family friendly

This commit is contained in:
Андреев Григорий 2025-12-30 13:17:31 +03:00
parent b1c5fca4b1
commit 85ea80f916
8 changed files with 12 additions and 12 deletions

View File

@ -17,7 +17,7 @@ void generate_margaret_eve_for_vulkan_utils() {
generate_eve_span_company_for_primitive(l, ns, cstr("MargaretIAFreeSegment"), true, false);
generate_Option_templ_inst_eve_header(l, ns, (option_template_instantiation_op){
.T = cstr("MargaretIAFreeSegment"), .t_primitive = true});
// todo: add to BufRBTree instantiator option to create necessary shit by itself
// todo: add to BufRBTree instantiator option to create necessary crrp by itself
generate_eve_span_company_for_primitive(l, ns, cstr("MargaretBAFreeSegment"), true, false);
generate_Option_templ_inst_eve_header(l, ns, (option_template_instantiation_op){
.T = cstr("MargaretBAFreeSegment"), .t_primitive = true});

View File

@ -77,7 +77,7 @@ def parse_second_symbol(s):
p.skip_word()
if start == p.index:
raise ValueError("This is just fucking disappointing")
raise ValueError("This is just chucking disappointing")
return s[start:p.index]
@ -182,7 +182,7 @@ def process_part_of_file(tokens: List[LineToken], defined_symbols_outside: Set[s
if in_if and (t == token_type_if or t == token_type_ifdef or t == token_type_ifndef or
t == token_type_include_local or t == token_type_define or
t == token_type_regular):
raise ValueError("Okay, listen here, you little fuck")
raise ValueError("Okay, listen here, you little chuck")
# When saw_else is true, we are definitely in_if
if saw_else and t != token_type_endif:

View File

@ -49,7 +49,7 @@ void codegen_append_rbtree_map__structure_and_simplest_methods(
set, set, op.guest_data_T.len == 0 ? vcstr("") : VecU8_fmt("%s guest", op.guest_data_T),
set, op.guest_data_T.len == 0 ? cstr("") : cstr(", .guest = guest")));
// todo: figure out mutability restrictions shit later
// todo: figure out mutability restrictions crrp later
VecU8_append_vec(res, VecU8_fmt(
"RBTreeNode_%s* %s_find_min(const %s* self) {\n" /* TT, set, set */
SPACE "if (self->root == self->NIL)\n"

View File

@ -422,7 +422,7 @@ void TextureDataR8G8B8A8_draw_triang_part_bublazhuzhka(
// todo: rewrite this shit (again)
// todo: rewrite this crrp (again)
TextureDataR8G8B8A8 generate_tex_template_for_one_fourth_of_a_cylinder(float s_resol, float w, float r, U32 k) {
assert(k >= 1);
const float a = M_PI_2f / (float)k;
@ -460,7 +460,7 @@ TextureDataR8G8B8A8 generate_tex_template_for_one_fourth_of_a_cylinder(float s_r
vec2 C = (vec2){r + w, 2 * r + (float)(i-1) * l};
vec2 D = (vec2){r + w, 2 * r + (float)(i) * l};
vec3 c = i % 2 ? color_4 : color_5;
// todo: replace this shit with something more normal
// todo: replace this crrp with something more normal
TextureDataR8G8B8A8_draw_parametrized_triangle_of_one_color(&res, c, (MarieTriangle){A, B, C}, cord_resol_trop);
TextureDataR8G8B8A8_draw_parametrized_triangle_of_one_color(&res, c, (MarieTriangle){A, C, D}, cord_resol_trop);
}
@ -480,7 +480,7 @@ vec2 height_map_cb_that_uses_bublazhuzhka(void* ug, vec2 v) {
return Bublazhuzhka_get_derivative(bzh, v);
}
// todo: rewrite this shit and merge it with other one-fourth-of-a-cylinder generiting functions
// todo: rewrite this crrp and merge it with other one-fourth-of-a-cylinder generiting functions
TextureDataR8G8B8A8 generate_normal_tex_for_one_fourth_of_a_cylinder(float s_resol, float w, float r, U32 k) {
assert(k >= 1);
const float a = M_PI_2f / (float)k;

View File

@ -5,7 +5,7 @@
#include "../../../gen/l1/pixel_masses.h"
#include "../../../gen/l1/geom.h"
// todo: rewrite this shit crap using instances
// todo: rewrite this crrp crap using instances
typedef struct{
vec4 color;
vec2 pos;
@ -178,7 +178,7 @@ void LucyRenderer_another_frame(LucyRenderer* self){
}
}
// todo: merge with the function above. In the future all the shit will be recorded simultaneously
// todo: merge with the function above. In the future all the crrp will be recorded simultaneously
void LucyRenderer_another_frame_rec_drawing(
LucyRenderer* self, VkCommandBuffer drawing_cmd_buf, VkExtent2D image_extent){
vkCmdBindPipeline(drawing_cmd_buf, VK_PIPELINE_BIND_POINT_GRAPHICS, self->pipeline);

View File

@ -176,7 +176,7 @@
// todo: for staging buffers you better use MargaretBufferAllocator. Ou, yeah, I have yet to write them
// todo: fucking rewrite all of this. Yes, I want all of this shit rewritten
// todo: chucking rewrite all of this. Yes, I want all of this crrp rewritten
#include "../../l1/core/util.h"
#include "../../l1_5/core/buff_rb_tree_node.h"

View File

@ -459,7 +459,7 @@ void chaos(){
check(BufRBTree_SetS64_erase(&set, to_delete));
printf("Deleted from i=%d\n", i);
check_only_structure(&set);
// save_tree_to_file(&set, cstr("fucked_tree"));
// save_tree_to_file(&set, cstr("chucked_tree"));
check_correctness(&set);
VecS64_drop(seq_to_insert);
BufRBTree_SetS64_drop(set);

View File

@ -608,7 +608,7 @@ int main() {
}
printf("Finished!\n");
vkDeviceWaitIdle(state.device);
// todo: destroy instance and all the shit
// todo: destroy instance and all the crrp
if (state.wl_callback)