[Gamestudio] BmapGS – Library for bitmap manipulations

For the TUST project I wrote a DLL for some advanced bitmap operations based on the cImg library. It contains for example functions like:

  • Blur
  • Resize
  • Mirror
  • Erode
  • Sharpen
  • Draw line, arrow, spline, triangle, rectangle, border, text

Have fun with it!

[Gamestudio] Leap Motion DLL

Today I finished a simple DLL to connect Gamestudio to the Leap Motion. Headers and DLL can be downloaded here. The plugin works with the Leap Motion SDK 0.7.6.

Download

Since I don’t know about the license, you have to download the SDK yourself and put the Leap.dll in the same directory as this plugin.

The device has to be enabled by calling leap_init() and can then be used, for instance, to get all hands (get_hand_count()) recognized by the device. The video below shows a quickly hacked demo.

Eine einfache Logging-Klasse in C++

Ich schreibe gerade an einigen DLLs für Gamestudio und hatte da das Problem, dass es nicht einfach ist diese zu Debuggen. Dafür habe ich hier eine einfache Logging-Klasse geschrieben die als Singleton agiert, er muss also nicht explizit initialisiert sondern einfach nur aufgerufen werden. Das geht so:

Logger::getInstance()->log("Skins: %i", 1);

Es ist also möglich, beliebig lange Argumentelisten zu verarbeiten. Das Log wird in der Datei “Log.txt” im Verzeichnis der Anwendung gespeichert.

Den Quelltext findet ihr hinter dem More-Tag. Viel Spaß damit!

Continue reading “Eine einfache Logging-Klasse in C++”

[Tutorial] Firefox Plugins mit Delphi

Durch Viermalbe’s Idee eine Add-On / Plugin für den Firefox zu entwickeln das einem das Einkaufen auf Amazon erheblich erleichtert bin ich drauf gekommen mal ein Tutorial zu schreiben, dass das Entwickeln von Plugins in Delphi für den Firefox erklärt. Lange Rede kurzer Sinn, hier ist das gute Stück 🙂

Plugin_Development_for_Mozilla_Firefox_with_Delphi.pdf