Commit Graph
405 Commits
Author SHA1 Message Date
Jonas Volman df8ade35e0 Match data_dispose 2026-07-14 12:41:01 -07:00
Jonas Volman 90e164a12d Match data_make_valid 2026-07-14 12:41:01 -07:00
Jonas Volman 855c0b3300 Match data_make_invalid 2026-07-14 12:41:01 -07:00
Jonas Volman 7767af885b Match memory_pool_new 2026-07-14 12:40:47 -07:00
Jonas Volman c605bb4329 Match memory_pool_initialize 2026-07-14 12:34:45 -07:00
Jonas Volman fca3e1fbf0 Match memory_pool_allocation_size 2026-07-14 12:33:38 -07:00
Jonas Volman c8d74cdeee Match shader_type_is_transparent 2026-07-14 12:30:12 -07:00
Jonas Volman aea00b21cd Match data_allocation_size 2026-07-14 12:27:46 -07:00
Berthalamew 37e96a1c2f ai_debug work (#37) 2026-07-13 14:34:27 +01:00
Berthalamew 4cb1519b3b objects work (#36)
* match attachments_new

* objects_garbage_collection work
2026-07-11 17:46:57 +01:00
Berthalamew 369b71e72e breakable surface work (#35)
- work on breakable surface functions
- fix `magnitude3d`
2026-07-02 00:31:52 +01:00
Berthalamew bc6663de55 unit additions (#34)
- add unit functions and associated dependencies
2026-07-01 00:15:19 +01:00
Berthalamew 7184e7842c real math changes (#33) 2026-06-28 21:35:08 +01:00
ficool2 28e4bc7ea9 real_math formatting + prototypes (#31) 2026-06-28 17:01:46 +01:00
ficool2 ef3598db78 real_math work (#30) 2026-06-28 16:42:23 +01:00
LWSSandpunpckhdq 95e6477328 work on breakable_surfaces.c (#28)
* work on breakable_surfaces.c

* squashme asdf

* word

* more

* Correctness changes

Move types definitions to where we know they are, fix includes and formatting, fix bad defines

* Missed this include

* Scoped if

* More

* MAXIMUM_NUMBER_OF_MATERIAL_TYPES

* Enum correctness

---------

Co-authored-by: punpckhdq <121350336+punpckhdq@users.noreply.github.com>
2026-06-17 13:53:13 +01:00
Berthalamew 11507e901f match object_export_function_values and attachments_delete (#27) 2026-06-16 14:49:20 +01:00
punpckhdq fb0d814535 Declare .comm data in TUs instead of headers (#26)
* Declare .comm data in TUs instead of headers

* Update files.h

* Include
2026-06-16 12:49:22 +01:00
Berthalamew 7b5b1f67f4 object_compute_node_matrices_work (#23)
* object_compute_node_matrices work

88.71% match

* main changes

* add misc definitions

* name private function

* requested changes
2026-06-08 21:55:40 +01:00
punpckhdq 17fd319331 Mark collision_models.c as matching 2026-06-08 20:31:29 +01:00
punpckhdq 0d777b353b Forgot 2026-06-08 19:04:52 +01:00
LWSSandpunpckhdq 46e84baeb0 match functions in collision_models.c (#25)
* match functions in collision_models.c

* squashme

* Correctness

* Rename _bss_0045dfe8 to _collision_model_test_vector_time

* Oops

---------

Co-authored-by: punpckhdq <121350336+punpckhdq@users.noreply.github.com>
2026-06-08 19:03:41 +01:00
Berthalamew 94213411df match render_frame_pregame (#24) 2026-06-08 16:44:26 +01:00
punpckhdq ec5ba406cf Forgot struct render_fog 2026-06-08 16:31:21 +01:00
punpckhdq a40783e4f5 render_frame_pregame: 99%
`progress` doesn't exist on the stack by itself. mystery inlined and deduped static function?
2026-06-08 16:27:33 +01:00
Berthalamew 99b7671f1d match infblock object (#22)
- include cseries so we put the cseries helper functions in zlib code
2026-06-08 16:25:36 +01:00
punpckhdq 225b752fa0 Match render_location_visible 2026-06-08 14:43:57 +01:00
punpckhdq 0901171547 Some render.c 2026-06-08 14:25:24 +01:00
punpckhdq 2859871fac Match object_lists_initialize 2026-06-08 14:03:56 +01:00
punpckhdq fe1951ea7e object_list_get_first: 93% 2026-06-08 14:00:01 +01:00
punpckhdq aa07ee71f5 Update .editorconfig
Use space around assignment operator (we can actually enforce this now)
2026-06-08 02:47:21 +01:00
punpckhdq cce8ecb1f2 Use space before equals (#21) 2026-06-08 02:44:47 +01:00
Berthalamew 52a0dc4c28 add tag definitions and misc function prototypes (#19)
* misc changes

- add function prototypes and change types
- add profile_initialize

* add tag definitions and prototypes

- real math changes
2026-05-05 18:56:06 +01:00
punpckhdq fe00b030a3 Forgot enum 2026-03-12 18:17:18 +00:00
punpckhdq bc68b04094 shaders.c numeric_countdown 2026-03-12 18:14:54 +00:00
Berthalamew 7f38d9e94f add rasterizer light globals (#18)
* add rasterizer light globals

* add profile globals

* requested changes
2026-02-17 17:02:17 +00:00
Berthalamewandpunpckhdq eb93ce635e wip objects.c work (#12)
* wip objects.c work

* objects_disconnect_from_structure_bsp

* match more functions

* more objects work

* objects_update work

- 93.42% matching

* match matrix4x3_transform_point

* more objects work

- fix duplicate symbol name at 1870800

* match object_choose_random_change_colors

* match object_update

* objects_garbage_collection work

* match object_set_position

* more object work

* match objects_update

* more object work

* match object_select_random_region_permutations_by_variant

* objects_in_sphere work

99.90% match

* object name list calls

* match objects_in_sphere

* misc matches

* match structure_bsp_definitions object

* match objects_in_clusters_by_indices

* more object work

* match `edit_text_handle_key`

* mark edit_text as matching

* misc changes

- match get_next_character
- match data section in objects.c

* object_export_function_values work

* match object_compute_function_values

* match object_get_orientation

* added functions and adjust formatting

* fix profile macros

* formatting changes

* more formatting

* more formatting

---------

Co-authored-by: punpckhdq <121350336+punpckhdq@users.noreply.github.com>
2026-02-15 01:05:45 +00:00
Haydn Triggandpunpckhdq 10bcbbce16 various cseries functions (#17)
* various cseries functions

* Match most of cseries

Formatting and correctness

* csstrlen returns unsigned long

---------

Co-authored-by: punpckhdq <121350336+punpckhdq@users.noreply.github.com>
2026-01-23 20:30:53 +00:00
Haydn Triggandpunpckhdq 5a89849d4c stack_walk_windows various 100% (#15)
* stack_walk_windows various 100%

* Formatting and correctness

---------

Co-authored-by: punpckhdq <121350336+punpckhdq@users.noreply.github.com>
2026-01-17 23:49:46 +00:00
Haydn Trigg b90d8e357d stack_walk_initialize 100% (#14)
* stack_walk_initialize 100%

* Fixed up fuck_code_in_the_eye
2026-01-17 23:26:08 +00:00
punpckhdq a75bdd28be Missed formatting 2026-01-17 21:14:58 +00:00
Haydn Triggandpunpckhdq d39da89f38 console_complete 100% (#13)
* console_complete 100%

* Formatting

---------

Co-authored-by: punpckhdq <121350336+punpckhdq@users.noreply.github.com>
2026-01-17 20:56:14 +00:00
punpckhdq b2ca080a0d Match rasterizer_common.c
Squashed commit of the following:

commit 1371555bf55fcbefc978b03ea1d3387177328a9f
Author: punpckhdq <121350336+punpckhdq@users.noreply.github.com>
Date:   Sat Jan 10 20:02:26 2026 +0000

    rasterizer_common.c

commit 099ff89cdea70a1885f65f26a8d8f11fa6f767b7
Author: punpckhdq <121350336+punpckhdq@users.noreply.github.com>
Date:   Sat Jan 10 16:37:33 2026 +0000

    wip

commit 16d6bf32d048f4d71e07aafeccfa23a7ecad77be
Author: punpckhdq <121350336+punpckhdq@users.noreply.github.com>
Date:   Sat Jan 10 15:39:49 2026 +0000

    wip
2026-01-10 20:05:35 +00:00
First Lastandpunpckhdq 18c973a7d7 tag_groups.c (#10)
* tag_groups.c

* Formatting changes and correct types

* Oops

---------

Co-authored-by: punpckhdq <121350336+punpckhdq@users.noreply.github.com>
2026-01-10 16:23:15 +00:00
Berthalamew 7756519f3b add TAG_BLOCK_GET_ELEMENT macro (#9) 2026-01-09 20:13:14 +00:00
punpckhdq 64c8c06d95 Match rasterizer_memory_pool.c 2026-01-09 18:03:34 +00:00
punpckhdq 10b70b51d2 render_detail_objects.c
Super big deal
2026-01-08 21:43:04 +00:00
punpckhdq 9c62c7b288 Match function order in console.c 2026-01-06 23:53:50 +00:00
punpckhdq b90de087dc Mark symbols for console.c 2026-01-06 23:42:34 +00:00
Berthalamewandpunpckhdq 4817ee1995 console/terminal related work (#8)
* misc changes and additions

formatting changes and add structs/constants for terminal work

* match write_to_error_file and add error_global_data

* console work

* requested changes

* terminal work

100% match all terminal functions

* Formatting

---------

Co-authored-by: punpckhdq <121350336+punpckhdq@users.noreply.github.com>
2026-01-06 23:30:12 +00:00