- gr2: BitKnit2 decompression, 64-bit LE files, compressed curves - net: remaining GamePhase handlers, generated GC packet table - python: event/chat/chr/minimap/guild/quest/messenger/shop-search and other native modules ported against the AVA2 Windows client - render: D3D8 fixed-function lighting in Gr2ModelRenderer, terrain without baked shade; cape/NPC equipment attachment - tests + audits updated; docs/PORT-PLAN.md and WINDOWS-PARITY.md Batch 4 (render pipeline: background.*, app.RenderGame/UpdateGame, camera bindings, main.cpp fake-content removal) is still in progress. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
14 lines
464 B
C++
14 lines
464 B
C++
#pragma once
|
|
// EterBase random: the Park-Miller generator behind random_range / app.GetRandom.
|
|
// Provenance: AVA2 EterBase/Random.cpp (32-bit long arithmetic kept with fixed-width types).
|
|
#include <cstdint>
|
|
|
|
namespace eter {
|
|
void srandom(uint32_t seed);
|
|
// Uniform on [1, 2^31 - 2].
|
|
uint32_t random();
|
|
float frandom(float flLow, float flHigh);
|
|
// from <= to: random() % (to - from + 1) + from.
|
|
int32_t random_range(int32_t from, int32_t to);
|
|
} // namespace eter
|