F0X Posted May 20, 2009 Posted May 20, 2009 '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,
Zool@nder Posted May 21, 2009 Posted May 21, 2009 take a look at linkthe offical package has a lot of example writen in almost all languagesAnd of course there's a C example with a devC++ project file under : ufmod-1.25.2a-win32.7z\Examples\C
F0X Posted May 21, 2009 Author Posted May 21, 2009 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.
Killboy Posted May 21, 2009 Posted May 21, 2009 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...
F0X Posted May 22, 2009 Author Posted May 22, 2009 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now