Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Questio] uFModLib in C++

Featured Replies

Posted

'ello tuts4you and the SnD team,

long time I've been here, long time I've been on the

net actually,

But I gotta ask, is there someone so kind to type me up

a simple template-ish C++ code for Dev-C++ for

the use with ufmodlib ?

I'm coding a demointro, but I haven't really looked

into ufmodlib in C++ yet, the documentation isn't

that proper also.

I might post up the intro when It's done, with the

according Thanks to ofcourse, if someone gets the

template together ;)

Cheers,

take a look at link

the offical package has a lot of example writen in almost all languages

And of course there's a C example with a devC++ project file under : ufmod-1.25.2a-win32.7z\Examples\C

  • Author

Well I have already seen the package, it doesn't have a Dev-C++ version,

Also, their examples have allot of extra stuff I don't need.

I was just wondering if there was a C++ coder that could

help me out a bit. ;)

I'm not at my own box right now so I cant post any code.

What you have to know is how to add ufmod.lib (grab it from the masm folder, I prefer it over using the obj) to your project.

Include ufmod.h and call UFMOD_Play (something like that).

There should be 2 or 3 params. One states whether the xm is in memory or resources. The second takes the mem address or res id.

If the examples from the archive dont help, pm me your msn or something. Will take a while until I can go online again though...

  • Author

K I'll PM you lateron Killboy, but if anyone that does have internet have any simple example with all the files

It would be really appreciated :P

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.