Initial rodecomp source snapshot

This commit is contained in:
ragnarok-clanker 2026-10-24 00:35:19 +00:00
commit d456e8f64a
916 changed files with 156023 additions and 0 deletions

View file

@ -0,0 +1,29 @@
#ifndef RAGNAROK_SOURCE_CLIENT_APPLICATIONWINDOW_H
#define RAGNAROK_SOURCE_CLIENT_APPLICATIONWINDOW_H
#include <windows.h>
namespace client {
// Recovered CreateWindowExA wrapper, not the full application initializer.
// Forces the title "Ragnarok 2026" and adds WS_SYSMENU to the caller's style.
HWND CreateApplicationWindow(
DWORD extendedStyle,
const char* className,
const char* ignoredTitle,
DWORD style,
int x,
int y,
int width,
int height,
HWND parent,
HMENU menu,
HINSTANCE instance,
void* parameter
);
// Original global main-window handle is borrowed; clips its client rectangle
// after converting both corners to screen coordinates. Returns ClipCursor.
BOOL ClipApplicationCursor(HWND window);
}
#endif