Commit Graph

1799 Commits

Author SHA1 Message Date
unknown 3dc3739ebd
initial class structure for dComIfG_inf_c 2020-12-04 00:04:41 -05:00
unknown 7ec9d6ec28
Merge branch 'master' of https://github.com/zeldaret/tp 2020-12-03 21:04:06 -05:00
unknown 1c7bf89fff
begin adding d_com_inf_game, add include guards to headers 2020-12-03 21:03:25 -05:00
Jonathan Wase 4adfed901e
JSUList.h templates and JKRHeap matches (#13)
* JSULink, JSUList, JSUTree and more matching in JKRHeap

* Added JSUListIterator and decompiled JKRHeap::dispose_subroutine

* more templates and JKRHeap functions

* JKRDisposer!

* only 4 functions not OK in JKRHeap

* fixed: *this->getObject()

Co-authored-by: Pheenoh <pheenoh@gmail.com>
2020-12-03 21:02:41 -05:00
notyourav 294858f751
JSystem Font classes, SComponent cBgW (#14)
* c_bg_w.cpp OK

* JUTFont and JUTResFont partially implemented

Co-authored-by: notyouraveragehooman <65437533+notyouraveragehooman@users.noreply.github.com>
Co-authored-by: Pheenoh <pheenoh@gmail.com>
2020-12-03 20:58:53 -05:00
TakaRikka e27ed1c55d
add gameinfo class / rename unk vars in d_save (#15) 2020-12-03 20:56:56 -05:00
TakaRikka 8703f1315e
d_a_horse_static (#12)
* d_a_item_static ok

* d_a_horse_static ok

* typo

Co-authored-by: Pheenoh <pheenoh@gmail.com>
2020-12-02 22:38:32 -05:00
jdflyer 539608859b
Start Z2SceneMgr and Various Fixes (#11)
* Start Z2SceneMgr

* Various Fixes After Merge

Co-authored-by: Pheenoh <pheenoh@gmail.com>
2020-12-02 20:35:32 -05:00
TakaRikka 6e9b833ef7
d_a_item_static ok (#10)
Co-authored-by: Pheenoh <pheenoh@gmail.com>
2020-12-02 20:33:22 -05:00
notyourav 31817ac993
canonize d_save.h (#9)
Co-authored-by: notyouraveragehooman <65437533+notyouraveragehooman@users.noreply.github.com>
Co-authored-by: Pheenoh <pheenoh@gmail.com>
2020-12-02 19:03:31 -05:00
TakaRikka 84c6fa1a58
Z2CreatureLink / Z2Calc (#8)
* begin Z2LinkMgr

Z2CreatureLink::setLinkGroupInfo, Z2CreatureLink::setLinkHp ok

* split Z2CreatureLink

* split Z2Calc

* fix label data type / clean up

* fix getRandom_0_1 instruction

* fix

* clean up
2020-12-01 22:34:15 -05:00
unknown 91fc5f6f53
Merge branch 'master' of https://github.com/zeldaret/tp 2020-12-01 19:04:35 -05:00
unknown 1ded84de46
rm old asm 2020-12-01 19:04:20 -05:00
Jonathan Wase ac6b191dc1
Improved handling of virtual inheritance. (#7)
* new system for handling vtables

* commented out non-matching JKRDisposer::~JKDisposer()

* removed artificial vtables and matched simple virtual-call functions

* better text on nonmatching functions

* reverted asmdiff.sh

* attempt 2

* Spelling

* banner and .gitignore for vtable artifacts

* move virtual function to the correct class

* remove unnecessary casts
2020-12-01 15:18:01 -05:00
Jasper St. Pierre 937da3c59b
SComponent c_list / c_node (#5)
* SComponent c_list / c_node

* SComponent: c_tree

* SComponent: start c_phase

* SComponent: c_tag

* SComponent: c_counter

* f_pc_line / f_pc_line_tag

the beginnings of the framework process system

* f_pc_method_tag

* SComponent: c_node_iter / c_list_iter / c_tag_iter / c_tree_iter

* f_pc_draw_priority

* f_pc_method_iter

* f_pc_profile

Also add (untested) base header classes for f_pc_base

* f_pc_searcher

* f_pc_create_tag

* f_pc_creator

* f_pc_layer skeleton

* f_pc_method

* f_pc_line_iter

* f_pc_leaf somewhat

* f_pc_delete_tag

* f_pc_create_req

* Fix a few non-matchings

* c_phase: slight additional notes

* c_node: more matching

* fix build

* c_node: One more matching

* f_pc_line_iter: Matching

* f_pc_create_req: a bit more

* f_pc_load, f_pc_deletor partial

* f_pc_executor partial

* f: minor cleanups

* f_pc_executor

Co-authored-by: Pheenoh <pheenoh@gmail.com>
2020-11-30 17:26:55 -05:00
Jonathan Wase 51b0260c80
JKRHeap functions (#6)
* becomeSystemHeap OK! becomeCurrentHeap OK!

* initArena OK!

* static-alloc OK! static-free OK! static-resize OK!

* operator new OK! operator delete OK!

* removed asm/d/file/sel/d_file_sel_info.o from obj_files.mk

* fixed vtable names
2020-11-30 17:24:05 -05:00
unknown 635472d71f
migrate all d_file_sel_info asm functions to inline 2020-11-29 23:26:19 -05:00
unknown 44b14ec128
migrate remaining d_save and m_Do_main asm to inline, add intial class mapping for dFile_select_c 2020-11-29 20:16:52 -05:00
unknown 58afa9ed78
add more sorting to inline'd asm for JSystem, move m_Do_main over to using newly defined JKRHeap and JKRExpHeap headers 2020-11-29 12:57:11 -05:00
unknown 92cfb378f3
Add better sorting for inline'd asm 2020-11-29 12:21:01 -05:00
unknown 27cc0f5aa8
move JK* JS* TUs into JSystem folder 2020-11-29 11:53:10 -05:00
Jonathan Wase 635fbc34ec
Adds JSUList, JKRDisposer, and JKRHeap. (#4)
* Added JSUList, JKRDisposer, and JKRHeap.

JSUList: Decompiled JSUPtrLink and JSUPtrList with their respected
functions. The templated class JSUList is left.

JKRDisposer: Constructor matched but the destructor is close but
not yet a match.

JKRHeap: No functions matches yet. JKRHeap.cpp now includes
"operator delete" which makes it possible to forward compile
destructors.

* moved files from src/ to libs/
2020-11-29 11:47:00 -05:00
unknown 68a46e15cb
begin d_save_HIO, some m_Do_main functions ok 2020-11-28 23:34:06 -05:00
unknown f861af3f37
a few dSv_info_c methods ok 2020-11-28 19:18:27 -05:00
unknown 9982bcab28
dSv_zoneActor_c ok dSv_zone_c ok dSv_restart_c ok dSv_turnRestart_c ok dSv_info_c::init ok some dSv_save_c ok 2020-11-27 23:34:39 -05:00
unknown 963c0ad2a6
dSv_zoneBit_c methods ok except 1 2020-11-27 21:32:52 -05:00
unknown d0e76b81b9
dSv_danBit_c ok + fixed many nonmatchings 2020-11-27 20:49:52 -05:00
unknown c1f0b47a93
dSv_memory_c::init ok, dSv_memory2_c::init ok, some dSv_event_c::offEventBit ok 2020-11-26 23:55:28 -05:00
unknown b0ffcd3878
some dSv_memBit_c methods ok 2020-11-26 22:02:39 -05:00
unknown 2761151f69
move SComponent and SStandard under SSystem, some dSv_player_config_c methods ok 2020-11-26 21:35:46 -05:00
unknown 363fd35933
dSv_player_config_c::init ok 2020-11-26 20:14:44 -05:00
unknown 2fceccbd08
dSv_light_drop_c ok 2020-11-23 21:26:10 -05:00
unknown d92f32f541
dSv_player_collect_c ok 2020-11-23 19:57:23 -05:00
unknown 8b358fdf8d
dSv_player_item_max_c::init ok dSv_player_item_max_c::setBombNum ok 2020-11-23 00:31:50 -05:00
unknown e956a55a26
dSv_player_item_record_c and dSv_player_get_item_c funcs ok 2020-11-22 20:17:49 -05:00
unknown 5111810104
multiple d_save functions ok 2020-11-22 18:21:23 -05:00
unknown 15ecc6ac7d
dSv_player_item_c::setEmptyBombBagItemIn ok 2020-11-22 16:07:42 -05:00
unknown 02c62c1132
migrate d_save.cpp inline asm to external files, migrate extern vars and funcs to their own headers 2020-11-22 15:27:16 -05:00
unknown cab605eec6
Merge branch 'master' of https://github.com/zeldaret/tp 2020-11-22 14:32:06 -05:00
unknown c31b914681
update d_save, begin splitting asm 2020-11-22 14:28:16 -05:00
unknown 6359c5f82b
Migrate many functions from d_save.s 2020-09-13 02:51:05 -04:00
Pheenoh 3acc2e012b
Sorting files, adding CI checks, update Makefile (#3)
* organize files, update makefile, add CI checks, begin adding d_save.cpp

* Add discord server link

* don't filter branches
2020-09-05 15:40:08 -04:00
unknown a545ed5837 don't filter branches 2020-09-05 15:35:42 -04:00
unknown 724638fa36 Add discord server link 2020-09-05 15:21:05 -04:00
unknown 6d5e5cb17c organize files, update makefile, add CI checks, begin adding d_save.cpp 2020-09-05 15:03:13 -04:00
notyouraveragehooman f61bfb39dd
split and named symbols in text.s (#2)
* split and named symbols in text.s

* Update makefile for better compatiblity
2020-09-01 20:26:31 -04:00
Pheenoh c72fc0c64a
Merge pull request #1 from Thar0/makefile-changes
Makefile changes: Remove objcopy hack and allow building with WSL
2020-08-29 23:20:04 -04:00
Thar0 1b91cd8d66 Allow building with wsl and remove objcopy hack with appropriate change to elf2dol 2020-08-30 01:16:07 +01:00
unknown c5e2415773 ok 2020-08-29 17:54:55 -04:00