Commit Graph

11573 Commits

Author SHA1 Message Date
Unknown W. Brackets
8af9f62f6b windows: Move rawinput stuff into its own file. 2014-01-19 11:59:11 -08:00
Henrik Rydgård
ba1cd37a45 Merge pull request #5141 from Bigpet/BezierThrough
Don't truncate spline/bezier through mode
2014-01-19 10:43:00 -08:00
Henrik Rydgård
f80adef3a3 Merge pull request #5144 from sum2012/cw-cheat2
Fixed cwcheat 0x0 >  0x80000000 bug
2014-01-19 10:34:10 -08:00
sum2012
588d67ac64 Fixed cwcheat 0x0 > 0x80000000 bug
Thanks @Kingcom
2014-01-19 23:55:42 +08:00
Peter Tissen
2f7243b5eb Don't truncate spline/bezier through mode
Don't truncate the through mode bit in the vertex type during
normalization. Normalization is used to convert different vertex types
to a singular normalized one but the through-mode bit should be preserved.

This only affects (fixes) spline and bezier draw commands. The only thing
that was broken was games that drew splines/beziers with through-mode and
have matricies that differ significantly from the identity (didn't load
identity before drawing).

This should not break anything and fix #5087 .
2014-01-19 16:53:14 +01:00
Henrik Rydgård
5508e62ed6 Merge pull request #5138 from sum2012/cw-cheat
cwcheat 0x0 auto detect bit
2014-01-19 05:43:17 -08:00
sum2012
9dbadb6b41 oop 2014-01-19 21:13:51 +08:00
Henrik Rydgård
63017328e4 Merge pull request #5142 from adrian17/master
Removed dead code from UI
2014-01-19 05:07:01 -08:00
adrian17
c52c2375c0 Removed dead code from UI 2014-01-19 13:51:24 +01:00
sum2012
290d1b2159 Correctly auto detect arg for 8,16,32 bit on 0x0 2014-01-19 20:49:08 +08:00
Henrik Rydgård
99804620ad Merge pull request #5136 from unknownbrackets/softgpu
Implement line texturing and allow force nearest (softgpu)
2014-01-19 01:21:23 -08:00
sum2012
4a4514120b oop 2014-01-19 13:47:35 +08:00
sum2012
9eaec5be58 cwcheat fix
Fix Criminal girls Money cheat
_S NPJH-50316
_G CRIMINALGIRLS
_C1 MONEY
_L 0x01693FF8 0x000AAE60
2014-01-19 13:41:16 +08:00
Unknown W. Brackets
4bb6a77519 softgpu: Cleanup DrawPoint a bit.
Mostly in DrawSinglePixel() now.
2014-01-18 20:50:38 -08:00
Unknown W. Brackets
8f5fc4f079 softgpu: Interpolate/texture lines and points.
Also, expand out pixels in lines, it's just too slow otherwise (30%
overhead or so.)
2014-01-18 20:48:48 -08:00
Unknown W. Brackets
e216032a8c softgpu: Separate out texturing logic.
This way it can be applied to other primitives.  But, this will probably
need larger changes to implement mipmapping.
2014-01-18 20:10:42 -08:00
raven02
4c25bb0365 softgpu: Let's try doubling before alpha blend.
Fixes #5122.
2014-01-18 19:58:28 -08:00
Unknown W. Brackets
08eecba6ba softgpu: Refactor pixel drawing to avoid code dup. 2014-01-18 19:57:12 -08:00
Unknown W. Brackets
01090f4ce7 softgpu: Respect the texture filering option.
Nearest is much faster, so you can force it to nearest for a good boost in
speed.
2014-01-18 16:39:46 -08:00
Unknown W. Brackets
b95f9cf9d1 softgpu: Don't call rectangles quads.
GLES has quads and they work pretty differently.
2014-01-18 16:39:07 -08:00
Unknown W. Brackets
2e91adc607 Oops, revert software transform breakage.
It will deal with getting the coords right, including in projection modes.
2014-01-18 15:44:04 -08:00
Henrik Rydgård
68a28904b9 Merge pull request #5134 from unknownbrackets/gpu-minor
Use 0 for texcoord when not specified in vertex.
2014-01-18 15:08:32 -08:00
Unknown W. Brackets
6eb493a842 Use 0 for texcoord when not specified in vertex.
Can't find any other unprotected attributes (well, position, but that
should always be specified) so this fixes #5133.

Also fixes #5124 for me.
2014-01-18 14:57:25 -08:00
Unknown W. Brackets
091ddd9f3f Android/Linux buildfix.
Arg, why?
2014-01-18 14:05:32 -08:00
Henrik Rydgård
34d2ffc6ff Merge pull request #5128 from unknownbrackets/jit-minor
Cut down on void * casts within jit
2014-01-18 12:45:50 -08:00