Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partial network rewrite #96

Merged
merged 21 commits into from
Oct 31, 2020
Merged

Partial network rewrite #96

merged 21 commits into from
Oct 31, 2020

Commits on Oct 31, 2020

  1. Configuration menu
    Copy the full SHA
    1fcf7dc View commit details
    Browse the repository at this point in the history
  2. Add busted unit testing for technic

    Fix test framework and luacheck, Add metadata cleanup ABM
    
    Added busted and contentdb badges
    SX committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    5901ab2 View commit details
    Browse the repository at this point in the history
  3. Network refactoring, proper multi switch support WIP

    Update network utils, globalstep use networks, update switch ABM
    
    Removing switching stations from network
    SX committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    e70203b View commit details
    Browse the repository at this point in the history
  4. Fix digiline event and luacheck warnings

    Add fake get_modpath for busted
    SX committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    829ff62 View commit details
    Browse the repository at this point in the history
  5. Remove metadata for supply,demand,battery_count,battery_charge,batter…

    …y_charge_max
    
    Remove switching station from networks
    
    Disable few debug prints, add removed machines to LBM
    
    clear_networks refatoring #95
    
    Functions remove_network_node and add_network_branch #95
    
    Fix undef network_id, remove flatten #95
    SX committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    f358c92 View commit details
    Browse the repository at this point in the history
  6. Tests for network constructor

    Cleanup network.lua
    
    Add minetest vector.lua
    
    Add tests for network constructor
    SX committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    ebfbd64 View commit details
    Browse the repository at this point in the history
  7. Add machines to all_nodes, no holes in arrays, check if node is added…

    … already
    
    Comment out debug prints
    
    Network node place/dig, simple remove_network test
    
    Luacheck warnings
    
    Fix network check
    
    Fix overridden global table
    SX committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    0095ac9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6079f33 View commit details
    Browse the repository at this point in the history
  9. (#100) Add compatibility hack for digtron

    SX committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    d73702c View commit details
    Browse the repository at this point in the history
  10. Network node placement, utilize locals for frequent names

    (#95) Place/remove network nodes. Cleanup sw_pos
    
    (#96) SC infotext / reduce timeout ABM workload
    SX committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    d7882db View commit details
    Browse the repository at this point in the history
  11. Net building tests

    Fix few cable place/dig issues
    
    Tests for machine build/dig
    
    Fix machine build/dig bugs
    
    Fix test for machine building
    
    Fix machines acting like cables when placed
    
    Inline fixtures for building/digging tests
    
    fix ignored luacheck warnings
    
    (#105)
    
    fix long lines
    
    (#105)
    
    Add more tests for bugs found
    
    Fix tests, add minetest.get_us_time (implement using socket.gettime)
    SX committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    fdad7bd View commit details
    Browse the repository at this point in the history
  12. Fix SC/build/dig bugs, some cleanup

    SX committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    8e0a6ea View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    7ea65cf View commit details
    Browse the repository at this point in the history
  14. Destroy network if ref switch disappears, cleanup switching station code

    Remove rest of SP_nodes from code, it does not contain anything
    
    Reset switch infotext, export machine_tiers
    
    Add tests for cable building between active networks
    
    Remove all networks when cable is placed between networks
    
    Fix SC connectivity issues
    SX committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    6304b9c View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    db1a4df View commit details
    Browse the repository at this point in the history
  16. Remove global dig/place handlers. Better multi tier support for dig/p…

    …lace
    
    Fix on_construct/on_destruct registration
    SX committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    b1cd75e View commit details
    Browse the repository at this point in the history
  17. Test SC digging for nil cable network use

    Check network table before attempting to use it
    SX committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    284feb4 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    ab3faad View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    7fbba2e View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    22eb802 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    25a56ef View commit details
    Browse the repository at this point in the history