KAZIK/tools/tests/billiards_module.asm
Игорь Федосеев ca62db53e9 feat: implement native billiards, scratch tickets, first-person dice, and city wake scene
- Billiards: add native Russian Pyramid & American Eight-Ball pool with physics prediction, controls, and regression tests
- Scratch Tickets: add dedicated counter, mat presentation, elliptical coin scraping, 4 ticket types, and payout effects
- First-Person Dice: add native dice scene, hand anchor frames, throwing animation, and table perspective
- City Wake & Weather: add arrival cutscene, alley geometry, weather/rain effects, and lighter/rocker animation
- World Dressing: add hall paintings, furniture packs, hall lighting, and scene regression tests
- Build & Tooling: update build.bat for modern MSVC toolchain, update launcher hash, and refresh shipping binaries
2026-10-16 12:37:40 +03:00

44 lines
1.3 KiB
NASM

.386
.model flat
option casemap:none
EXTERN engineMode:DWORD,deltaTime3D:DWORD,mouseClick3D:DWORD,mouseX3D:DWORD,mouseY3D:DWORD
EXTERN keys3D:BYTE,pressedKeys3D:BYTE,tableCos:DWORD,tableSin:DWORD,screenBuffer:DWORD
EXTERN cardExitButton3D:BYTE,unavailableText3D:BYTE,bankroll:DWORD,rngSeed3D:DWORD
option language:stdcall
FP_1 equ 65536
SCREEN_SIZE equ 640*480
MODE_WALK equ 0
AnimPack3D STRUCT
magic dd ?
imageWidth dd ?
height dd ?
frames dd ?
bytes dd ?
pixels dd ?
AnimPack3D ENDS
LoadAnimPack3D PROTO :DWORD,:DWORD
FreeAnimPack3D PROTO :DWORD
DrawAnimSprite3D PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DrawBox PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DrawBoxBorder PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DrawString8x8 PROTO :DWORD,:DWORD,:DWORD,:DWORD
DrawNumber PROTO :DWORD,:DWORD,:DWORD,:DWORD
DrawCircle PROTO :DWORD,:DWORD,:DWORD,:DWORD
DrawPixel PROTO :DWORD,:DWORD,:DWORD
DrawWheelDigit3D PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
Pressed3D PROTO :DWORD
ClearKeys3D PROTO
SaveProgress3D PROTO
InitPaths3D PROTO
ExitProcess PROTO :DWORD
WriteActionSnapshot3D PROTO :DWORD
include src_graphics/billiards_data.inc
.code
include src_graphics/billiards.inc
include tools/tests/pyramid_test.inc
BilliardsModuleStart PROC
call InitPaths3D
call RunPyramidTest3D
invoke ExitProcess,eax
BilliardsModuleStart ENDP
end