Unit scrTargeting
Description
Screen used for Firing a bow
Uses
Overview
Classes, Interfaces, Objects and Records
Functions and Procedures
Constants
Variables
Description
Functions and Procedures
function glyphAngle(targetX, targetY: smallint): shortstring; |
Calculate what angle of arrow to use
|
procedure aimBow(dir: word); |
Aim bow and arrow
|
procedure fireBow; |
Fire bow and arrow
|
procedure drawTrajectory(x1, y1, x2, y2: smallint; g, col: shortstring); |
Draw trajectory of arrow
|
procedure arrowHit(x, y: smallint); |
Arrow hits an entity
|
procedure restorePlayerGlyph; |
Repaint the player when exiting look/target screen
|
procedure paintOverMsg; |
Paint over the message log
|
Constants
Variables
arrowGlyph: shortstring; |
Arrow Glyph to use in animation
|
landingX: smallint; |
Coordinates where the projectile lands
|
landingY: smallint; |
Coordinates where the projectile lands
|
safeX: smallint; |
The last safe coordinates
|
safeY: smallint; |
The last safe coordinates
|
selectedTarget: smallint; |
|
targetX: smallint; |
Target coordinates
|
targetY: smallint; |
Target coordinates
|
Generated by PasDoc 0.16.0.