67416b9b3c86c

67416b9b3d961
1 Guest is here.
 
67416b9b3de1f
°SS1src

I collect here some interesting or important findings.

Code: [Select]
DAMAGE.C:

int random_bell_modifier(bool attack_on_player)
This is used in critical hit calculation.
« Last Edit: 20. November 2019, 22:27:23 by Moderator »

67416b9b3e138dertseha

Re: Interesting or important code found
67416b9b3e18f
Heh, I was just about to report after my return from my first investigation :)

- The code seems heavily butchered at times - I don't mean the general during-development-unclarities, but the changes that the Mac port demanded. I wonder whether NDS really is basing their port on this one, because you'd have to undo all of that to get back to the DOS version, and then port it forward in time...

- Cheatcodes! There were indeed some, although not compiled in :P
IF activated ( keybindings enabled in input.c ), you'd then have to enable them with a cyb.cfg variable ( called "cyberia" ), and then press key-shortcuts to get health or inventory. (one such function is called: salt_the_player :) )
If you wouldn't have the config variable set and used the shorcut for health, then you'd get damage and a warning "Winners don't use hotkeys"

- Editor
There is indeed some sort of editing mode baked in (though, apparently not compiled into the engine). I still haven't figured out whether this would be a separate display mode (think fullscreen map), or in-3d-view, as well as whether the complete editing functionality is actually in there.

Re: Interesting or important code found
67416b9b3e2e4
Code: [Select]
#ifdef CRAZE_NODEATH

I wonder if this was enabled in release.
What it seems to do, is make player immortal when player is using berserk (lsd in code) and combat difficulty is 0-2

67416b9b3e40cJosiahJack

Re: Interesting or important code found
67416b9b3e45e
The more fatigued you are the more it affects your accuracy by shifting the cursor position more from the recoil.  WEAPONS.C:: player_fire_projectile ()

Cool!

67416b9b3e54dwinterheart

Re: Interesting or important code found
67416b9b3e59f
Interesting enough that LGS used internal libraries for later projects such as Thief 1&2 and System Shock 2. FIX (fixed point arithmetic) presents in leaked Dark Engine source, some data structures such fonts and bitmaps representation taken from 2D library. I found myself reading changelogs from both sources and see code evolution. In time, some people lefts development, some arrives.
Acknowledged by: dertseha
1 Guest is here.
pluck up them worm holes
Contact SMF 2.0.19 | SMF © 2016, Simple Machines | Terms and Policies
FEEP
67416b9b41a08