117 Commits

Author SHA1 Message Date
sam-astro
d6eb1cd505
Print fps 2022-01-13 10:07:42 -05:00
sam-astro
90ce2e5dc3
accelerated :) 2022-01-13 10:06:36 -05:00
sam-astro
d2ecc63988
Update README.md 2022-01-12 23:29:11 -05:00
sam-astro
3e6c84add6 Graphics working, and started pong game 2022-01-12 22:18:40 -05:00
sam-astro
b3ac3ce18f Spippity boppity, my code is now the trashcans property 2022-01-12 19:21:11 -05:00
sam-astro
79ec9f6cd7 Graphics and drawing now work, but there is a HUGE memory leak, probably from creating a new object every frame or something 2022-01-12 17:02:56 -05:00
sam-astro
ee147bd78a
Add vec2 type 2022-01-12 08:54:45 -05:00
sam-astro
57deb5a790
Input and draw handling 2022-01-12 08:53:58 -05:00
sam-astro
5f04668ea9
Added key handling and Update function executer 2022-01-12 08:49:03 -05:00
sam-astro
dc3917d37b
Added some input 2022-01-12 08:24:25 -05:00
sam-astro
6b1f311036
Started on collisions 2022-01-12 07:57:25 -05:00
sam-astro
74da7a7590
Added Vec2 initialization 2022-01-11 22:40:54 -05:00
sam-astro
aa312cbc3b
Changed to system type 2022-01-11 22:39:13 -05:00
sam-astro
ab015b0cef aaaaaaaaaaaaaAAAAAAAAAAAAAAAAAAAAAGHGHGHGGHGHHGHGHGGHGHGHGHGHGHGHGHGHHG 2022-01-11 21:53:47 -05:00
sam-astro
59d0bd5c56 Almost done implementing simple graphics!! (hopefully) 2022-01-11 19:51:09 -05:00
sam-astro
036470a14e Started working on rendering 2022-01-10 20:37:16 -05:00
sam-astro
7f2717cd5e
Merge from optimized
Optimized entire interpreter
2022-01-10 16:28:04 -05:00
sam-astro
42bf1cccce FINALLLY!!!!!!!!! Working version !! 2022-01-10 16:22:55 -05:00
sam-astro
bde9ed7222 xdfg 2022-01-10 14:58:31 -05:00
sam-astro
7b737d7799 hgf 2022-01-06 18:41:41 -05:00
sam-astro
41b90c3b4b (slightly) working version. Includes to other files needs fixing, then it should work 2022-01-06 16:51:04 -05:00
sam-astro
b99cb9ba82
Update builtin.h 2022-01-06 07:29:30 -05:00
sam-astro
1702ae73b0
Update builtin.h 2022-01-06 07:27:08 -05:00
sam-astro
79b1b7102d Fixed most errors, moved things around 2022-01-05 15:51:44 -05:00
sam-astro
b1a1133d85 Revert "Changed to switch case for Equ and BooleanLogic and added warnings"
This reverts commit d761591b14ee3cee5a24199765325d72002fd57e.
2022-01-05 15:10:55 -05:00
sam-astro
741e05b500
Changed to const references 2022-01-05 10:53:18 -05:00
sam-astro
3448f39203
Update main.h 2022-01-05 10:49:07 -05:00
sam-astro
40bb09d7c8
Changed to const references 2022-01-05 10:47:54 -05:00
sam-astro
f61fa77952
Changed to const references 2022-01-05 10:46:39 -05:00
sam-astro
20415f4ca2
Changed to const references and added warning 2022-01-05 10:45:29 -05:00
sam-astro
4d820e24aa
Changed name of evalEqu to varOperation 2022-01-05 10:41:39 -05:00
sam-astro
d761591b14
Changed to switch case for Equ and BooleanLogic and added warnings 2022-01-05 10:20:26 -05:00
sam-astro
26cc5eeeb4
Warn on function doesn't exit 2022-01-05 10:02:15 -05:00
sam-astro
ec0e412217
Added exception errors 2022-01-05 09:59:08 -05:00
sam-astro
5df1c50c16
Added warnings and errors and created functions for cleaner code 2022-01-05 09:54:02 -05:00
sam-astro
22fa7fd57f
Changed catch error type to boost::bad_any_cast 2022-01-05 09:24:21 -05:00
sam-astro
c705771eaa
ProcessLine if else, inline exist checks
ProcessLine now does checks with if else statements, which should hopefully improve performance, and exist checks are inline if statements, so a new variable doesn't need to be initialized for a single use.
2022-01-05 09:17:03 -05:00
sam-astro
4fb5500cc3
Actually, these are the new function changes 2022-01-05 08:50:33 -05:00
sam-astro
ddf09173e4
Updated to newest function syntax 2022-01-05 08:43:28 -05:00
sam-astro
1cc2e9abe7
Updated to new function syntax 2022-01-05 08:41:25 -05:00
sam-astro
83404f266f
Changed many function inputs to const
Removed unnecessary loops in ExecuteFunction which used a lot of time. Function arguments also now no longer require a type, just a name. Also, functions don't need a pre-defined return value (ex. void or int), and just have a functions declarer 'func' before the name.
2022-01-05 08:37:28 -05:00
sam-astro
c360238d78 Continued conversion into 'any' variable and function storage 2022-01-03 18:33:07 -05:00
sam-astro
a25df38803
Update builtin.h 2022-01-03 13:58:14 -05:00
sam-astro
93eff0b337
Updated functions and var gathering 2022-01-03 13:52:54 -05:00
sam-astro
aba94781ba
Update main.h 2022-01-03 13:34:31 -05:00
sam-astro
e72f58810e
Update builtin.slg 2022-01-03 13:32:34 -05:00
sam-astro
e17b89b972
Update builtin.h 2022-01-03 13:24:41 -05:00
sam-astro
f4a5f3d0e2
Continue converting to "any" type 2022-01-03 13:19:35 -05:00
sam-astro
f796358af6
Removed for loops in place of .substr() 2022-01-03 12:05:54 -05:00
sam-astro
392879fbad
Started optimization with unordered_map hash table 2022-01-03 11:51:49 -05:00