FOnline Development > Questions and Answers

[2238]Converting from C++ to AngelScript piece of code.

(1/1)

SEGA_RUS:
I really dunno how to implement it to AS.

--- Code: ---void InitLookup() // generation
{
    uint8 malloc = SIZE_LIN * SIZE_LIN * MAX_ARR * sizeof(char);
    Lookup=malloc;
    for (int y = 0; y < SIZE_LIN; y++) for (int x = 0; x < SIZE_LIN; x++)
      Trace(MAX_TRACE, MAX_TRACE, x, y);
}
--- End code ---
Anybody have any ideas?

Wipe:
Porting check_look.dll to AS is horrible idea.

SEGA_RUS:

--- Quote from: Wipe on October 09, 2015, 09:56:52 pm ---Porting check_look.dll to AS is horrible idea.

--- End quote ---
Yes, but I don't any other way to disable sneak penaulty from wearing armor\weapons.

Wipe:
Strip that code from dll and recompile?

SEGA_RUS:

--- Quote from: Wipe on October 09, 2015, 10:38:13 pm ---Strip that code from dll and recompile?

--- End quote ---
Yes.

Navigation

[0] Message Index

Go to full version