Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 20:05
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,438 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
mouse_mode = 0 doesn't hide mouse #152259
09/05/07 20:46
09/05/07 20:46
Joined: Aug 2007
Posts: 26
S
SteveA Offline OP
Newbie
SteveA  Offline OP
Newbie
S

Joined: Aug 2007
Posts: 26
Am I reading the docs incorrectly? I set "mouse_mode = 0" at the beginning of main but the mouse still appears. The only other mouse activity I have is to get the value of mouse_force.x and .y.

Re: mouse_mode = 0 doesn't hide mouse [Re: SteveA] #152260
09/05/07 20:58
09/05/07 20:58
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
mouse_mode = 0 does not effect the mouse_map
You need to set
mouse_mode = 0;
mouse_map = null;

Re: mouse_mode = 0 doesn't hide mouse [Re: Xarthor] #152261
09/05/07 21:43
09/05/07 21:43
Joined: Mar 2007
Posts: 677
0x00000USA
M
MrCode Offline
User
MrCode  Offline
User
M

Joined: Mar 2007
Posts: 677
0x00000USA
Actually, mouse_mode= 0 does hide it for me, regardless of mouse_map.


Code:
void main()
{
    cout << "I am MrCode,";
    cout << "hear me roar!";
    system("PAUSE");
}
Re: mouse_mode = 0 doesn't hide mouse [Re: MrCode] #152262
09/05/07 22:17
09/05/07 22:17
Joined: Aug 2007
Posts: 26
S
SteveA Offline OP
Newbie
SteveA  Offline OP
Newbie
S

Joined: Aug 2007
Posts: 26
Neither:

mouse_mode = 0;
mouse_map = NULL;

Or simply:

mouse_mode = 0;

Hide the mouse for me.

I've tried the default video_mode as well as setting video_mode = 8.

I set the above mouse_* variables in the first line of main(), as well as scattering them around (first, after video mode, after loading world, etc) and I still see a mouse...

Any ideas?

Thanks,

Steve

Re: mouse_mode = 0 doesn't hide mouse [Re: SteveA] #152263
09/06/07 05:52
09/06/07 05:52
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline
Serious User
vlau  Offline
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
To switch off mouse over the window
write

mouse_pointer = 0;

in your script.

Re: mouse_mode = 0 doesn't hide mouse [Re: vlau] #152264
09/06/07 09:45
09/06/07 09:45
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
lol .. yeah vlau is right
Sorry I was thinking you mean the engine mouse cursor and not the windows mouse cursor.

Re: mouse_mode = 0 doesn't hide mouse [Re: vlau] #152265
09/06/07 15:30
09/06/07 15:30
Joined: Aug 2007
Posts: 26
S
SteveA Offline OP
Newbie
SteveA  Offline OP
Newbie
S

Joined: Aug 2007
Posts: 26
Perfect! Thanks.

Re: mouse_mode = 0 doesn't hide mouse [Re: SteveA] #152266
09/28/07 05:14
09/28/07 05:14
Joined: Sep 2007
Posts: 19
L
LiDoStudio Offline
Newbie
LiDoStudio  Offline
Newbie
L

Joined: Sep 2007
Posts: 19
I set:

mouse_mode = 2;
mouse_map = <arrow_pan>;

but i don't see my mouse in the game screen.

Re: mouse_mode = 0 doesn't hide mouse [Re: LiDoStudio] #152267
09/28/07 16:15
09/28/07 16:15
Joined: Aug 2004
Posts: 2,215
I
ISG Offline

Expert
ISG  Offline

Expert
I

Joined: Aug 2004
Posts: 2,215
@LiDoStudio

Please look in the manual at the script given to do the mouse cursor, it's a little more complex than just that.


Ground Tactics - Coming Soon
Ground Tactics OFFICIAL WEBSITE

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1