Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
21 user(s) are online (13 user(s) are browsing Forums)

Members: 0
Guests: 21

more...

Support us!

Headlines

 
  Register To Post  

« 1 (2)
Re: Open Medal of Honor (BETA)
Just popping in
Just popping in


See User information
Also tested SDL_CaptureMouse. And same as Maijestro. The mouse pointer remains visible within the window.

Go to top
Re: Open Medal of Honor (BETA)
Quite a regular
Quite a regular


See User information
Thanks both. No only is it visible, but you are also able to move the mouse out of the constraints of the window?

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top
Re: Open Medal of Honor (BETA)
Just popping in
Just popping in


See User information
It looks as it works when you start (the pointer stops at border once) and then stops working when you have touched an edge.


Edited by TearsOfMe on 2025/4/2 10:27:10
Go to top
Re: Open Medal of Honor (BETA)
Just can't stay away
Just can't stay away


See User information
@rjd324

Maybe using "SDL_SetWindowGrab(win, SDL_TRUE)" that doesn't let the mouse/curosr get out from the win(dow)


EDIT1: Ooops already using above function. Anyway you can check in http://github.com/smarkusg/OpenFodder how is done (window.cpp), but can't remember where/how it hides WB cursor.


Edited by jabirulo on 2025/4/2 12:51:04
Go to top
Re: Open Medal of Honor (BETA)
Quite a regular
Quite a regular


See User information
Either the example code is not doing what I think it should be doing, or there is an issue in the SDL version I am using. I will just test this out later. I am hoping @capehill reads these messages.

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top
Re: Open Medal of Honor (BETA)
Just can't stay away
Just can't stay away


See User information
@all

I have already observed this behavior under dosbox staging, it behaves the same as in Medal of Hornor.

The current version of SDL2 was also used here. Take a look at The window and the toll pointer is also visible in the full screen.

In the last part of the video, where I run Win95, you can see this clearly





@capehill

Could an error have crept into SDL2 here?

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top
Re: Open Medal of Honor (BETA)
Quite a regular
Quite a regular


See User information
Yeah, I can confirm it.

I just built the same small example using SDL version 2.24.0 and it works as expected.

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top
Re: Open Medal of Honor (BETA)
Quite a regular
Quite a regular


See User information
I have now rebuilt the release reverting to SDL version 2.24.0. It looks like #1 is no longer an issue. Please test it: r732.

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top
Re: Open Medal of Honor (BETA)
Not too shy to talk
Not too shy to talk


See User information
@rjd324

Yes r732 fixes mouse pointer problem.

Although based on Quake engine, it looks like MOHAA is too demanding for Sam 460. It works like 1-2 fps on Sam460 + RX-550.

On X5000 it is really fun to play.

I wish I can buy you a beer, but Paypal doesn't work in my country :(

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: Open Medal of Honor (BETA)
Just can't stay away
Just can't stay away


See User information
@rjd324

Quote:
rjd324 wrote:I have now rebuilt the release reverting to SDL version 2.24.0. It looks like #1 is no longer an issue. Please test it: r732.


yeahhooooo that's it. Mouse pointer with r732 has disappeared...nice. So we have a SDL2 problem or the engine uses an older version and is not compatible ?

I recommend everyone to install update/patch 1.11 for Medal of Hornor for the game files. Without it there were significant problems and the fps in some level sections broke below 15fps. With the patch/update it feels like a good 30 FPS all the time. I didn't expect this, but it shows that our GFX drivers are good.

Gameplay is really great and it's fun

Ok what remains:

- DSI problem when starting Medal of Hornor (bsdsocket.library)
- no sound in the main intro

Thanks rjd324

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top

  Register To Post
« 1 (2)

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project