SFall source code.

Discussion in 'Fallout General Modding' started by Mulligun, Jul 16, 2023.

  1. Mulligun

    Mulligun Still Mildly Glowing

    244
    Dec 14, 2006
  2. NovaRain

    NovaRain Casual Modder Modder Moderator

    Mar 10, 2007
    • [Rad] [Rad] x 1
  3. Mulligun

    Mulligun Still Mildly Glowing

    244
    Dec 14, 2006
  4. Mulligun

    Mulligun Still Mildly Glowing

    244
    Dec 14, 2006
    I'm trying to compile F2 RPU source code (Release config) but I'm getting following error:
    Code:
    DebugEditor.cpp(541,5): error C7553: inline assembler is not supported in a lambda
    inside:
    Code:
    ...
    OnKeyPressed() += [](DWORD scanCode, bool pressed) {
                if (scanCode == mapGridToggleKey && pressed && IsGameLoaded()) {
                    __asm call fo::funcoffs::grid_toggle_; //the error line!
                    fo::func::tile_refresh_display();
                }
            };
    ...
    I'm using MS Visual C++ 2019 on Win 10 if it matter.
    Help!
     
    Last edited: Jul 17, 2023
  5. kokeeby

    kokeeby First time out of the vault

    81
    Jul 4, 2019
    Last edited: Jul 23, 2023
    • [Rad] [Rad] x 1
  6. Mulligun

    Mulligun Still Mildly Glowing

    244
    Dec 14, 2006
  7. kokeeby

    kokeeby First time out of the vault

    81
    Jul 4, 2019
  8. agris

    agris Still Mildly Glowing

    275
    Jul 8, 2004