| 1 | #cxx . . $ `<file>/mednafen/wswan/gfx.h`/ifndef __WSWAN_GFX_H |
| 2 | #define __WSWAN_GFX_Hcxx . . $ `mednafen/wswan/gfx.h:2:9`! |
| 3 | |
| 4 | #include "../state.h"cxx . . $ `<file>/mednafen/state.h`/ |
| 5 | #include "../video.h"cxx . . $ `<file>/mednafen/video.h`/ |
| 6 | |
| 7 | #ifdef __cplusplus |
| 8 | extern "C" { |
| 9 | #endif |
| 10 | |
| 11 | extern uint8cxx . . $ uint8# wsTCachecxx . . $ wsTCache.[512*64]; //tiles cache |
| 12 | extern uint8cxx . . $ uint8# wsTCacheFlippedcxx . . $ wsTCacheFlipped.[512*64]; //tiles cache (H flip) |
| 13 | extern uint8cxx . . $ uint8# wsTCacheUpdatecxx . . $ wsTCacheUpdate.[512]; //tiles cache flags |
| 14 | extern uint8cxx . . $ uint8# wsTCache2cxx . . $ wsTCache2.[512*64]; //tiles cache |
| 15 | extern uint8cxx . . $ uint8# wsTCacheFlipped2cxx . . $ wsTCacheFlipped2.[512*64]; //tiles cache (H flip) |
| 16 | extern uint8cxx . . $ uint8# wsTCacheUpdate2cxx . . $ wsTCacheUpdate2.[512]; //tiles cache flags |
| 17 | |
| 18 | |
| 19 | extern uint8cxx . . $ uint8# wsTileRowcxx . . $ wsTileRow.[8]; //extracted 8 pixels (tile row) |
| 20 | extern int wsVModecxx . . $ wsVMode.; //Video Mode |
| 21 | |
| 22 | void wsMakeTilescxx . . $ wsMakeTiles(49f6e7a06ebc5aa8).(void); |
| 23 | void wsGetTilecxx . . $ wsGetTile(b565df6bee9b73e5).(uint32cxx . . $ uint32#,uint32cxx . . $ uint32#,int,int,int); |
| 24 | void wsSetVideocxx . . $ wsSetVideo(918ebd27a9ddbad3).(int, boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`!); |
| 25 | void WSWan_TCacheInvalidByAddrcxx . . $ WSWan_TCacheInvalidByAddr(cb2f890c2fdad230).(uint32cxx . . $ uint32#); |
| 26 | |
| 27 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! wsExecuteLinecxx . . $ wsExecuteLine(2bff9fec511e2efe).(MDFN_Surfacecxx . . $ MDFN_Surface# *surface, boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! skip); |
| 28 | |
| 29 | void WSwan_SetMonoPalettecxx . . $ WSwan_SetMonoPalette(2029de666eaec704).(int depth, uint32cxx . . $ uint32# mono_start, uint32cxx . . $ uint32# mono_end); |
| 30 | |
| 31 | void WSwan_SetPixelFormatcxx . . $ WSwan_SetPixelFormat(2029de666eaec704).(int depth, uint32cxx . . $ uint32# mono_start, uint32cxx . . $ uint32# mono_end); |
| 32 | |
| 33 | void WSwan_GfxInitcxx . . $ WSwan_GfxInit(49f6e7a06ebc5aa8).(void); |
| 34 | |
| 35 | void WSwan_GfxResetcxx . . $ WSwan_GfxReset(49f6e7a06ebc5aa8).(void); |
| 36 | |
| 37 | uint8cxx . . $ uint8# WSwan_GfxReadcxx . . $ WSwan_GfxRead(32407b39b2dfce37).(uint32cxx . . $ uint32# A); |
| 38 | |
| 39 | int WSwan_GfxStateActioncxx . . $ WSwan_GfxStateAction(a45b884b8cf568d5).(StateMemcxx . . $ StateMem# *sm, int load, int data_only); |
| 40 | |
| 41 | void wsScanlinecxx . . $ wsScanline(9ead97ff5579f406).(uint16cxx . . $ uint16# *target, int depth); |
| 42 | |
| 43 | extern uint32cxx . . $ uint32# dx_rcxx . . $ dx_r.,dx_gcxx . . $ dx_g.,dx_bcxx . . $ dx_b.,dx_srcxx . . $ dx_sr.,dx_sgcxx . . $ dx_sg.,dx_sbcxx . . $ dx_sb.; |
| 44 | extern uint32cxx . . $ uint32# dx_bitscxx . . $ dx_bits.,dx_pitchcxx . . $ dx_pitch.,cmovcxx . . $ cmov.,dx_linewidth_blitcxx . . $ dx_linewidth_blit.,dx_buffer_linecxx . . $ dx_buffer_line.; |
| 45 | |
| 46 | void WSwan_GfxWritecxx . . $ WSwan_GfxWrite(cc289a6b3dfc48da).(uint32cxx . . $ uint32# A, uint8cxx . . $ uint8# V); |
| 47 | void WSwan_GfxWSCPaletteRAMWritecxx . . $ WSwan_GfxWSCPaletteRAMWrite(cc289a6b3dfc48da).(uint32cxx . . $ uint32# ws_offset, uint8cxx . . $ uint8# data); |
| 48 | |
| 49 | void WSwan_SetLayerEnableMaskcxx . . $ WSwan_SetLayerEnableMask(2c44cd906ae4e829).(uint64cxx . . $ uint64# mask); |
| 50 | |
| 51 | #ifdef __cplusplus |
| 52 | } |
| 53 | #endif |
| 54 | |
| 55 | |
| 56 | #endif |