Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adriancable/eternal
/ functions
Functions
1,064 in github.com/adriancable/eternal
⨍
Functions
1,064
◇
Types & classes
95
↓ 410 callers
Function
const_from_pool
Return the assembler label for a pooled constant. On first call for a given *value*, allocates a new label and records it for later emission
runtime/core/gen_runtime.py:67
↓ 158 callers
Function
S_StartSound
doom/src/s_sound.c:397
↓ 117 callers
Function
FixedMul
doom/src/m_fixed.c:47
↓ 107 callers
Function
I_Error
doom/src/i_system.c:165
↓ 101 callers
Function
W_CacheLumpName
W_CacheLumpName
doom/src/w_wad.c:507
↓ 101 callers
Function
emit_copy_z_dirty
Emit register copy when Z state is unknown/dirty. 4 instructions: Z=0, dest=0, Z=-src, dest=src Z is left dirty after this operation (con
runtime/core/emit_memory_ops.py:18
↓ 83 callers
Function
P_Random
Which one is deterministic?
doom/src/m_random.c:57
↓ 76 callers
Function
Z_Malloc
doom/src/z_zone.c:183
↓ 60 callers
Function
V_DrawPatch
V_DrawPatch Masks a column based masked pic to the screen.
doom/src/v_video.c:298
↓ 55 callers
Function
emit_call_sequence
Generate a call to another runtime function (RA-direct, no push/pop). The caller must have already called emit_push_ra at function entry
runtime/core/gen_runtime.py:133
↓ 52 callers
Function
P_ChangeSwitchTexture
Function that changes wall texture. Tell it if switch is ok to use again (1=yes, it's a button).
doom/src/p_switch.c:200
↓ 48 callers
Function
emit_copy_z_clean
Emit register copy when Z is known to be 0. 3 instructions: dest=0, Z=-src, dest=src Z is left dirty after this operation.
runtime/core/emit_memory_ops.py:31
↓ 47 callers
Function
FixedDiv
doom/src/m_fixed.c:62
↓ 43 callers
Function
EV_DoFloor
HANDLE FLOOR TYPES
doom/src/p_floor.c:259
↓ 43 callers
Function
fromRep
runtime/fpu/subleq_runtime_softfloat.c:261
↓ 40 callers
Function
M_CheckParm
M_CheckParm Checks for the given parameter in the program's command line arguments. Returns the argument number (1 to argc-1) or 0 if not present
doom/src/m_argv.c:41
↓ 40 callers
Function
df_toRep
runtime/fpu/subleq_runtime_softfloat.c:822
↓ 40 callers
Function
toRep
runtime/fpu/subleq_runtime_softfloat.c:256
↓ 39 callers
Function
df_fromRep
runtime/fpu/subleq_runtime_softfloat.c:827
↓ 32 callers
Function
P_SetMobjState
doom/src/p_mobj.c:53
↓ 30 callers
Function
EV_DoDoor
doom/src/p_doors.c:263
↓ 30 callers
Function
V_DrawPatchDirect
V_DrawPatchDirect Draws directly to the screen on the pc.
doom/src/v_video.c:439
↓ 30 callers
Function
emit_return_sequence
Generate the return sequence for runtime functions (RA-direct). With the RA-direct convention, the return address is already in RA. Just
runtime/core/gen_runtime.py:178
↓ 26 callers
Function
R_TextureNumForName
R_TextureNumForName Calls R_CheckTextureNumForName, aborts with error message.
doom/src/r_data.c:795
↓ 25 callers
Function
P_AddThinker
P_AddThinker Adds a new thinker at the end of the list.
doom/src/p_tick.c:65
↓ 25 callers
Function
W_CacheLumpNum
W_CacheLumpNum
doom/src/w_wad.c:475
↓ 24 callers
Function
P_SpawnMobj
P_SpawnMobj
doom/src/p_mobj.c:479
↓ 23 callers
Function
I_GetTime
I_GetTime returns time in 1/70th second tics
doom/src/i_system.c:90
↓ 22 callers
Function
A_FaceTarget
A_FaceTarget
doom/src/p_enemy.c:782
↓ 22 callers
Function
Z_Free
Z_Free
doom/src/z_zone.c:122
↓ 20 callers
Function
D_AddFile
D_AddFile
doom/src/d_main.c:548
↓ 19 callers
Function
EV_DoPlat
Do Platforms "amount" is only used for SOME platforms.
doom/src/p_plats.c:138
↓ 18 callers
Function
P_DamageMobj
P_DamageMobj Damages both enemies and players "inflictor" is the thing that caused the damage creature or missile, can be NULL (slime, etc) "source" i
doom/src/p_inter.c:774
↓ 16 callers
Function
P_ChangeSector
P_ChangeSector
doom/src/p_map.c:1320
↓ 15 callers
Function
P_SetPsprite
P_SetPsprite
doom/src/p_pspr.c:58
↓ 15 callers
Function
W_LumpLength
W_LumpLength Returns the buffer size needed to load the given lump.
doom/src/w_wad.c:416
↓ 14 callers
Function
P_GiveAmmo
doom/src/p_inter.c:73
↓ 14 callers
Function
W_GetNumForName
W_GetNumForName Calls W_CheckNumForName, but bombs out if not found.
doom/src/w_wad.c:399
↓ 13 callers
Method
IsNil
doom/src/tarray.h:793
↓ 13 callers
Function
P_SpawnMissile
P_SpawnMissile
doom/src/p_mobj.c:888
↓ 12 callers
Function
M_SetupNextMenu
M_SetupNextMenu
doom/src/m_menu.c:1824
↓ 12 callers
Function
M_StartMessage
doom/src/m_menu.c:1226
↓ 12 callers
Function
P_AimLineAttack
P_AimLineAttack
doom/src/p_map.c:1022
↓ 12 callers
Function
R_PointToAngle2
doom/src/r_main.c:397
↓ 12 callers
Function
cht_CheckCheat
Called in st_stuff module, which handles the input. Returns a 1 if the cheat was successful, 0 if failed.
doom/src/m_cheat.c:42
↓ 11 callers
Function
AM_drawMline
Clip lines, draw visible part sof lines.
doom/src/am_map.c:1057
↓ 11 callers
Function
EV_DoCeiling
EV_DoCeiling Move a ceiling up/down and all around!
doom/src/p_ceilng.c:171
↓ 11 callers
Function
P_PointOnLineSide
P_PointOnLineSide Returns 0 or 1
doom/src/p_maputl.c:65
↓ 11 callers
Function
STlib_initNum
?
doom/src/st_lib.c:65
↓ 11 callers
Function
debug_char
Debug output - DISABLED */
runtime/cxxabi/cxxabi_minimal.c:15
↓ 11 callers
Function
emit_lattice_mod
Generate single-operand non-restoring lattice for computing src_reg & 3. This is an optimized replacement for the restoring loop pattern.
runtime/core/emit_memory_ops.py:48
↓ 10 callers
Function
P_CheckSight
P_CheckSight Returns true if a straight line between t1 and t2 is unobstructed. Uses REJECT.
doom/src/p_sight.c:299
↓ 10 callers
Function
S_ChangeMusic
doom/src/s_sound.c:649
↓ 10 callers
Function
V_MarkRect
V_MarkRect
doom/src/v_video.c:145
↓ 10 callers
Function
get_next_target
(state_suffix)
runtime/core/emit_and_o32.py:246
↓ 10 callers
Function
keep_bit
(k)
runtime/core/emit_sb_packed.py:24
↓ 9 callers
Function
P_RemoveThinker
P_RemoveThinker Deallocation is lazy -- it will not actually be freed until its thinking turn comes up.
doom/src/p_tick.c:80
↓ 9 callers
Function
W_CheckNumForName
doom/src/w_wad.c:351
↓ 9 callers
Function
getNextSector
getNextSector() Return sector_t * of sector next to current. NULL if not two-sided line
doom/src/p_spec.c:250
↓ 8 callers
Function
EV_LightTurnOn
TURN LINE'S TAG LIGHTS ON
doom/src/p_lights.c:270
↓ 8 callers
Function
M_Random
doom/src/m_random.c:63
↓ 8 callers
Function
NetUpdate
doom/src/d_net.c:368
↓ 8 callers
Function
P_AproxDistance
doom/src/p_maputl.c:48
↓ 8 callers
Function
P_RemoveMobj
doom/src/p_mobj.c:546
↓ 8 callers
Function
P_TryMove
P_TryMove Attempt to move to a new position, crossing special lines unless MF_TELEPORT is set.
doom/src/p_map.c:450
↓ 8 callers
Method
Push
doom/src/tarray.h:240
↓ 8 callers
Function
R_StoreWallRange
R_StoreWallRange A wall segment will be drawn between start and stop pixels (inclusive).
doom/src/r_segs.c:374
↓ 8 callers
Function
SlopeDiv
doom/src/tables.c:49
↓ 7 callers
Function
M_StartControlPanel
M_StartControlPanel
doom/src/m_menu.c:1722
↓ 7 callers
Function
P_FindLowestCeilingSurrounding
FIND LOWEST CEILING IN THE SURROUNDING SECTORS
doom/src/p_spec.c:381
↓ 7 callers
Function
P_FindSectorFromLineTag
RETURN NEXT SECTOR # THAT LINE TAG REFERS TO
doom/src/p_spec.c:433
↓ 7 callers
Function
P_GivePower
P_GivePower
doom/src/p_inter.c:289
↓ 7 callers
Function
P_GiveWeapon
P_GiveWeapon The weapon name may have a MF_DROPPED flag ored in.
doom/src/p_inter.c:167
↓ 7 callers
Function
P_LineAttack
P_LineAttack If damage == 0, it is just a test trace that will leave linetarget set.
doom/src/p_map.c:1062
↓ 7 callers
Function
P_TryWalk
TryWalk Attempts to move actor on in its current (ob->moveangle) direction. If blocked by either a wall or an actor returns FALSE If move is either cl
doom/src/p_enemy.c:349
↓ 7 callers
Function
ST_calcPainOffset
doom/src/st_stuff.c:729
↓ 7 callers
Function
S_StopChannel
doom/src/s_sound.c:708
↓ 7 callers
Function
T_MovePlane
Move a plane (floor or ceiling) and check for crushing
doom/src/p_floor.c:48
↓ 7 callers
Function
emit_inline_srl
Emit inline logical shift right by a fixed amount. x >> shift_amount extracts bits [shift_amount, 31] and puts them in bits [0, 31-shift_amou
runtime/core/emit_memory_ops.py:176
↓ 6 callers
Function
ExpandTics
doom/src/d_net.c:120
↓ 6 callers
Function
G_ExitLevel
doom/src/g_game.c:1002
↓ 6 callers
Function
HU_queueChatChar
doom/src/hu_stuff.c:587
↓ 6 callers
Function
M_ClearMenus
M_ClearMenus
doom/src/m_menu.c:1811
↓ 6 callers
Function
P_BlockThingsIterator
P_BlockThingsIterator
doom/src/p_maputl.c:512
↓ 6 callers
Function
P_CheckMeleeRange
P_CheckMeleeRange
doom/src/p_enemy.c:174
↓ 6 callers
Function
P_DivlineSide
P_DivlineSide Returns side 0 (front), 1 (back), or 2 (on).
doom/src/p_sight.c:54
↓ 6 callers
Function
P_GiveCard
P_GiveCard
doom/src/p_inter.c:273
↓ 6 callers
Function
P_LineOpening
doom/src/p_maputl.c:300
↓ 6 callers
Function
P_PathTraverse
P_PathTraverse Traces a line from x1,y1 to x2,y2, calling the traverser function for each. Returns true if the traverser function returns true for all
doom/src/p_maputl.c:742
↓ 6 callers
Function
P_SpawnPlayer
P_SpawnPlayer Called when a player is spawned on the level. Most of the player structure stays unchanged between levels.
doom/src/p_mobj.c:642
↓ 6 callers
Function
P_SpawnStrobeFlash
P_SpawnStrobeFlash After the map has been loaded, scan each sector for specials that spawn thinkers
doom/src/p_lights.c:180
↓ 6 callers
Function
R_PointInSubsector
R_PointInSubsector
doom/src/r_main.c:824
↓ 6 callers
Function
R_PointToAngle
doom/src/r_main.c:311
↓ 6 callers
Function
R_VideoErase
Copy a screen buffer.
doom/src/r_draw.c:1011
↓ 6 callers
Method
Size
doom/src/tarray.h:383
↓ 6 callers
Function
WI_drawPercent
doom/src/wi_stuff.c:668
↓ 6 callers
Function
_Unwind_SetGR
runtime/cxxabi/sjlj_unwind.c:273
↓ 6 callers
Function
_emit_accum_chain
(prefix, exit_label, bit_hi, bit_lo, z_clean_entry=False)
runtime/core/emit_udivrem_o32.py:240
↓ 6 callers
Function
df_normalize
runtime/fpu/subleq_runtime_softfloat.c:832
↓ 6 callers
Function
emit_inline_pp_and
(asm, bit)
runtime/core/emit_and_o32.py:122
next →
1–100 of 1,064, ranked by callers