add instable draw function (incomplete)

This commit is contained in:
util1 2019-07-25 18:13:22 +02:00
parent 04eb7747d9
commit 34adcfb835
9 changed files with 309 additions and 242 deletions

BIN
1v13D.g1a

Binary file not shown.

View File

@ -17,7 +17,7 @@ Archive member included to satisfy reference by file (symbol)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
build-fx/src/controls.o (_dfont)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dpixel.c.o)
build-fx/src/main.o (_dpixel)
build-fx/src/FxEngine/face.o (_dpixel)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dimage.c.o)
build-fx/src/controls.o (_dimage)
/home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o)
@ -295,7 +295,7 @@ LOAD build-fx/assets/fonts/FxEngine.png.o
LOAD /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a
LOAD /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
0x0000000000300000 _brom = 0x300000
0x0000000000004eb4 _srom = ((((0x200 + SIZEOF (.text)) + SIZEOF (.rodata)) + SIZEOF (.gint.drivers)) + SIZEOF (.gint.blocks))
0x0000000000004ffc _srom = ((((0x200 + SIZEOF (.text)) + SIZEOF (.rodata)) + SIZEOF (.gint.drivers)) + SIZEOF (.gint.blocks))
.pretext 0x0000000000300200 0x890
*(.pretext.entry)
@ -334,7 +334,7 @@ LOAD /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
*(.dtors .dtors.*)
0x0000000000300a90 _etors = .
.text 0x0000000000300a90 0x4290
.text 0x0000000000300a90 0x43d8
*(.text .text.*)
.text 0x0000000000300a90 0x154 build-fx/src/FxEngine/libprof.o
0x0000000000300a90 _prof_time
@ -354,265 +354,265 @@ LOAD /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
0x0000000000301490 _FE_get_fps_current
0x00000000003014b0 _FE_get_fps_min
0x00000000003014d0 _FE_get_fps_max
.text 0x00000000003014f0 0x4 build-fx/src/FxEngine/face.o
.text 0x00000000003014f0 0x124 build-fx/src/FxEngine/face.o
0x00000000003014f0 _FE_draw_face
.text 0x00000000003014f4 0xb4 build-fx/src/FxEngine/zbuffer.o
0x00000000003014f4 _FE_zbuffer_clear
0x000000000030155c _FE_zbuffer_set_dist
.text 0x00000000003015a8 0x0 build-fx/src/main.o
.text.startup 0x00000000003015a8 0x7c build-fx/src/main.o
0x00000000003015a8 _main
.text 0x0000000000301624 0x74 build-fx/src/controls.o
0x0000000000301624 _init_controls
0x0000000000301634 _reload_fps_displaying
0x0000000000301658 _display_fps
.text 0x0000000000301698 0x150 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
0x00000000003017dc _clock_freq
.text 0x00000000003017e8 0x2c8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
0x000000000030198c _pollevent
0x0000000000301a78 _waitevent
.text 0x0000000000301ab0 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(hardware.c.o)
.text 0x0000000000301ab0 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(syscalls.S.o)
.text 0x0000000000301ab0 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(start.c.o)
.text 0x0000000000301ab0 0x1f4 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(mmu.c.o)
0x0000000000301ab0 _tlb_addr
0x0000000000301ac4 _tlb_data
0x0000000000301ad8 _tlb_mapped_memory
0x0000000000301bac _utlb_addr
0x0000000000301bbc _utlb_data
0x0000000000301bcc _utlb_mapped_memory
.text 0x0000000000301ca4 0x56c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
0x0000000000301fc4 _timer_setup
0x0000000000302054 _timer_delay
0x00000000003020b4 _timer_start
0x00000000003020e8 _timer_reload
0x0000000000302108 _timer_pause
0x000000000030213c _timer_stop
0x0000000000302198 _timer_timeout
0x00000000003021a4 _timer_address
0x00000000003021e0 _timer_clear
.text 0x0000000000302210 0x9c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
0x0000000000302210 _dsize
.text 0x00000000003022ac 0x50 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dpixel.c.o)
0x00000000003022ac _dpixel
.text 0x00000000003022fc 0x54 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dimage.c.o)
0x00000000003022fc _dimage
0x0000000000302330 _dsubimage
.text 0x0000000000302350 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o)
0x0000000000302350 _dupdate
0x0000000000302368 _dupdate_noint
.text 0x0000000000302374 0x4c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dclear.c.o)
0x0000000000302374 _dclear
.text 0x00000000003023c0 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.text 0x00000000003023c0 0xc00 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(stdio.c.o)
0x0000000000302ce8 _kprint_opt
0x0000000000302e20 _kprint
0x0000000000302ef8 _kvsprint
0x0000000000302f40 _sprintf
0x0000000000302f68 _vsprintf
0x0000000000302f88 _snprintf
0x0000000000302fa8 _vsnprintf
.text 0x0000000000302fc0 0xdc /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(memory.c.o)
0x0000000000302fc0 _memcpy
0x000000000030307a __memmove
0x000000000030307e __memcmp
0x0000000000303082 _memset
.text 0x000000000030309c 0x1d8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
0x0000000000303134 _t6k11_display
0x0000000000303208 _t6k11_contrast
0x0000000000303234 _t6k11_backlight
.text 0x0000000000303274 0x1c8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(getkey.c.o)
0x0000000000303274 _getkey_opt
0x00000000003033f4 _getkey
0x0000000000303400 _getkey_repeat
.text 0x000000000030343c 0x124 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(iokbd.c.o)
0x0000000000303448 _iokbd_row
0x0000000000303530 _iokbd_scan
.text 0x0000000000303560 0x170 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(setup.c.o)
0x0000000000303614 _gint_install
0x00000000003036b8 _gint_unload
.text 0x00000000003036d0 0x2c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(vbr.s.o)
0x00000000003036d0 _gint_setvbr
.text 0x00000000003036fc 0x78 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(gint.c.o)
0x00000000003036fc _gint_intlevel
0x0000000000303750 _gint_inthandler
.text 0x0000000000303774 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
.text 0x0000000000303774 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.S.o)
.text 0x0000000000303774 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
.text 0x0000000000303774 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti-asm.s.o)
.text 0x0000000000303774 0x3b0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(bopti.c.o)
0x0000000000303774 _bopti_grid
0x00000000003038ca _bopti_render
0x00000000003039d0 _bopti_render_clip
0x0000000000303ad8 _bopti_render_noclip
.text 0x0000000000303b24 0x9c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(masks.c.o)
0x0000000000303b24 _masks
.text 0x0000000000303bc0 0x60 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(bopti-asm.s.o)
0x0000000000303bc0 _bopti_asm_mono
0x0000000000303be6 _bopti_asm_mono_alpha
0x0000000000303c18 _bopti_asm_gray
0x0000000000303c1c _bopti_asm_gray_alpha
.text 0x0000000000303c20 0x78 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_movmem.o)
0x0000000000303c20 ___movstr
0x0000000000303c20 ___movmem
0x0000000000303c54 ___movmemSI64
0x0000000000303c54 ___movstrSI64
0x0000000000303c58 ___movstrSI60
0x0000000000303c58 ___movmemSI60
0x0000000000303c5c ___movmemSI56
0x0000000000303c5c ___movstrSI56
0x0000000000303c60 ___movstrSI52
0x0000000000303c60 ___movmemSI52
0x0000000000303c64 ___movstrSI48
0x0000000000303c64 ___movmemSI48
0x0000000000303c68 ___movstrSI44
0x0000000000303c68 ___movmemSI44
0x0000000000303c6c ___movstrSI40
0x0000000000303c6c ___movmemSI40
0x0000000000303c70 ___movstrSI36
0x0000000000303c70 ___movmemSI36
0x0000000000303c74 ___movmemSI32
0x0000000000303c74 ___movstrSI32
0x0000000000303c78 ___movmemSI28
0x0000000000303c78 ___movstrSI28
0x0000000000303c7c ___movstrSI24
0x0000000000303c7c ___movmemSI24
0x0000000000303c80 ___movmemSI20
0x0000000000303c80 ___movstrSI20
0x0000000000303c84 ___movstrSI16
0x0000000000303c84 ___movmemSI16
0x0000000000303c88 ___movmemSI12
0x0000000000303c88 ___movstrSI12
0x0000000000303c8c ___movmemSI8
0x0000000000303c8c ___movstrSI8
0x0000000000303c90 ___movmemSI4
0x0000000000303c90 ___movstrSI4
.text 0x0000000000303c98 0xa0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_sdivsi3.o)
0x0000000000303c98 ___sdivsi3
.text 0x0000000000303d38 0x6c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivsi3.o)
0x0000000000303d5a ___udivsi3
.text 0x0000000000303da4 0x1f0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
0x0000000000303da4 ___udivdi3
.text 0x0000000000303f94 0x348 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_addsub_df.o)
0x0000000000304238 ___adddf3
0x0000000000304288 ___subdf3
.text 0x00000000003042dc 0x208 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_mul_df.o)
0x00000000003042dc ___muldf3
.text 0x00000000003044e4 0x130 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_div_df.o)
0x00000000003044e4 ___divdf3
.text 0x0000000000304614 0x58 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_gt_df.o)
0x0000000000304614 ___gtdf2
.text 0x000000000030466c 0x58 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_ge_df.o)
0x000000000030466c ___gedf2
.text 0x00000000003046c4 0x58 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_lt_df.o)
0x00000000003046c4 ___ltdf2
.text 0x000000000030471c 0x58 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_le_df.o)
0x000000000030471c ___ledf2
.text 0x0000000000304774 0x98 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_si_to_df.o)
0x0000000000304774 ___floatsidf
.text 0x000000000030480c 0x8c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_df_to_si.o)
0x000000000030480c ___fixdfsi
.text 0x0000000000304898 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_thenan_df.o)
.text 0x0000000000304898 0x60 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udiv_qrnnd_16.o)
0x0000000000304898 ___udiv_qrnnd_16
.text 0x00000000003048f8 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
.text 0x00000000003048f8 0x54 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clzsi2.o)
0x00000000003048f8 ___clzsi2
.text 0x000000000030494c 0x240 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_pack_df.o)
0x000000000030494c ___pack_d
.text 0x0000000000304b8c 0xcc /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_unpack_df.o)
0x0000000000304b8c ___unpack_d
.text 0x0000000000304c58 0xc8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_fpcmp_parts_df.o)
0x0000000000304c58 ___fpcmp_parts_d
.text 0x0000000000301614 0xb4 build-fx/src/FxEngine/zbuffer.o
0x0000000000301614 _FE_zbuffer_clear
0x000000000030167c _FE_zbuffer_set_dist
.text 0x00000000003016c8 0x0 build-fx/src/main.o
.text.startup 0x00000000003016c8 0xa4 build-fx/src/main.o
0x00000000003016c8 _main
.text 0x000000000030176c 0x74 build-fx/src/controls.o
0x000000000030176c _init_controls
0x000000000030177c _reload_fps_displaying
0x00000000003017a0 _display_fps
.text 0x00000000003017e0 0x150 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
0x0000000000301924 _clock_freq
.text 0x0000000000301930 0x2c8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
0x0000000000301ad4 _pollevent
0x0000000000301bc0 _waitevent
.text 0x0000000000301bf8 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(hardware.c.o)
.text 0x0000000000301bf8 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(syscalls.S.o)
.text 0x0000000000301bf8 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(start.c.o)
.text 0x0000000000301bf8 0x1f4 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(mmu.c.o)
0x0000000000301bf8 _tlb_addr
0x0000000000301c0c _tlb_data
0x0000000000301c20 _tlb_mapped_memory
0x0000000000301cf4 _utlb_addr
0x0000000000301d04 _utlb_data
0x0000000000301d14 _utlb_mapped_memory
.text 0x0000000000301dec 0x56c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
0x000000000030210c _timer_setup
0x000000000030219c _timer_delay
0x00000000003021fc _timer_start
0x0000000000302230 _timer_reload
0x0000000000302250 _timer_pause
0x0000000000302284 _timer_stop
0x00000000003022e0 _timer_timeout
0x00000000003022ec _timer_address
0x0000000000302328 _timer_clear
.text 0x0000000000302358 0x9c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
0x0000000000302358 _dsize
.text 0x00000000003023f4 0x50 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dpixel.c.o)
0x00000000003023f4 _dpixel
.text 0x0000000000302444 0x54 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dimage.c.o)
0x0000000000302444 _dimage
0x0000000000302478 _dsubimage
.text 0x0000000000302498 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o)
0x0000000000302498 _dupdate
0x00000000003024b0 _dupdate_noint
.text 0x00000000003024bc 0x4c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dclear.c.o)
0x00000000003024bc _dclear
.text 0x0000000000302508 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.text 0x0000000000302508 0xc00 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(stdio.c.o)
0x0000000000302e30 _kprint_opt
0x0000000000302f68 _kprint
0x0000000000303040 _kvsprint
0x0000000000303088 _sprintf
0x00000000003030b0 _vsprintf
0x00000000003030d0 _snprintf
0x00000000003030f0 _vsnprintf
.text 0x0000000000303108 0xdc /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(memory.c.o)
0x0000000000303108 _memcpy
0x00000000003031c2 __memmove
0x00000000003031c6 __memcmp
0x00000000003031ca _memset
.text 0x00000000003031e4 0x1d8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
0x000000000030327c _t6k11_display
0x0000000000303350 _t6k11_contrast
0x000000000030337c _t6k11_backlight
.text 0x00000000003033bc 0x1c8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(getkey.c.o)
0x00000000003033bc _getkey_opt
0x000000000030353c _getkey
0x0000000000303548 _getkey_repeat
.text 0x0000000000303584 0x124 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(iokbd.c.o)
0x0000000000303590 _iokbd_row
0x0000000000303678 _iokbd_scan
.text 0x00000000003036a8 0x170 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(setup.c.o)
0x000000000030375c _gint_install
0x0000000000303800 _gint_unload
.text 0x0000000000303818 0x2c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(vbr.s.o)
0x0000000000303818 _gint_setvbr
.text 0x0000000000303844 0x78 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(gint.c.o)
0x0000000000303844 _gint_intlevel
0x0000000000303898 _gint_inthandler
.text 0x00000000003038bc 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
.text 0x00000000003038bc 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.S.o)
.text 0x00000000003038bc 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
.text 0x00000000003038bc 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti-asm.s.o)
.text 0x00000000003038bc 0x3b0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(bopti.c.o)
0x00000000003038bc _bopti_grid
0x0000000000303a12 _bopti_render
0x0000000000303b18 _bopti_render_clip
0x0000000000303c20 _bopti_render_noclip
.text 0x0000000000303c6c 0x9c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(masks.c.o)
0x0000000000303c6c _masks
.text 0x0000000000303d08 0x60 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(bopti-asm.s.o)
0x0000000000303d08 _bopti_asm_mono
0x0000000000303d2e _bopti_asm_mono_alpha
0x0000000000303d60 _bopti_asm_gray
0x0000000000303d64 _bopti_asm_gray_alpha
.text 0x0000000000303d68 0x78 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_movmem.o)
0x0000000000303d68 ___movstr
0x0000000000303d68 ___movmem
0x0000000000303d9c ___movmemSI64
0x0000000000303d9c ___movstrSI64
0x0000000000303da0 ___movstrSI60
0x0000000000303da0 ___movmemSI60
0x0000000000303da4 ___movmemSI56
0x0000000000303da4 ___movstrSI56
0x0000000000303da8 ___movstrSI52
0x0000000000303da8 ___movmemSI52
0x0000000000303dac ___movstrSI48
0x0000000000303dac ___movmemSI48
0x0000000000303db0 ___movstrSI44
0x0000000000303db0 ___movmemSI44
0x0000000000303db4 ___movstrSI40
0x0000000000303db4 ___movmemSI40
0x0000000000303db8 ___movstrSI36
0x0000000000303db8 ___movmemSI36
0x0000000000303dbc ___movmemSI32
0x0000000000303dbc ___movstrSI32
0x0000000000303dc0 ___movmemSI28
0x0000000000303dc0 ___movstrSI28
0x0000000000303dc4 ___movstrSI24
0x0000000000303dc4 ___movmemSI24
0x0000000000303dc8 ___movmemSI20
0x0000000000303dc8 ___movstrSI20
0x0000000000303dcc ___movstrSI16
0x0000000000303dcc ___movmemSI16
0x0000000000303dd0 ___movmemSI12
0x0000000000303dd0 ___movstrSI12
0x0000000000303dd4 ___movmemSI8
0x0000000000303dd4 ___movstrSI8
0x0000000000303dd8 ___movmemSI4
0x0000000000303dd8 ___movstrSI4
.text 0x0000000000303de0 0xa0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_sdivsi3.o)
0x0000000000303de0 ___sdivsi3
.text 0x0000000000303e80 0x6c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivsi3.o)
0x0000000000303ea2 ___udivsi3
.text 0x0000000000303eec 0x1f0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
0x0000000000303eec ___udivdi3
.text 0x00000000003040dc 0x348 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_addsub_df.o)
0x0000000000304380 ___adddf3
0x00000000003043d0 ___subdf3
.text 0x0000000000304424 0x208 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_mul_df.o)
0x0000000000304424 ___muldf3
.text 0x000000000030462c 0x130 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_div_df.o)
0x000000000030462c ___divdf3
.text 0x000000000030475c 0x58 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_gt_df.o)
0x000000000030475c ___gtdf2
.text 0x00000000003047b4 0x58 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_ge_df.o)
0x00000000003047b4 ___gedf2
.text 0x000000000030480c 0x58 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_lt_df.o)
0x000000000030480c ___ltdf2
.text 0x0000000000304864 0x58 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_le_df.o)
0x0000000000304864 ___ledf2
.text 0x00000000003048bc 0x98 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_si_to_df.o)
0x00000000003048bc ___floatsidf
.text 0x0000000000304954 0x8c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_df_to_si.o)
0x0000000000304954 ___fixdfsi
.text 0x00000000003049e0 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_thenan_df.o)
.text 0x00000000003049e0 0x60 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udiv_qrnnd_16.o)
0x00000000003049e0 ___udiv_qrnnd_16
.text 0x0000000000304a40 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
.text 0x0000000000304a40 0x54 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clzsi2.o)
0x0000000000304a40 ___clzsi2
.text 0x0000000000304a94 0x240 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_pack_df.o)
0x0000000000304a94 ___pack_d
.text 0x0000000000304cd4 0xcc /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_unpack_df.o)
0x0000000000304cd4 ___unpack_d
.text 0x0000000000304da0 0xc8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_fpcmp_parts_df.o)
0x0000000000304da0 ___fpcmp_parts_d
*(C P)
.gint.blocks 0x0000000000304d20 0x140
.gint.blocks 0x0000000000304e70 0x140
*(.gint.blocks)
.gint.blocks 0x0000000000304d20 0x40 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
0x0000000000304d20 _inth_entry_7305
0x0000000000304d40 _inth_entry_7705
.gint.blocks 0x0000000000304d60 0x20 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.S.o)
0x0000000000304d60 _exch_entry_7705
0x0000000000304d60 _exch_entry_7305
.gint.blocks 0x0000000000304d80 0xe0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
0x0000000000304d80 _inth_tmu
0x0000000000304e00 _inth_etmu2
0x0000000000304e20 _inth_etmu_help
0x0000000000304e40 _inth_etmux
.gint.blocks 0x0000000000304e70 0x40 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
0x0000000000304e70 _inth_entry_7305
0x0000000000304e90 _inth_entry_7705
.gint.blocks 0x0000000000304eb0 0x20 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.S.o)
0x0000000000304eb0 _exch_entry_7705
0x0000000000304eb0 _exch_entry_7305
.gint.blocks 0x0000000000304ed0 0xe0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
0x0000000000304ed0 _inth_tmu
0x0000000000304f50 _inth_etmu2
0x0000000000304f70 _inth_etmu_help
0x0000000000304f90 _inth_etmux
.gint.drivers 0x0000000000304e60 0x90
0x0000000000304e60 _bdrv = .
.gint.drivers 0x0000000000304fb0 0x90
0x0000000000304fb0 _bdrv = .
*(.gint.drivers.0)
*(.gint.drivers.1)
.gint.drivers.1
0x0000000000304e60 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
0x0000000000304e60 _drv_cpg
0x0000000000304fb0 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
0x0000000000304fb0 _drv_cpg
*(.gint.drivers.2)
.gint.drivers.2
0x0000000000304e84 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
0x0000000000304e84 _drv_tmu
0x0000000000304fd4 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
0x0000000000304fd4 _drv_tmu
*(.gint.drivers.3)
*(.gint.drivers.4)
.gint.drivers.4
0x0000000000304ea8 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
0x0000000000304ea8 _drv_keysc
0x0000000000304ff8 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
0x0000000000304ff8 _drv_keysc
*(.gint.drivers.5)
.gint.drivers.5
0x0000000000304ecc 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
0x0000000000304ecc _drv_t6k11
0x000000000030501c 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
0x000000000030501c _drv_t6k11
*(.gint.drivers.6)
0x0000000000304ef0 _edrv = .
0x0000000000305040 _edrv = .
.rodata 0x0000000000304ef0 0x854
.rodata 0x0000000000305040 0x854
*(.rodata .rodata.*)
.rodata 0x0000000000304ef0 0x10 build-fx/src/FxEngine/texture.o
0x0000000000304ef0 _FE_textures
.rodata 0x0000000000304f00 0x18 build-fx/src/FxEngine/coord.o
0x0000000000304f00 _pi_sur2
0x0000000000304f08 _pi2
0x0000000000304f10 _pi
.rodata 0x0000000000305040 0x10 build-fx/src/FxEngine/texture.o
0x0000000000305040 _FE_textures
.rodata 0x0000000000305050 0x18 build-fx/src/FxEngine/coord.o
0x0000000000305050 _pi_sur2
0x0000000000305058 _pi2
0x0000000000305060 _pi
.rodata.str1.4
0x0000000000304f18 0x9 build-fx/src/FxEngine/FxEngine.o
*fill* 0x0000000000304f21 0x3
0x0000000000305068 0x9 build-fx/src/FxEngine/FxEngine.o
*fill* 0x0000000000305071 0x3
.rodata.str1.4
0x0000000000304f24 0x12 build-fx/src/FxEngine/zbuffer.o
*fill* 0x0000000000304f36 0x2
.rodata 0x0000000000304f38 0x60 build-fx/src/main.o
0x0000000000305074 0x12 build-fx/src/FxEngine/zbuffer.o
*fill* 0x0000000000305086 0x2
.rodata 0x0000000000305088 0x60 build-fx/src/main.o
.rodata.str1.4
0x0000000000304f98 0x3 build-fx/src/controls.o
*fill* 0x0000000000304f9b 0x1
.rodata 0x0000000000304f9c 0x24 build-fx/assets/img/fps.png.o
0x0000000000304f9c _img_fps
0x0000000000304fc0 _img_fps_end
.rodata 0x0000000000304fc0 0x204 build-fx/assets/fonts/FxEngine.png.o
0x0000000000304fc0 _font_FxEngine
0x00000000003051c4 _font_FxEngine_end
0x00000000003050e8 0x3 build-fx/src/controls.o
*fill* 0x00000000003050eb 0x1
.rodata 0x00000000003050ec 0x24 build-fx/assets/img/fps.png.o
0x00000000003050ec _img_fps
0x0000000000305110 _img_fps_end
.rodata 0x0000000000305110 0x204 build-fx/assets/fonts/FxEngine.png.o
0x0000000000305110 _font_FxEngine
0x0000000000305314 _font_FxEngine_end
.rodata.str1.4
0x00000000003051c4 0x4 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
0x0000000000305314 0x4 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
.rodata.str1.4
0x00000000003051c8 0x6 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
*fill* 0x00000000003051ce 0x2
0x0000000000305318 0x6 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
*fill* 0x000000000030531e 0x2
.rodata.str1.4
0x00000000003051d0 0x4 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
.rodata 0x00000000003051d4 0x18 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
0x0000000000305320 0x4 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
.rodata 0x0000000000305324 0x18 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.rodata.str1.4
0x00000000003051ec 0x31 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(stdio.c.o)
*fill* 0x000000000030521d 0x3
0x000000000030533c 0x31 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(stdio.c.o)
*fill* 0x000000000030536d 0x3
.rodata.str1.4
0x0000000000305220 0x8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
0x0000000000305370 0x8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
0x6 (size before relaxing)
.rodata 0x0000000000305228 0x408 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(font5x7.png.o)
0x0000000000305228 _gint_font5x7
0x0000000000305630 _gint_font5x7_end
.rodata 0x0000000000305630 0x14 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_thenan_df.o)
0x0000000000305630 ___thenan_df
.rodata 0x0000000000305644 0x100 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
0x0000000000305644 ___clz_tab
.rodata 0x0000000000305378 0x408 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(font5x7.png.o)
0x0000000000305378 _gint_font5x7
0x0000000000305780 _gint_font5x7_end
.rodata 0x0000000000305780 0x14 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_thenan_df.o)
0x0000000000305780 ___thenan_df
.rodata 0x0000000000305794 0x100 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
0x0000000000305794 ___clz_tab
.rela.dyn 0x0000000000305744 0x0
.rela.text 0x0000000000305744 0x0 build-fx/src/FxEngine/coord.o
.rela.dyn 0x0000000000305894 0x0
.rela.text 0x0000000000305894 0x0 build-fx/src/FxEngine/coord.o
.rela.pretext.entry
0x0000000000305744 0x0 build-fx/src/FxEngine/coord.o
0x0000000000305894 0x0 build-fx/src/FxEngine/coord.o
0x0000000008100000 . = ORIGIN (ram)
.bss 0x0000000008100000 0x5b0
@ -688,8 +688,8 @@ LOAD /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
*fill* 0x00000000081005ac 0x4
0x00000000000005b0 _sbss = SIZEOF (.bss)
.data 0x00000000081005b0 0x110 load address 0x0000000000305744
0x0000000000305744 _ldata = LOADADDR (.data)
.data 0x00000000081005b0 0x110 load address 0x0000000000305894
0x0000000000305894 _ldata = LOADADDR (.data)
0x00000000081005b0 _rdata = .
*(.data .data.*)
.data 0x00000000081005b0 0x0 build-fx/src/FxEngine/libprof.o
@ -755,15 +755,15 @@ LOAD /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
*(D)
0x00000000081006c0 . = ALIGN (0x10)
.data.4 0x00000000081006c0 0x0 load address 0x0000000000305854
.data.4 0x00000000081006c0 0x0 load address 0x00000000003059a4
*(.data.4)
0x00000000081006c0 . = ALIGN (0x10)
0x0000000000000110 _sdata = (SIZEOF (.data) + SIZEOF (.data.4))
0x000000008800df00 _gint_vbr = 0x8800df00
0x000000008800f400 . = ORIGIN (rram)
.gint.data 0x000000008800f400 0x130 load address 0x0000000000305854
0x0000000000305854 _lgdata = LOADADDR (.gint.data)
.gint.data 0x000000008800f400 0x130 load address 0x00000000003059a4
0x00000000003059a4 _lgdata = LOADADDR (.gint.data)
0x000000008800f400 _rgdata = .
*(.gint.data .gint.data.*)
.gint.data 0x000000008800f400 0x18 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
@ -781,7 +781,7 @@ LOAD /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
0x000000008800f530 . = ALIGN (0x10)
0x0000000000000130 _sgdata = SIZEOF (.gint.data)
.gint.bss 0x000000008800f530 0x210 load address 0x0000000000305984
.gint.bss 0x000000008800f530 0x210 load address 0x0000000000305ad4
*(.gint.bss .gint.bss.*)
.gint.bss 0x000000008800f530 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
.gint.bss 0x000000008800f554 0x100 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,5 +1,6 @@
build-fx/src/main.o: src/main.c src/FxEngine/FxEngine.h \
src/FxEngine/coord.h src/FxEngine/zbuffer.h src/controls.h
src/FxEngine/coord.h src/FxEngine/zbuffer.h src/FxEngine/face.h \
src/FxEngine/FxEngine.h src/controls.h
src/FxEngine/FxEngine.h:
@ -7,4 +8,8 @@ src/FxEngine/coord.h:
src/FxEngine/zbuffer.h:
src/FxEngine/face.h:
src/FxEngine/FxEngine.h:
src/controls.h:

Binary file not shown.

View File

@ -1,4 +1,10 @@
#include "face.h"
#include "zbuffer.h"
#include <stdbool.h>
#include <gint/display.h>
#define min(x,y) (x<y?x:y)
#define max(x,y) (x>y?x:y)
static bool compare(FE_face const * face)
{
@ -22,8 +28,62 @@ void FE_draw_face(FE_face const * face)
return;
if (face->s1->translated.y==face->s2->translated.y && face->s1->translated.y==face->s3->translated.y)
return;
if (compare(face)!=face->visible)
if (face->s1->translated.x<0 && face->s2->translated.x<0 && face->s3->translated.x<0)
return;
if (face->s1->translated.x>127 && face->s2->translated.x>127 && face->s3->translated.x>127)
return;
if (face->s1->translated.y<0 && face->s2->translated.y<0 && face->s3->translated.y<0)
return;
if (face->s1->translated.y>63 && face->s2->translated.y>63 && face->s3->translated.y>63)
return;
/*if (compare(face)!=face->visible)
return;*/
const int xmin=max(min(face->s1->translated.x,min(face->s2->translated.x,face->s3->translated.x)),0);
const int xmax=min(max(face->s1->translated.x,max(face->s2->translated.x,face->s3->translated.x)),127);
const int ymin=max(min(face->s1->translated.y,min(face->s2->translated.y,face->s3->translated.y)),0);
const int ymax=min(max(face->s1->translated.y,max(face->s2->translated.y,face->s3->translated.y)),63);
const int xAB=face->s2->translated.x-face->s1->translated.x, yAB=face->s2->translated.y-face->s1->translated.y;
const int xAC=face->s3->translated.x-face->s1->translated.x, yAC=face->s3->translated.y-face->s1->translated.y;
const int diviseur_commun=xAB*yAC-yAB*xAC;
bool x_previous_success=0;
bool x_success=0;
for (int tx=xmin; tx<=xmax; tx++)
{
bool y_previous_success=0;
bool y_success=0;
for (int ty=ymin; ty<=xmax; ty++)
{
int xAM=tx-face->s1->translated.x, yAM=ty-face->s1->translated.y;
int nx=(yAC*xAM*8+xAC*yAM*8)/diviseur_commun;
int ny=(yAM*xAB*8+xAM*yAB*8)/diviseur_commun;
if (nx>=0&&nx<8&&ny>=0&&ny<8)
{
if(FE_zbuffer_set_dist(tx, ty, 1))
dpixel(tx,ty,C_BLACK);
}
/*if (y_success==y_previous_success|| (!y_success)) // si fin de la ligne
break;
y_previous_success=y_success;*/
}
/*if (x_success==x_previous_success|| (!x_success)) // si fin de la ligne
break;
x_previous_success=x_success;*/
}
// x=Det(AM,AC)/det(AB,AC)
// y=det(AM,AB)/det(AC,AB)
// x=(xAM*yAC-yAM*xAC)/(xAB*yAC-yAB*xAC)
// y=(xAM*yAB-yAM*xAB)/(xAC*yAB-yAC*xAB)
// soit diviseur_commun = (xAB*yAC-yAB*xAC)
// x=xAM*yAC/diviseur_commun-yAM*xAC/diviseur_commun
// y=yAM*xAB/diviseur_commun-xAM*yAB/diciseur_commun
}

View File

@ -4,6 +4,7 @@
#include <gint/std/stdlib.h>
#include <gint/clock.h>
#include "FxEngine/FxEngine.h"
#include "FxEngine/face.h"
#include "controls.h"
@ -12,6 +13,7 @@ int main(void)
init_controls();
dclear(C_WHITE);
FE_point point[4]={{10,0,0,0,0,0},{10,10,0,0,0,0},{10,0,10,0,0,0},{10,10,10,0,0,0}};
FE_face face={&point[0],&point[1],&point[2],0,0};
while (1)
{
FE_new_frame();
@ -25,7 +27,7 @@ int main(void)
dpixel(point[i].translated.x,point[i].translated.y,C_BLACK);
}
}
FE_draw_face(&face);
display_fps(100,56);
}
getkey();