Skip to content

Conversation

@caprado
Copy link
Owner

@caprado caprado commented Jan 3, 2026

No description provided.

- Added detailed documentation for system entry points and initialization functions in entry.c.
- Implemented hardware initialization stubs in hardware.c for Windows compatibility.
- Developed memory allocation routines in allocation.c, including block management and statistics.
- Created synchronization mechanisms in semaphore.c, including wait queues and logging.
- Implemented utility functions for table lookups in lookup.c.
- Developed the game state machine in state.c, managing gameplay flow and transitions.
…nhance game initialization and rendering systems

- Added functions to manage a global pointer array: addToPointerArray, removeFromPointerArray, callAllFunctionPointers, getPointerArrayCount, and getPointerArrayEntry.
- Implemented game buffer initialization and secondary entry point for buffer operations in init.c.
- Created the main game loop in loop.c, handling game state updates and rendering logic.
- Developed rendering functions in rendering.c, including initialization and processing based on a rendering counter.
- Introduced resource management functions in resource.c, including resource entry initialization and reference counting.
- Updated state machine logic in state.c to utilize new buffer and resource management functions, improving overall game state handling.
- Added system_timing.c: Implements querySystemTiming and checkSystemTiming functions using Windows API for accurate frame timing.
- Introduced SystemTiming structure to encapsulate timing state, flag, and normalized timing value.
- Ensured compatibility with PS2 timing behavior, including state management and frame pacing logic.
- Created system_timing.h: Header file for the new timing functions and structure.
@github-actions
Copy link
Contributor

github-actions bot commented Jan 3, 2026

📊 Decompilation Progress Update

============================================================
REOF2 DECOMPILATION PROGRESS REPORT
============================================================

Total Functions: 4073
Categorized: 44 (1.1%)
Uncategorized: 4029

------------------------------------------------------------
BREAKDOWN BY CATEGORY:
------------------------------------------------------------
Compression - Lz77             [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░]    1 (  0.0%)
Core - Entry                   [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░]    1 (  0.0%)
Core - Init                    [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░]    4 (  0.1%)
Game - Buffer                  [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░]    1 (  0.0%)
Game - Frame                   [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░]    1 (  0.0%)
Game - Init                    [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░]    3 (  0.1%)
Game - Loop                    [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░]    1 (  0.0%)
Game - Menu                    [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░]    5 (  0.1%)
Game - Rendering               [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░]    5 (  0.1%)
Game - Resource                [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░]    5 (  0.1%)
Game - State                   [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░]    2 (  0.0%)
Game - Stub                    [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░]    1 (  0.0%)
Game - Update                  [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░]    1 (  0.0%)
Game - Utility                 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░]    1 (  0.0%)
Graphics - Memory              [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░]    1 (  0.0%)
Memory - Allocation            [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░]    1 (  0.0%)
Memory - Pool                  [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░]    1 (  0.0%)
System - Sync                  [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░]    3 (  0.1%)
System - Thread                [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░]    2 (  0.0%)
System - Timing                [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░]    1 (  0.0%)
Utility - Array                [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░]    2 (  0.0%)
Utility - Lookup               [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░]    1 (  0.0%)
Uncategorized                  [█████████████████████████████░] 4029 ( 98.9%)

------------------------------------------------------------
BREAKDOWN BY STATUS:
------------------------------------------------------------
Complete                       [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░]   44 (  1.1%)
Uncategorized                  [█████████████████████████████░] 4029 ( 98.9%)

============================================================

@caprado caprado merged commit 5e59f2c into main Jan 3, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants