Undocumented features / functions

This forum is for the Lua scriptable clone of DM/CSB called Dungeon Strikes Back by Sophia. Use DSB to build your own highly customised games.

Moderator: Sophia

Forum rules
Please read the Forum rules and policies before posting.
Post Reply
User avatar
Gambit37
Should eat more pies
Posts: 13720
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Undocumented features / functions

Post by Gambit37 »

I've noticed there's quite a few undocumented features on the wiki, so I've started adding descriptions for things that I've tested. For example, I've recently added details about dsb_text_size() and dsb_mouse_state().

However, there are many functions which I don't fully understand, so I can't document them accurately. I'm happy to update the wiki on an ad-hoc basis, if I can get some details on these undocumented features. If you're OK with that Sophia?

Can I start by asking what does dsb_mouse_override() do?
User avatar
Sophia
Concise and Honest
Posts: 4240
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: Undocumented features / functions

Post by Sophia »

Thanks, that would be very helpful!

You pass dsb_mouse_override a bitmap and DSB will then use that bitmap as the mouse pointer, until you pass it a nil or false or some other bitmap. This is useful if you've got a custom GUI where you want to have more mouse pointer states than just the mouse pointer and the mouse hand.
User avatar
Gambit37
Should eat more pies
Posts: 13720
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: Undocumented features / functions

Post by Gambit37 »

Great, thanks.
FYI, I've now added a page about fonts: https://dmwiki.atomas.com/wiki/DSB/Fonts
Post Reply