News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

[patch] Allegro hardware mouse pointer support

Started by swed, April 18, 2012, 07:21:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

swed

Hello!

Actually, when using allegro backend, mouse pointer is emulated by software (USE_SOFTPOINTER flag is automatically set in MakeFile).

Using the hardware pointer is nicer, and more comfortable in my opinion, and that's why I made this small patch.

Now, I can use the hardware pointer, or use the software one if I set the flag manually.

Hope that will be useful for someone !
Bye ;)

prissi

All the allegro version I have access do not support hardware pointer. That is why there was only software.

swed

For info, I tested with allegro 4.4.0.1 and it's ok.
(maybe depends on the OS too?)

prissi

Ok, I will test it. Maybe I did something wrong the last time this was used (which was still allegro 3.x)