Main > Main Forum

Adding message on Pause

(1/2) > >>

electricd:
Hello,

I am compiling a custom version of mame .110 and would like to add a message box to appear on the screen when the game is paused.  I simply want it to dim as it already does and say  "Paused" in the center of the screen in a box.  Can anyone suggest a method which might work for me to do this?  Thanks!

ED7

Ginsu Victim:
You can use CPwizard to do it....kinda

electricd:
OK.  I was trying to build it into the source if possible.  A long time ago I had a compile that had this built in, so when ever you hit the P command, it would dim and display "PAUSED" in the center of the screen.  Seems like it would be as simple as calling one of the "build menu" functions that show other information on MAME and pass the string "PAUSED" to it for the content, but i am not for sure.  Figured someone probably had a handle on it since I had seen it done at least once before.

bkenobi:
You might be better off looking at a derivative version of MAME since there might be one that already includes this feature.  Off the top of my head, you might consider MAMEFX (don't know if it does that, but it does a lot of other cool stuff).

electricd:
I found a function in the source called ui_popup() that seems to be used to display messages on top of MAME.  Not sure yet where it places the messages, but could something like this be used?

Navigation

[0] Message Index

[#] Next page

Go to full version