Tom Tsagk
|
0fe733c4d6
Add support for floats in `echo`
|
3 years ago |
Tom Tsagk
|
4534d38d6b
Add back `extern` variables, add better control for arrays, references and passing them around
|
3 years ago |
Tom Tsagk
|
4d85f3f9c9
Add ability to define "reference" variables, and use them around
|
3 years ago |
Tom Tsagk
|
619aa97cbd
Re-add automatic initialisation of arrays
|
3 years ago |
Tom Tsagk
|
85725a3782
Cleanup final parser, re-added `for` command
|
3 years ago |
Tom Tsagk
|
a84e42d2b2
Print semicolons for statements in functions too
|
3 years ago |
Tom Tsagk
|
cef3301212
Better parse for statements within calculations
|
3 years ago |
Tom Tsagk
|
a787f168c6
Add `asset` command back, make variables that own other objects find them properly within parent classes
|
3 years ago |
Tom Tsagk
|
f30294797e
Make defining parent class optional, lexer now parses negative numbers, fix a bug when reporting the filename currently parsed
|
3 years ago |
Tom Tsagk
|
2231ce0563
Update lexer with `peek` instead of `rewind` functionality, replaced all instances
|
3 years ago |
Tom Tsagk
|
288d1e5871
Minor cleanup of unused code
|
3 years ago |
Tom Tsagk
|
342d159f4d
Add support for included files, function calls from classes, `fade` is now compilable again
|
3 years ago |
Tom Tsagk
|
ca13652930
Add better support for classes, and initial support for class function
|
3 years ago |
Tom Tsagk
|
f706d68c77
Re-implement part of the final parser of the ast tree
|
3 years ago |
Tom Tsagk
|
32a50201ad
Add more detailed error checking, improved semantic analysis a bit
|
3 years ago |
Tom Tsagk
|
6d7cf51ea6
Re-implement lexer to be only responsible for tokenizing source
|
3 years ago |
Tom Tsagk
|
549a96247c
Remove all `lex` and `yacc` references
|
3 years ago |
Tom Tsagk
|
a247aa4dce
Initial implementation of replacing `lex` and `yacc`
|
3 years ago |
Tom Tsagk
|
236f509fa4
Check for member of struct through all parents
|
3 years ago |
Tom Tsagk
|
0f1cbaeeb3
Compiler now detects when variable is not member of struct, add new sample to show how to save/load data
|
3 years ago |
Tom Tsagk
|
fc1fa6f002
Minor changes for custom shaders
|
3 years ago |
Tom Tsagk
|
922526513d
Temporarily disable logs
|
3 years ago |
Tom Tsagk
|
9a5e5c8048
Add support for android screen orientation through asset manager
|
3 years ago |
Tom Tsagk
|
d42e91dc60
Ensure that on android, audio keeps playing. Including screen orientation, minimizing/resuming, multi tasking, and closing the game
|
3 years ago |
Tom Tsagk
|
27caa6c7ef
Re-add sounds on android, also ditched `jniEnv` in favour of getting it through `jvm` instead
|
3 years ago |
Tom Tsagk
|
5024a1041e
Add ability to start new world before loading is over
|
3 years ago |
Tom Tsagk
|
a72a5f3305
Reactivate detection for onPause and onDestroy for android
|
3 years ago |
Tom Tsagk
|
7d1f54a505
Implement initial design of `avdl_assetManager`, which loads assets in the background. Currenly only for android
|
3 years ago |
Tom Tsagk
|
92aa5d8be6
Better support for pause/resume on android, apart from textures
|
3 years ago |
Tom Tsagk
|
a65b9ee7a1
Add save/load functionality on android too
|
3 years ago |