Lwmte

Results 168 comments of Lwmte

Bik is used only in TR4-5, which is a very far-off for OL...

Bullet never pushes Lara anywhere until she's dynamic (i.e. ragdoll). Everything you see in her "normal" state is caused by faulty code of OpenTomb itself.

Yes, falling damage is purely subjective, I didn't do any comparisons with original code. Must fix it some day!

In a case switch, whole switch body must be one tab further opening and closing brackets, and additionally, each case body must be one tab further case's own label. Like...

Yes, forgot about that. No tab symbols, each "tab" must be 4 spaces. When you have numerous assignment operations in a row, and/or their names are somewhat of equal length,...

If code block gets too large, it's recommended to split it up in several "sub-blocks" with empty lines, taking each sub-block meaning into account. Like this: ``` c foo =...

I note that as a remnant from "old" OpenTomb style, we have LOTS of "pascal-styled" or "basic-styled" variable declarations in the beginning of the function or code block. Like this:...

1. I got understanding of this setup through HUGE frustration with TR1 Gold one-shot secret triggers (thanks to amount of testing done by @vvs-). I understood it this way: if...

Seems like trigger behaviour was the most changed thing in TR code, as every single TR version has its own interpretations on what "trigger", "antitrigger" and "only once" means. Pity...

Biggest problem here is almost all trigger operations in originals were done via tricky bitwise operations, sometimes something got messed up (as noted by @T4Larson), some bugs were abused by...