adelikat
e32eaeeb9a
More code cleanup
2013-04-16 00:19:31 +00:00
goyuken
e8a54aaeed
luaimplementation: input.getmouse(): button fields are now bools. position fields are now in emulated screen coordinates. no, it doesn't quite work right for some cases of window sizing... so don't do that!
2012-12-20 21:40:03 +00:00
goyuken
e95efcb91b
throttling UI is now set up to be done in one of three ways: sound, vsync, timer. in addition, there's an option to use vsync even when not throttling to it (but this doesn't really work too well...)
2012-11-12 17:57:11 +00:00
zeromus
930f680fc6
change d3d renderer to use a less unstable method for updating textures. shouldnt really affect performance any. some gpu drivers dont support the trick that was being used.
2012-10-20 19:57:49 +00:00
goyuken
927fb7070c
sound throttle now respects forced throttle off (user hits fastfoward button, etc)
2012-10-10 17:19:51 +00:00
goyuken
039987cbd3
implement blurry mode for GDI drawing. it actually looks a good bit different than d3d blurry?
2012-10-08 15:35:18 +00:00
goyuken
2e70656dde
add bilinear filter display option (d3d only)
2012-10-01 02:30:25 +00:00
goyuken
f1a31bcac8
kill sound during d3d "reacquire" loop
2012-09-26 14:22:57 +00:00
goyuken
240a2e2425
fix d3d devicelost errors, maybe.
...
more feedback is needed.
2012-09-26 14:01:54 +00:00
beirich
90d1d12086
gen: fix some vram corruption issues
...
general: fix some build warnings
2012-09-09 21:15:20 +00:00
adelikat
379e724d34
Render Panel - some tiny speedups
2012-08-11 22:38:40 +00:00
zeromus
4435b58c0b
fix messages (e.g. savestates) anchored to bottom or right of window
2012-06-17 23:07:57 +00:00
zeromus
c7925d986c
delete display manager threading. fix gdi+ leaks in lua code. add abstracted OSD drawing "blitter" system for sysdrawing/d3d dual compatibility and framework for future use for faster lua drawing.
2012-06-10 23:27:30 +00:00
zeromus
07ad0acdbe
displaymanager experiments for superior vsync
2012-06-10 20:48:04 +00:00
zeromus
2b5fd9e8d9
display manager speedup-dont use any gdi+ unless absolutely necessary (d3d renderer less sensitive to window size)
2012-06-10 19:52:54 +00:00
zeromus
51547d208a
no blurry presentation on ati cards by setting minify filter to point. to be honest, i cant fathom why this fixed it, since we're magnifying, not minifying. maybe its auto-aniso heuristic was getting triggered. further research: setting card to fixed 2x aniso disables heuristics and would have fixed this issue, since the correct mag filter (point) would get chosen as we specified. however this fix is still technically correct.
2012-06-10 03:53:32 +00:00
zeromus
5b86a9c375
emergency measures to return display thread stuff to the way it was before (i think? i hope?) as a reasonable baseline when no video pipeline fanciness is called for (no lua overlay, for instance) so that this is useful for gaming again. also add a toggle for the entire HUD system which bypasses some extra work for people stuck in sysdrawing mode who need more speed.
2012-06-10 02:19:36 +00:00
Rolanmen1
f637f5f400
gui.text now has a line color parameter.
2012-04-24 15:23:56 +00:00
rolanmen1
cefc803425
gui.text now accepts BackgroundColor parameter. I didn't had enough time to check stuff, so i will check more deeply some other time.
2012-04-24 03:57:23 +00:00
zeromus
35fbe354c1
add threaded display manager to allow heavy OSD/compositing/filtering to happen on another thread. add a lua layer accessible via GDI+ which can be automatically composited and the simplest possible demo of it. add some filtering infrastructure and a hq2x filter set ported to c# but need to work on a minimal selector gui before its usable. separate OSD from RenderPanel so that gdi+ presentation mode now gets full OSD support. the OSD is now a little uglier because its drawn entirely differently and could use some finetuning
2012-04-16 08:18:41 +00:00
adelikat
9e0e6407b3
Revamp the Punchout stats using the anchor property of gui.text()
2012-03-27 02:17:17 +00:00
adelikat
3f83614629
Overhaul anchoring of messages on screen, anchor right now right aligns, and the x value is the number of pixels from the right edge. This fixes the behavior of the messages config as well as gui.text() and Ram Watch on screen option.
2012-03-27 00:46:58 +00:00
brandman211
cba68551d0
-Removed LuaVarArgs from gui_text. I think this function is pointless and over complicates things; let me know if you agree based on this example.
...
-Fixed DrawMessages, which was setting y = x, making the y parameter of gui.text useless.
2012-03-26 14:48:05 +00:00
adelikat
7daf318134
gui.text() - add a 5th parameters "anchor" that will anchor the text to top, left, bottom, or right. Same functionality as the message config anchor option.
2012-03-26 02:58:24 +00:00
peter
e310e90d9f
Conditionally compile Windows code, make Throttle class portable, and add dummy input/audio implementations for non-Windows
...
This is (almost, bar some local resource hacks) enough to start the
emulator on Linux/Mono, load a ROM and watch the demo (input and
audio don't work yet).
2012-03-12 04:44:34 +00:00
adelikat
635ae613a4
Ram Watch - when drawing watches on screen, use alert font for frozen addresses
2012-03-11 00:50:06 +00:00
andres.delikat
08fcaede91
Slight tweak to rendering of on screen ram watch, display separator watches as ----
2011-09-13 00:29:54 +00:00
andres.delikat
7db54e08a8
Add a GUITextList class and methods to RenderPanel, similar behavior to AddMessage except that the x,y can be set, and duration has no time limit (and should be handled by the caller). The intent is for an on screen Ram Watch feature, and eventually a way to do the Lua function gui.text()
2011-09-11 23:31:46 +00:00
zeromus
60f2b411b6
dont vsync when fastforwarding or unthrottling
2011-09-04 05:18:38 +00:00
andres.delikat
a84f881c5c
Movies - Remove UserMovie and change all references to it to Global.MovieSession.Movie, fix error in CheckTime Line logic, read-only savestates should now work
2011-09-03 18:07:30 +00:00
andres.delikat
be4ce1dce7
Fix Input Display during movie playback/recording to be the previous frame, not the upcoming frame
2011-08-29 23:33:57 +00:00
andres.delikat
f9ecea8464
RenderPanel - DrawScreenInfo() - clean up a lot of sloppy code and optimize some things
2011-08-27 01:50:44 +00:00
beirich
956fb42191
Fix unmanaged/VRAM memory leak causing eventual crashes once VRAM is exhausted
2011-07-26 04:26:20 +00:00
zeromus
5580295085
movie input refactoring
2011-07-24 23:14:16 +00:00
andres.delikat
f4d02ff49e
Some code cleanup on Mainform, also moved all the mainform movie functions to their own file
2011-07-22 01:14:13 +00:00
andres.delikat
72699b4ad7
another round of refactoring the Movie object
2011-07-17 17:52:39 +00:00
andres.delikat
e6b2c794d4
Refactor the movie object, replacing Getfunctions with public properties, renaming of some functions, removing a duplicate function, other misc things
2011-07-17 14:39:15 +00:00
andres.delikat
b551d9dbdd
Movie Subtitles - in Edit Subtitle dialog, parse color value as hex, in render panel read the subtitle color
2011-07-16 02:11:51 +00:00
andres.delikat
9ea996b0fe
Message config - add movie input color
2011-07-10 03:13:07 +00:00
andres.delikat
f89070f6ad
Display subtitles option
2011-07-10 00:04:33 +00:00
andres.delikat
f3e4cdcd16
Rip out "wasPressed" code, remove debug code left in by accident from inputwidget
2011-07-09 23:35:26 +00:00
andres.delikat
a22cade8df
Frame Counter Display - remove debug movie length counters, they have served their purpose
2011-07-08 03:04:36 +00:00
andres.delikat
505a8baab4
Subtitles - finish parsing all parameters, make render panel use all parameters but color (for now)
2011-07-04 18:04:56 +00:00
andres.delikat
4ff95ffc3c
Message config - less cluttered color config, add movie messages to color config
2011-07-01 02:43:08 +00:00
zeromus
0aa234282e
phase 1 of fixing up controller logic. tell me how terribly ive broken the movie code. might want to fix it before moving on to phase 2 or decide to revert.
2011-06-27 05:31:46 +00:00
andres.delikat
3a15dd6bb9
Basic subtitle loading and rendering. Still lots of todos but basic functionality now exists
2011-06-26 16:39:48 +00:00
zeromus
316720baf4
boot up without crashing on systems without HWTransformAndLight
2011-06-22 01:57:37 +00:00
beirich
dfda7d909b
Don't die when D3D9 device is lost
2011-06-21 02:01:51 +00:00
andres.delikat
8bdd5d58aa
Anchor Play/Record messages to right edge of screen
2011-06-19 20:08:27 +00:00
andres.delikat
23613ffa27
Make Fullscreen only happen on Double Left Click
2011-06-18 19:25:41 +00:00