PROGRAMMING > Freebasic

TinyPTC Ext

(1/16) > >>

rbz:


Here's a new tinyptc version that I made for Shockwave some time ago, in this new version you will capable to switch to fullscreen or windowed mode when the app start, it uses directdraw and mmx routines, like the original tpc.
Here's the function list:

Standard ptc functions:
ptc_open
ptc_update
ptc_close

Tinyptc extension
ptc_setflip
ptc_getmousex
ptc_getmousey
ptc_getleftbutton
ptc_getrightbutton
ptc_setdialog
ptc_allowclose
ptc_getwindow
ptc_setmousewheel *new
ptc_getmousewheel *new

To install:
From "tinyptc_ext.rar" extract and copy the new tinyptc library ( libtinyptc_ext.a and libmmx.a) to this folder:
C:\FreeBasic\lib\win32
And "tinyptc_ext.bi" to the folder C:\FreeBasic\inc

If you need some example code, I'll post it later...

Have fun!

Shockwave:
Thank you for releasing this for everyone Rbraz. +10 Karma! It's a fabulous extension.

bbear:
thank you very much  :goodpost:

rbz:
No problem  :cheers:

Shockwave:
I just want to say that this extension has made *everything* I have done in FB possible. It is just perfect and very kind of you to release it so that people can use it. You've made a great thing there mate and it's the one thing I could not do without... Of course there are other things you have made that I need too, those are bin2bas and bmp2raw. You made my life so much easier with those things, I'll never be able to thank you enough.

Navigation

[0] Message Index

[#] Next page

Go to full version