Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-03-09 | TProtocol: Start work on `handle_command()`, and the command handlers | mrb0nk500 | |
Hopefully, we can make some good progress. Also, oof, I didn't realize that what I thought were `operator=()`, or a manual `assign()` function, was actually a copy ctor. | |||
2023-03-07 | global: Completly disable inlining | mrb0nk500 | |
This is because it looks more, and more clear that the entire codebase was compiled without inlining. Likely to reduce code size from all the byteswap functions, only present on the GameCube version. | |||
2023-03-07 | THeap: Replace `heap_x{malloc,free}` with `operator {new,delete}` | mrb0nk500 | |
2023-03-07 | TObject: Replace `alloc()`, and `free()` with `operator {new,delete}` | mrb0nk500 | |
2023-03-07 | TProtocol: Use `const short` variable for return value in | mrb0nk500 | |
`send(u8 *, size)` This is needed to match now. | |||
2023-03-07 | T{Tcp,}Socket: Make `send(u8 *, size_t)` return the proper type | mrb0nk500 | |
2023-03-07 | TTcpSocket: Remove unnecessary local variables | mrb0nk500 | |
2023-03-07 | TProtocol: Rename `packet.packet` -> `packet.pkt` | mrb0nk500 | |
2023-03-06 | TProtocol: Disable inlining completely | mrb0nk500 | |
It's a good start to do it here, and work our way to other parts of the codebase. | |||
2023-03-06 | TProtocol: Match both `parse_packet()`, and `run_task()` | mrb0nk500 | |
2023-03-05 | global: Start work on making the codebase match without inlining | mrb0nk500 | |
It seems more, and more obvious that the codebase was originally compiled without inlining. | |||
2023-03-04 | TProtocol: Match ctor | mrb0nk500 | |
The reason for the large change is because I was trying to figure out why `TTcpSocket`'s ctor was so disjointed from the rest of the functions. Turns out, it's inlined, and inlining was turned off. Most likely, the whole codebase has inlining turned off. oof, press f `TArray`. | |||
2023-03-03 | TProtocol: Get `TProtocol` to the point of building | mrb0nk500 | |
I'll actually start work on it tomorrow. | |||
2023-03-03 | TTcpSocket: Revert `TTcpSocket: Make most of the virtuals inline` | mrb0nk500 | |
Caused unwanted inlining in some cases. | |||
2023-03-03 | TTcpSocket: Make most of the virtuals inline | mrb0nk500 | |
This is to make the function order match better. | |||
2023-03-03 | TMenuList, TPlyGuildCardTag: Add constructors | mrb0nk500 | |
2023-03-02 | TMenuList, TPlyGuildCardTag: Actually match both classes | mrb0nk500 | |
Didn't realize that `TMenuList`'s `operator=` was actually implicit. | |||
2023-03-02 | TPlyGuildCardTag: Make variable members private, and add accessors for | mrb0nk500 | |
them | |||
2023-03-02 | TPlyGuildCardTag: Put everything upto `guildcard_number` in a union | mrb0nk500 | |
This will be needed for later. | |||
2023-03-02 | TArray: Make `{,fast_}fill_with()` type generic | mrb0nk500 | |
2023-03-02 | TTcpSocket: Match `test_connection()` | mrb0nk500 | |
`TTcpSocket` is now fully matched. Up next is `TProtocol`. | |||
2023-03-01 | TTcpSocket: Match `open()` | mrb0nk500 | |
I might do `test_connection()` next, if not, `TProtocol` will be next. | |||
2023-03-01 | TTcpSocket: Make `some_stub()` a member function | mrb0nk500 | |
Forgot that it's actually a member function. | |||
2023-03-01 | TTcpSocket: Make `stat()` return a `short` | mrb0nk500 | |
oof, this caused `send(u8 *)` to not match, but making it return a `short` caused it to suddenly match. | |||
2023-02-28 | TTcpSocket: Start work on `TTcpSocket` | mrb0nk500 | |
I've done most of it, still have to do `test_connection()`, and `open()`. | |||
2023-02-28 | PSOV3EncryptionTCP: Add, and fully match `PSOV3EncryptionTCP` | mrb0nk500 | |
That was way easier than I expected, I thought it'd take a lot longer than this. | |||
2023-02-28 | PSOV3Encryption: Make `update_stream()` a lot cleaner | mrb0nk500 | |
2023-02-28 | PSOV3Encryption: Rename `encrypt()` -> `init()` | mrb0nk500 | |
Shoutouts to fuziqersoftware for pointing this out. | |||
2023-02-28 | PSOV3Encryption: Add, and fully match `PSOV3Encryption` | mrb0nk500 | |
Boy, that took way too long to match, mainly due to regalloc issues in `update_stream()`. | |||
2023-02-26 | TSocket: Start work on, and match most of `TSocket` | mrb0nk500 | |
Still need to implement, and match `resolve_domain()`, but it's a good starting point for decompiling the netcode. | |||
2023-02-26 | TObject: Make `all_parents_unqueued_for_destruction()` return an int | mrb0nk500 | |
rather than a bool This is needed for matching other stuff. | |||
2023-02-25 | TMenuList: Add `TMenuList`, and everything else that's needed to get it | mrb0nk500 | |
working I feel this is a good starting point for working on the protocol related code. | |||
2023-02-16 | TMainTask: Complete `TMainTask.cpp` | mrb0nk500 | |
2023-02-16 | TObject: Add `toggle_flag_3()` | mrb0nk500 | |
2023-02-12 | TObject: Add `m_` prefix to non-function members, and remove `get_` from | mrb0nk500 | |
getter function names | |||
2023-02-12 | TObject: Make non-function members private, and add getters, and setters | mrb0nk500 | |
2023-02-11 | TMainTask: Make the function order match the original | mrb0nk500 | |
2023-02-11 | TMainTask: Add, and match `func_80228bbc()` | mrb0nk500 | |
2023-02-11 | TMainTask: Add, and match `func_80228c44()` | mrb0nk500 | |
oof, my system crashed in the middle of builing `TMainTask.cpp`, causing it to corrupt the source file, meaning I had to redo this function again. Thank god I'm using version control. | |||
2023-02-11 | TMainTask: Add, and match `func_80228dbc()` | mrb0nk500 | |
2023-02-11 | TMainTask: Rename `func_803db618()` -> `set_some_id()` | mrb0nk500 | |
2023-02-11 | TMainTask: Implement, and match `func_803db618()` | mrb0nk500 | |
2023-02-11 | TMainTask: Add, and match `render_clipout_and_fade()` | mrb0nk500 | |
2023-02-10 | TMainTask: Add, and match `render_shadows()` | mrb0nk500 | |
2023-02-10 | TObject: Add `{,dis}allow_rendering_shadows()` | mrb0nk500 | |
2023-02-10 | TMainTask: Rename `lbl_805c5b9{8,c}` -> `{,old_}render_flags` | mrb0nk500 | |
2023-02-10 | TMainTask: Rename `{,old_}main_task_flags` -> `{,old_}update_flags` | mrb0nk500 | |
2023-02-10 | TObject: Implement, and match `alloc()`, and `free()` | mrb0nk500 | |
2023-02-10 | TMainTask: Rename all functions called by `render()` to more readable | mrb0nk500 | |
names | |||
2023-02-10 | TMainTask: Match all functions called by `render()` | mrb0nk500 | |