tomjn / Shard

A reprogrammable AI framework for the Spring Engine
https://shard.tomjn.com
17 stars 13 forks source link

start cleaning from useless shardlua internal check #129

Closed pandaro closed 7 years ago

pandaro commented 7 years ago

im in cleaning, but I'm totally blind, i don't know if cancel something of useful cause the error prevent me to get in debug inside the game, i try with run shard null(lua boot.lua) and don't receive errors

pandaro commented 7 years ago

@tomjn give me feedback and i will clean all

pandaro commented 7 years ago

data/ai/preload/api.lua need to be cleaned from sharspringlua check too? or i can broke somethings? and the same for the root data/ai/boot need to be cleaned?

tomjn commented 7 years ago

hmmm I can see that in those examples they're being done for a reason. We need to refactor rather than just remove.

I'm going to spend a few hours wrangling to get something basic up so we can work on the more interesting stuff like unit behaviours

pandaro commented 7 years ago

i know that was done for something, i have do it certain of it. the situation is that some of this function was doable in shardlua and not in native. what we gonna do? definitively split the project in two branch? lua and native or maintain it together? umpf

pandaro commented 7 years ago

this is a stupid pull request