Text printing functions in Fallout 1/F2.

Discussion in 'Fallout General Modding' started by Mulligun, Jun 9, 2021.

  1. Mulligun

    Mulligun Still Mildly Glowing

    215
    Dec 14, 2006
    I'm wondering how does the Fallout 2 engine prints the messages on the screen, for example "floating" messages over the critters (float_msg game engine function). Hos does the float_msg function actually prints the text? Does it use some sort of printf from WinAPI or just using old style DOS int 21h interrupt (Fallout 1 was DOS game)?
     
  2. Mr.Stalin

    Mr.Stalin Agent of Enclave Modder

    522
    Oct 29, 2015
    there is no 'printf'.
    engine copy graphic letters from the fallout font to the window surface.
     
  3. Mulligun

    Mulligun Still Mildly Glowing

    215
    Dec 14, 2006
    Sorry Can You be so nice and elaborate more about that?
    Does it mean that it just directly write to the screen memory?
     
  4. Mr.Stalin

    Mr.Stalin Agent of Enclave Modder

    522
    Oct 29, 2015
    It's too complicated, you need to learn c++/asm and the game engine code.
     
  5. QuantumApprentice

    QuantumApprentice Look, Ma! Two Heads!

    301
    Feb 9, 2018
    He means the source code is not available.
    All we have is reverse engineered/decompiled code from the machine code executable.
    And even that isn't readily available.
     
  6. Mr.Stalin

    Mr.Stalin Agent of Enclave Modder

    522
    Oct 29, 2015
    The code has long been available in pseudo-С code format.
     
  7. QuantumApprentice

    QuantumApprentice Look, Ma! Two Heads!

    301
    Feb 9, 2018
    Is pseudo-C code good enough to figure out the answer to the op's question?
     
  8. Mr.Stalin

    Mr.Stalin Agent of Enclave Modder

    522
    Oct 29, 2015
    Where reverse engineering is done, there is a good code for understanding.
     
  9. QuantumApprentice

    QuantumApprentice Look, Ma! Two Heads!

    301
    Feb 9, 2018
    Would you be willing to post a link?