Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / STYX for DarkBASIC Classic?

Author
Message
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 20th Aug 2007 14:05
Would anybody be interested in a STYX version for DBC?
Obviously it wouldn't include some DBPro specific command sets, but these are possible:

COM, ActiveX, .NET
Commands in this section allow you to load COM, ActiveX or .NET DLLs (and one of their classes). Once loaded you can create new instances, call COM functions, check for the existence of COM classes, register DLLs and set/get values.

Dialogs
Open up standard Windows dialogs with a single call. Dialogs supported include: Color Picker, Folder Selection, Open File, Save File and Message Boxes. Full control over the properties of each dialog are included.

File Names and File Paths
A selection of commands to make working with files easier. Commands such as: Add/Remove Backslash, Change File Extensions, Expand Filename (turn the relative file name into a fully qualified path name by merging in the current drive and directory), Extraction commands to obtain the Drive, Extension, File Name and Path. There are also commands for Temp file handling, including the ability to create Temp Files that live in the Windows Temp folder.

Flash Movies
A set of commands to allow for the loading and playing of Flash movies within DarkBASIC. You can load and position Flash files (up to 256 of them), resize them, rewind them, fast forward, set the frame rate, pass vars into the Flash movie, set the background colour, find out the width, height and other attributes, and finally delete them from memory. If you've ever wanted to use Flash to create a smart looking intro sequence or main menu to your game, now you can!

INI Files
INI files are great for storing local settings without messing with the users Registry. These commands help you manage ini files quickly and easily. You can open them, read data from them, write to them, erase them, check for existing sections, count the values and perform validation and setting of data.

Number Operations
Number and Math related commands include: Even (check if the given value is even or not), High Byte Order commands (to return high byte values) for Bytes, Words and Longs. Low Order Byte commands to return Low order values from Bytes, Words and Longs. Make Double Integer to create double int values (by combining two DWords). Also included as MAX, MIN and ODD commands to return their respective values (MAX tells you which value is highest, etc). The latest version includes a set of bit manipulating commands as well. Additionally you'll find an expression evaluator that resolves numerical expressions during run time.

String Operations
Styx provides various string commands such as TRIM, LTRIM, RTRIM, SPLIT, REPLACE, INSTR, INSERT, DELETE, COPY and COMPARE. A powerful and customizable tokenizer helps you to analyse strings.

Window Shaper
Shape the DarkBASIC window to any form you like, set the transparency of the splash window, allow the shaped window to be dragged (or not) and check if the user is within the drag zone.

XML Files
The final section of STYX allows for XML file handling. You can create a new XML file in memory or load one, and then add/remove nodes and set node attributes and values. You can set nodes to root, parent or child status and iterate through the nodes. The resulting changes can be saved back again.

Zombie 20
18
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 20th Aug 2007 15:14
Not sure if I would really use it but hey thanks for the heads up..always glad to see that things are still evolving for classic, I love it.

Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 20th Aug 2007 20:26
I wouldn't have thought this was possible for DBC but if you can it would be awesome!

Your signature has been erased by a mod because it was rubbish.
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 20th Aug 2007 21:50
While it's possible, the question is are there enough people interested in it.

Pixelator
17
Years of Service
User Offline
Joined: 8th Jul 2007
Location: here
Posted: 20th Aug 2007 21:51
IAM!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
pick me!!!!!!!

(Y=M*X+B)=(X=(Y-B)/M)=(B=Y-M*X)=(M=Y-B/X)
and if you can figure out what it means i will give you a cookie.

Login to post a reply

Server time is: 2025-05-30 13:28:25
Your offset time is: 2025-05-30 13:28:25