Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/4RH1T3CT0R7/ttf-doom
/ functions
Functions
584 in github.com/4RH1T3CT0R7/ttf-doom
⨍
Functions
584
◇
Types & classes
112
↓ 1 callers
Method
_or_expr
``and_expr ('or' and_expr)*``
compiler/parser.py:439
↓ 1 callers
Method
_params
``(IDENT : int (, IDENT : int)*)?``
compiler/parser.py:282
↓ 1 callers
Function
_push_and_store
Generate TT assembly to store *value* at *storage_idx*.
game/build.py:51
↓ 1 callers
Function
_read_doom_source
Read the doom.doom DSL source file.
tests/test_raycaster.py:30
↓ 1 callers
Method
_register_declarations
Walk top-level declarations and allocate storage / IDs.
compiler/codegen.py:149
↓ 1 callers
Method
_register_stdlib
Register stdlib functions and emit their FDEFs.
compiler/codegen.py:166
↓ 1 callers
Method
_resolve_const_expr
Try to resolve an expression to a compile-time constant. Returns the integer value if the expression is a constant, or ``None`` if it
compiler/codegen.py:743
↓ 1 callers
Method
_return_stmt
``return expr? NEWLINE``
compiler/parser.py:378
↓ 1 callers
Method
_scan_line
Tokenize a single line of content (leading whitespace removed).
compiler/lexer.py:252
↓ 1 callers
Method
_statement
Dispatch to the appropriate statement parser.
compiler/parser.py:313
↓ 1 callers
Method
_tokenize_lines
Walk source lines, handle indentation, and tokenize content.
compiler/lexer.py:197
↓ 1 callers
Method
_while_stmt
``while expr : NEWLINE INDENT body DEDENT``
compiler/parser.py:367
↓ 1 callers
Function
bitmap_to_surface
Convert a FreeType grayscale bitmap to a green-on-black pygame Surface.
hosts/python/dev_host.py:92
↓ 1 callers
Function
drawMinimap
()
hosts/browser/doom.js:813
↓ 1 callers
Function
drawMinimap
()
docs/doom.js:813
↓ 1 callers
Function
draw_minimap
Draw a small minimap in the top-right corner of *screen*.
hosts/python/dev_host.py:118
↓ 1 callers
Function
hasLineOfSight
Check if there is a clear line of sight from (x0,y0) to (x1,y1)
hosts/browser/doom.js:84
↓ 1 callers
Function
hasLineOfSight
Check if there is a clear line of sight from (x0,y0) to (x1,y1)
docs/doom.js:84
↓ 1 callers
Function
ideal_fixdiv
Reference: exact ``(a * 65536) / b`` with truncation toward zero.
tests/test_stdlib.py:128
↓ 1 callers
Function
initAudio
()
hosts/browser/doom.js:149
↓ 1 callers
Function
initAudio
()
docs/doom.js:149
↓ 1 callers
Function
jsRaycast
(col)
hosts/browser/doom.js:644
↓ 1 callers
Function
jsRaycast
(col)
docs/doom.js:644
↓ 1 callers
Function
load_font
Load doom.ttf, handling paths with non-ASCII characters.
hosts/python/dev_host.py:74
↓ 1 callers
Function
main
Entry point for the TTDoom compiler CLI.
compiler/__main__.py:17
↓ 1 callers
Function
main
Run the TTDoom pygame host.
hosts/python/dev_host.py:162
↓ 1 callers
Function
playEnemyDeathSound
()
hosts/browser/doom.js:219
↓ 1 callers
Function
playEnemyDeathSound
()
docs/doom.js:219
↓ 1 callers
Function
playFootstep
(now)
hosts/browser/doom.js:158
↓ 1 callers
Function
playFootstep
(now)
docs/doom.js:158
↓ 1 callers
Function
playHurtSound
()
hosts/browser/doom.js:234
↓ 1 callers
Function
playHurtSound
()
docs/doom.js:234
↓ 1 callers
Function
playShootSound
()
hosts/browser/doom.js:204
↓ 1 callers
Function
playShootSound
()
docs/doom.js:204
↓ 1 callers
Function
playTurnSound
()
hosts/browser/doom.js:176
↓ 1 callers
Function
playTurnSound
()
docs/doom.js:176
↓ 1 callers
Function
preloadSprites
()
hosts/browser/doom.js:46
↓ 1 callers
Function
preloadSprites
()
docs/doom.js:46
↓ 1 callers
Function
renderDeathScreen
Render the death screen overlay
hosts/browser/doom.js:617
↓ 1 callers
Function
renderDeathScreen
Render the death screen overlay
docs/doom.js:617
↓ 1 callers
Function
renderDebugOverlay
Feature 1: Font Axis Debug Overlay — shows live font-variation-settings
hosts/browser/doom.js:662
↓ 1 callers
Function
renderDebugOverlay
Feature 1: Font Axis Debug Overlay — shows live font-variation-settings
docs/doom.js:662
↓ 1 callers
Function
renderEnemies
Render all alive enemies onto the overlay canvas
hosts/browser/doom.js:359
↓ 1 callers
Function
renderEnemies
Render all alive enemies onto the overlay canvas
docs/doom.js:359
↓ 1 callers
Function
renderGlyphInspector
Feature 3: Glyph Inspector — shows per-column raycast bar heights
hosts/browser/doom.js:749
↓ 1 callers
Function
renderGlyphInspector
Feature 3: Glyph Inspector — shows per-column raycast bar heights
docs/doom.js:749
↓ 1 callers
Function
renderHUD
Render the in-game HUD (health, ammo, score)
hosts/browser/doom.js:574
↓ 1 callers
Function
renderHUD
Render the in-game HUD (health, ammo, score)
docs/doom.js:574
↓ 1 callers
Function
renderWeapon
Render the weapon at the bottom center of the overlay
hosts/browser/doom.js:448
↓ 1 callers
Function
renderWeapon
Render the weapon at the bottom center of the overlay
docs/doom.js:448
↓ 1 callers
Function
restartGame
()
hosts/browser/doom.js:343
↓ 1 callers
Function
restartGame
()
docs/doom.js:343
↓ 1 callers
Function
shoot
(now)
hosts/browser/doom.js:293
↓ 1 callers
Function
shoot
(now)
docs/doom.js:293
↓ 1 callers
Function
updateEnemies
(dt)
hosts/browser/doom.js:256
↓ 1 callers
Function
updateEnemies
(dt)
docs/doom.js:256
Method
__init__
(self, num_axes: int = 5)
compiler/codegen.py:99
Method
__init__
(self, message: str, line: int)
compiler/parser.py:74
Method
__init__
(self, message: str, line: int, column: int)
compiler/lexer.py:117
Method
__repr__
(self)
compiler/lexer.py:106
Function
_compile_program
Compile a pre-built AST to assembly segments.
tests/test_codegen.py:71
Function
_values
Return just the token values for *source* (excluding EOF).
tests/test_lexer.py:20
Function
built_font_path
Build doom.ttf into a temp directory and return the path.
tests/test_raycaster.py:69
Function
built_font_path_stable
Build doom.ttf into a temp file that persists for the module.
tests/test_raycaster.py:86
Function
compiled_result
Compiled assembly output from doom.doom.
tests/test_raycaster.py:56
Function
doom_font_path
Build the DOOM font once per test module with minimal assembly.
tests/test_font_builder.py:33
Function
doom_source
The raw doom.doom source code.
tests/test_raycaster.py:41
Function
font
Load the built font as a TTFont object.
tests/test_raycaster.py:103
Method
font_with_stdlib
Create a minimal font with stdlib FDEFs and return its path.
tests/test_stdlib.py:727
Function
parsed_program
Parsed AST from doom.doom.
tests/test_raycaster.py:47
Function
poc_font_path
Generate the POC font once per test module and return its path.
tests/test_poc_font.py:20
Function
px
(x, y, color)
hosts/browser/doom.js:463
Function
px
(x, y, color)
docs/doom.js:463
Method
stdlib
(self)
tests/test_stdlib.py:216
Function
test_64_bar_glyph_has_256_points
Default 64-bar glyph has exactly 256 on-curve points (64 * 4).
tests/test_glyph_builder.py:53
Function
test_64_bar_glyph_has_64_contours
Default 64-bar glyph has exactly 64 contours.
tests/test_glyph_builder.py:33
Method
test_abs_negative
(self)
tests/test_stdlib.py:596
Method
test_abs_positive
(self)
tests/test_stdlib.py:592
Method
test_abs_zero
(self)
tests/test_stdlib.py:600
Method
test_addition
(self)
tests/test_codegen.py:728
Function
test_all_cos_values_within_pushw_range
All cos values with scale=256 fit in a signed 16-bit word.
tests/test_math_tables.py:120
Method
test_all_delimiters
(self)
tests/test_lexer.py:207
Method
test_all_fpgm_instructions_valid
(self)
tests/test_codegen.py:973
Method
test_all_functions_have_metadata
(self)
tests/test_stdlib.py:264
Method
test_all_functions_present
(self, stdlib: dict[str, list[str]])
tests/test_stdlib.py:219
Method
test_all_glyph_instructions_valid
(self)
tests/test_codegen.py:996
Method
test_all_instructions_valid
Every line in the generated fpgm assembly should be valid.
tests/test_stdlib.py:709
Function
test_all_points_on_curve
Every point in the bar glyph should be on-curve (flag bit 0 set).
tests/test_glyph_builder.py:64
Method
test_all_prep_instructions_valid
(self)
tests/test_codegen.py:990
Function
test_all_sin_values_within_pushw_range
All sin values with scale=256 fit in a signed 16-bit word.
tests/test_math_tables.py:111
Method
test_all_values_fit_pushw
All table values fit in a signed 16-bit PUSHW instruction.
tests/test_raycaster.py:743
Method
test_alloc_array
(self)
tests/test_codegen.py:140
Method
test_alloc_array_after_var
(self)
tests/test_codegen.py:147
Method
test_alloc_func
(self)
tests/test_codegen.py:154
Method
test_alloc_func_locals
(self)
tests/test_codegen.py:198
Method
test_alloc_func_sequential
(self)
tests/test_codegen.py:160
Method
test_alloc_var
(self)
tests/test_codegen.py:121
Method
test_alloc_var_duplicate_raises
(self)
tests/test_codegen.py:134
Method
test_alloc_var_sequential
(self)
tests/test_codegen.py:127
Method
test_and_operator
(self)
tests/test_codegen.py:687
← previous
next →
101–200 of 584, ranked by callers