VoxelEngine/CHANGELOG.md
2025-01-23 21:44:53 +03:00

6.0 KiB

0.26 - 2025.01.24

Documentation for 0.26

Table of contents:

Added

  • headless mode `--headless
  • script execution mode --headless --script filename
  • test execution mode --headless --test filename
  • vctest console application
  • libraries:
    • app
    • byteutil
  • in-game chat
  • text markup: Markdown
  • syntax-highlighting: Lua
  • http post requests
  • Scripts menu page for app scripts
  • binding hud.chat
  • user-defined console.submit
  • events:
    • on_chunk_present
    • on_chunk_remove
    • on_inventory_open
    • on_inventory_closed
  • canvas ui node
  • settings:
    • graphics.dense-render
  • block properties:
    • culling
  • particles properties:
    • angle_spread
    • min_angular_vel, max_angular_vel
  • bytearray support in serializers
  • ui properties:
    • uinode: cursor
    • textbox: markup, syntax, text-color
    • label: markup
  • base pack:
    • add transparent leaves render mode
    • add falling leaves particles
    • 'states' parameter in base:falling_block
  • nameless worlds
  • SIGTERM handler
  • project:
    • clang Windows workflow
    • engine tests

Changes

  • moved devtools.console binding handler to Lua
  • move key:escape binding handler to Lua
  • upgrade dead emitters garbage collection
  • reserved player entity ids: 0 - none (example: dead), -1 - auto (spawns new one)
  • input.add_callback("key:name") support and add optional owner argument

Functions

  • app.tick
  • app.sleep
  • app.sleep_until
  • app.new_world
  • app.open_world
  • app.save_world
  • app.close_world
  • app.reopen_world
  • app.delete_world
  • app.config_packs
  • app.reconfig_packs
  • app.get_setting
  • app.set_setting
  • app.get_version
  • app.get_setting_info
  • app.load_content
  • app.reset_content
  • app.is_content_loaded
  • app.quit
  • entity:get_player
  • start_coroutine
  • gui.clear_markup
  • gui.escape_markup
  • gui.alert
  • gui.confirm
  • gui.load_document
  • console.get
  • world.get_chunk_data
  • world.set_chunk_data
  • world.save_chunk_data
  • world.count_chunks
  • player.create
  • player.delete
  • player.is_suspended
  • player.set_suspended
  • player.is_loaded_chunks
  • player.set_loading_chunks
  • network.post
  • table.shuffle
  • table.deep_copy
  • math.normalize
  • math.round
  • byteutil.pack
  • byteutil.unpack
  • file.name
  • file.stem
  • file.ext
  • file.prefix
  • hud.set_allow_pause Methods:
  • uinode:reposition
  • socket:available
  • textbox:lineAt
  • textbox:linePos New overloads:
  • block.get_X, block.get_Y, block.get_Z
  • player.get_rot

Fixes