Note: FilePlanet is no longer being updated and is in the process of being archived.

Dungeon Siege DLL Skrit Wrapper

File Info: Dungeon Siege DLL Skrit Wrapper

Title:
Dungeon Siege DLL Skrit Wrapper
Author:
www.the-elemental.net
Created:
11/11/2003
Updated:
11/11/2003
Downloads:
 
User Rating

/5.0

Description: Dungeon Siege DLL Skrit Wrapper

This is a static library that emulates Dungeon Siege skrit execution within DSDLL's.



This is a static library that emulates skrit execution within DSDLL's. It's a somewhat kludgy solution to the problem of exposure of GPG's functions within DSDLL's -- it uses real-time polling of messages to dynamically execute skrit commands pushed onto the pseudo-stack by your DSDLL. Included in the package is:

A static library and header to be linked with your DSDLL to allow execution of skrit
Sample .cpp and .skrit source files and a pre-tanked sample .dsres file to demonstrate the mechanism
A README.txt doc that should hopefully explain everything that you need to know to get started

Caveats (yes, there are some here as well :P):

Having a timer constantly polling during gameplay may affect performance. I've been testing this out some and my game doesn't seem adversely affected, but YMMV.
There is no guarantee that DSDLL commands following the call to execute the skrit will execute AFTER the message is processed. If you're familiar with threaded programming, just view the call as spawning a thread. Try not to make assumptions about its execution time.
I didn't add return value processing at all, as that's a whole other headache. I'll look into adding a type system and string processing to allow you to grab return values as well soon.

Less Information
More Information »

Related Information

Featured Promotions

  • Monday Mod: Dead Island - Wardrop

    Dead Island - Wardrop Mod

    Turn Dead Island into a true zombie apocalypse and prepare to face over 100x more zombies, including enough ammo you need to fight them off.

  • Minecraft Creations Wallpaper

    Minecraft Creations Wallpaper

    These beautiful wallpapers are more than scenic shots of Minecraft, but actual in-game creations from its fan-base.