Difference between revisions of "Doom source code functions"

From DoomWiki.org

[checked revision][checked revision]
(not actually a code pointer, just an internal function called by other code ptrs)
(table fmtg, rm empty line)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This page lists the functions in the original [[Doom source code]].
+
This page lists the '''functions''' in the original '''[[Doom source code]]'''.
  
 
== Functions ==
 
== Functions ==
 
 
{| class="wikitable sortable plainlinks"
 
{| class="wikitable sortable plainlinks"
 
! File || Name || Description
 
! File || Name || Description
Line 164: Line 163:
 
| {{DoomSrc|file=d_main.c|text=d_main.c}}
 
| {{DoomSrc|file=d_main.c|text=d_main.c}}
 
| {{DoomSrc|file=d_main.c|line=796|text=D_DoomMain}}
 
| {{DoomSrc|file=d_main.c|line=796|text=D_DoomMain}}
| Main startup function called by main().
+
| Main startup function called by main()
 
|-
 
|-
 
| {{DoomSrc|file=d_main.c|text=d_main.c}}
 
| {{DoomSrc|file=d_main.c|text=d_main.c}}
Line 744: Line 743:
 
| {{DoomSrc|file=i_system.c|text=i_system.c}}
 
| {{DoomSrc|file=i_system.c|text=i_system.c}}
 
| {{DoomSrc|file=i_system.c|line=88|text=I_GetTime}}
 
| {{DoomSrc|file=i_system.c|line=88|text=I_GetTime}}
| Get time since program start in [[tic|tics]].
+
| Get time since program start in [[tic]]s
 
|-
 
|-
 
| {{DoomSrc|file=i_system.c|text=i_system.c}}
 
| {{DoomSrc|file=i_system.c|text=i_system.c}}
Line 1,312: Line 1,311:
 
| {{DoomSrc|file=p_enemy.c|text=p_enemy.c}}
 
| {{DoomSrc|file=p_enemy.c|text=p_enemy.c}}
 
| {{DoomSrc|file=p_enemy.c|line=1450|text=A_PainShootSkull}}
 
| {{DoomSrc|file=p_enemy.c|line=1450|text=A_PainShootSkull}}
|
+
| Helper function to spawn a lost soul, not used directly but called by A_PainAttack and A_PainDie
 
|-
 
|-
 
| {{DoomSrc|file=p_enemy.c|text=p_enemy.c}}
 
| {{DoomSrc|file=p_enemy.c|text=p_enemy.c}}
Line 2,865: Line 2,864:
 
| {{DoomSrc|file=z_zone.c|line=184|text=Z_Malloc}}
 
| {{DoomSrc|file=z_zone.c|line=184|text=Z_Malloc}}
 
| [[Zone memory]] - allocate block
 
| [[Zone memory]] - allocate block
|-
+
|}
  
 
[[Category:Doom engine]]
 
[[Category:Doom engine]]
 
[[Category:Code]]
 
[[Category:Code]]
 
[[Category:Lists]]
 
[[Category:Lists]]

Latest revision as of 07:48, 17 February 2024

This page lists the functions in the original Doom source code.

Functions[edit]