Commit Graph

196 Commits

Author SHA1 Message Date
Clément Le Bihan c9ae519e22 wip: trying to correctly resize renderer during tileviewer use 2021-07-25 19:49:38 +02:00
Clément Le Bihan 8270973d98 adding unit Tests and documentation for flipping function 2021-07-25 16:41:22 +02:00
Clément Le Bihan 3ed7e2677d adding tesunit tests and documentation for PPU utils 2021-07-25 15:27:36 +02:00
Clément Le Bihan 8d18ca89dc adding documentation 2021-07-13 23:18:32 +02:00
Clément Le Bihan 5784f86457 moving inline function definition in header file and using C++ for instead of for_each for screen rendering 2021-07-13 23:03:29 +02:00
Clément Le Bihan f094b57c87 using C++ for loops instead of std::for_each when possible 2021-07-13 22:50:00 +02:00
Clément Le Bihan 9692120626 misc fixes 2021-07-13 22:18:55 +02:00
Clément Le Bihan a835bd17b5 moving PPU Registers into separate file and some name cleanup 2021-07-13 22:00:09 +02:00
Clément Le Bihan 6964290dcf transforming the addBuffer function into a templated function to save time with level etc 2021-07-12 00:43:08 +02:00
Clément Le Bihan 8a158bbeb3 renaming getRealColor to CGRAMColorToRGBA and finishing great random test on 8bpp rander 2021-07-12 00:17:12 +02:00
Clément Le Bihan 09520658a1 adding test for render in 2bpp and using mesen formula for getRealColor function 2021-07-11 20:10:39 +02:00
Clément Le Bihan 8a84258c5a adding tests for the getPalette function 2021-07-11 19:15:46 +02:00
Clément Le Bihan 3002f9272e adding unit tests for TileRenderer but 8bpp test isn't finished 2021-07-09 01:17:37 +02:00
Clément Le Bihan c6899c6b63 push unit test passed 2021-07-08 01:09:26 +02:00
Clément Le Bihan c50df5ecda Merge branch 'catch' of github.com:AnonymusRaccoon/ComSquare into PPU
# Conflicts:
#	CMakeLists.txt
#	sources/PPU/Background.cpp
#	sources/PPU/Background.hpp
#	sources/PPU/PPU.hpp
2021-07-08 01:07:19 +02:00
Clément Le Bihan 79dcdebf70 more clean up using 4 backgrounds is working nicely 2021-07-08 00:51:06 +02:00
Clément Le Bihan 3964da9526 general clean up 2021-07-08 00:48:10 +02:00
Clément Le Bihan 5527a19348 really fixing ppu x and y 2021-07-08 00:28:05 +02:00
Clément Le Bihan 11c5ac8476 fixing ppu x and y 2021-07-08 00:13:59 +02:00
Clément Le Bihan 948b4cb51a fixing unit tests ci 2021-07-07 01:08:10 +02:00
Clément Le Bihan 8a4a515d4c updating debug registers result is better but it's weird 2021-07-07 01:05:23 +02:00
Clément Le Bihan 3e73370a9a try to make priority work but not yet functionnal 2021-07-07 00:40:50 +02:00
Clément Le Bihan 9f0f03ebed removing half of backgrounds (priority not functional) 2021-07-06 23:52:24 +02:00
Clément Le Bihan 213f1608a7 splitting more conveniently drawTile function 2021-07-06 23:13:37 +02:00
Clément Le Bihan 6e37b8f250 fixing small error 2021-07-06 22:45:58 +02:00
Clément Le Bihan 513edf3434 rm comment 2021-07-06 22:44:05 +02:00
Clément Le Bihan a3ddadacc5 opti in addBuffer (use of std::for_each) 2021-07-06 22:43:26 +02:00
Clément Le Bihan 00435259c4 opti in Merge2DArray 2021-07-06 22:33:01 +02:00
Clément Le Bihan b336a63769 moving addBuffer to utils 2021-07-06 22:21:11 +02:00
Clément Le Bihan f8a500972a renamming _tileMapsConfig to _tileMapMirroring 2021-07-06 22:14:54 +02:00
Zoe Roux f189821764 Reenabling the CPU debugger 2021-07-06 12:45:27 +02:00
Zoe Roux 6693c30df2 Fixing unit tests compilation 2021-07-05 20:46:48 +02:00
Zoe Roux 15fde029a7 Starting to reenable debuggers 2021-07-04 22:57:58 +02:00
Clément Le Bihan e0d46121a8 fixing hard to track dumb mistake 2021-07-04 22:43:02 +02:00
Clément Le Bihan ba43efe262 norm fix 2021-07-04 12:12:30 +02:00
Clément Le Bihan c5696946eb adding micro QoL changes segfault found in PPU while running rom 2021-07-04 12:09:15 +02:00
Clément Le Bihan 590078bf76 fixing missunderstanding of horizontal/vertical tilemap mirroring 2021-07-04 11:50:35 +02:00
Clément Le Bihan e4249b1576 clean up a const -> constexpr 2021-07-04 10:48:02 +02:00
Clément Le Bihan 5860c10653 refactor ppu x and y and little clean up 2021-07-04 10:31:25 +02:00
Clément Le Bihan 14618417a8 fixing ppu compil 2021-07-04 09:23:22 +02:00
Clément Le Bihan 5b900da44f modif addBuffer but PPU need x and y cleanup seriously 2021-07-04 01:38:51 +02:00
Clément Le Bihan 358977ff06 remiove unused add_buffer function 2021-07-04 00:20:53 +02:00
Zoe Roux a6414f6e1e Fixing the PPU compilation 2021-07-03 18:18:01 +02:00
Zoe Roux e1a6c8b9a9 Cleanin upo 2021-07-03 18:07:16 +02:00
Clément Le Bihan 6691a40c42 real fix for tilemap drawing 2021-07-03 17:47:30 +02:00
Clément Le Bihan 2bae2fcbc6 fixing issue with drawing tilemaps 2021-07-03 16:47:38 +02:00
Clément Le Bihan 59829a7c0c debugging weird error i think i found something 2021-07-03 15:59:55 +02:00
Clément Le Bihan c3d4638ce3 fixing some dumb errors and rm comments 2021-07-03 12:45:03 +02:00
Clément Le Bihan f3abfe823f moving ppu ctor debug into separate file 2021-07-03 12:42:10 +02:00
Clément Le Bihan eb47b3ed9a resetting tic tasc toe mode 2021-06-23 22:25:24 +02:00