The International Simutrans Forum

Development => Patches & Projects => Topic started by: swed on April 18, 2012, 07:21:27 PM

Title: [patch] Allegro hardware mouse pointer support
Post by: swed on April 18, 2012, 07:21:27 PM
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 ;)
Title: Re: [patch] Allegro hardware mouse pointer support
Post by: prissi on April 18, 2012, 07:52:35 PM
All the allegro version I have access do not support hardware pointer. That is why there was only software.
Title: Re: [patch] Allegro hardware mouse pointer support
Post by: swed on April 18, 2012, 08:17:35 PM
For info, I tested with allegro 4.4.0.1 and it's ok.
(maybe depends on the OS too?)
Title: Re: [patch] Allegro hardware mouse pointer support
Post by: prissi on April 18, 2012, 09:18:40 PM
Ok, I will test it. Maybe I did something wrong the last time this was used (which was still allegro 3.x)