Fixed Sprite Transform functions
* Stored base offsets and vertices in sprite structure * Calculated the average of vertices in polygon and chain shapes and used that as center * Applied offsets to drawSprites()
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# depslib dependency file v1.0
|
||||
1747541932 source:/home/n00b/Projects/RCBASIC4/rcbasic_build/main.cpp
|
||||
1748042868 source:/home/n00b/Projects/RCBASIC4/rcbasic_build/main.cpp
|
||||
<iostream>
|
||||
<stack>
|
||||
<vector>
|
||||
@@ -14,7 +14,7 @@
|
||||
"env_resolve.h"
|
||||
"identifier.h"
|
||||
|
||||
1744318795 /home/n00b/Projects/RCBASIC4/rcbasic_build/tokenizer.h
|
||||
1748042868 /home/n00b/Projects/RCBASIC4/rcbasic_build/tokenizer.h
|
||||
<iostream>
|
||||
<string>
|
||||
<cctype>
|
||||
@@ -37,7 +37,7 @@
|
||||
1734372057 /home/n00b/Projects/RCBASIC4/rcbasic_build/constants.h
|
||||
<vector>
|
||||
|
||||
1738504435 /home/n00b/Projects/RCBASIC4/rcbasic_build/parser.h
|
||||
1748055871 /home/n00b/Projects/RCBASIC4/rcbasic_build/parser.h
|
||||
"tokenizer.h"
|
||||
"identifier.h"
|
||||
"rc_global.h"
|
||||
@@ -54,7 +54,7 @@
|
||||
1734372057 /home/n00b/Projects/RCBASIC4/rcbasic_build/rc_global.h
|
||||
<inttypes.h>
|
||||
|
||||
1747541797 /home/n00b/Projects/RCBASIC4/rcbasic_build/rc_builtin.h
|
||||
1748042868 /home/n00b/Projects/RCBASIC4/rcbasic_build/rc_builtin.h
|
||||
"identifier.h"
|
||||
|
||||
1734372057 /home/n00b/Projects/RCBASIC4/rcbasic_build/rc_vm_asm.h
|
||||
|
||||
@@ -2,24 +2,37 @@
|
||||
<CodeBlocks_layout_file>
|
||||
<FileVersion major="1" minor="0" />
|
||||
<ActiveTarget name="Debug" />
|
||||
<File name="parser.h" open="1" top="0" tabpos="29" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="192713" topLine="4635" />
|
||||
</Cursor>
|
||||
<Folding>
|
||||
<Collapse line="6341" />
|
||||
</Folding>
|
||||
</File>
|
||||
<File name="identifier.h" open="0" top="0" tabpos="26" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="9544" topLine="341" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_global.h" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="13014" topLine="163" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="env_resolve.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="615" topLine="32" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_utility.h" open="0" top="0" tabpos="27" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<File name="rc_builtin.h" open="0" top="0" tabpos="6" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="1747" topLine="35" />
|
||||
<Cursor1 position="112317" topLine="2509" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="main.cpp" open="1" top="0" tabpos="28" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="29027" topLine="909" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_global.h" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="13014" topLine="163" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="tokenizer.h" open="0" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
@@ -27,37 +40,24 @@
|
||||
<Cursor1 position="41712" topLine="1007" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_vm_asm.h" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<File name="rc_utility.h" open="0" top="0" tabpos="27" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="41761" topLine="1347" />
|
||||
<Cursor1 position="1747" topLine="35" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="parser.h" open="0" top="0" tabpos="24" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="136748" topLine="3309" />
|
||||
</Cursor>
|
||||
<Folding>
|
||||
<Collapse line="6341" />
|
||||
</Folding>
|
||||
</File>
|
||||
<File name="keywords.h" open="0" top="0" tabpos="25" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="105" topLine="17" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="rc_builtin.h" open="0" top="0" tabpos="6" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="112317" topLine="2509" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="constants.h" open="0" top="0" tabpos="10" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="0" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="main.cpp" open="1" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<File name="rc_vm_asm.h" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="29027" topLine="909" />
|
||||
<Cursor1 position="41761" topLine="1347" />
|
||||
</Cursor>
|
||||
</File>
|
||||
</CodeBlocks_layout_file>
|
||||
|
||||
Reference in New Issue
Block a user