<commit_before># vim: set shiftwidth=2 tabstop=2 softtabstop=2 expandtab:

createPlugins = require 'voxel-plugins'

# plugins (loaded by voxel-plugins; listed here for browserify)
require 'voxel-engine'
require 'voxel-registry'
require 'voxel-carry'
require 'craftingrecipes'
require 'voxel-workbench'
require 'voxel-chest'
require 'voxel-inventory-hotbar'
require 'voxel-inventory-dialog'
require 'voxel-oculus'
require 'voxel-highlight'
require 'voxel-voila'
require 'voxel-player'
require 'voxel-fly'
require 'voxel-gamemode'
require 'voxel-walk'
require 'voxel-mine'
require 'voxel-harvest'
require 'voxel-use'
require 'voxel-reach'
require 'voxel-pickaxe'
require 'voxel-blockdata'
require 'voxel-daylight'
require 'voxel-land'
require 'voxel-clientmc'
require 'voxel-console'

require 'voxel-debug'
require 'voxel-plugins-ui'
require 'kb-bindings-ui'

module.exports = () ->
  console.log 'voxpopuli starting'

  if window.performance && window.performance.timing
    loadingTime = Date.now() - window.performance.timing.navigationStart
    console.log "User-perceived page loading time: #{loadingTime / 1000}s"

  console.log 'initializing plugins'
  plugins = createPlugins null, {require: require}

  configuration =
    'voxel-engine':
      appendDocument: true
      exposeGlobal: true  # for debugging
      lightsDisabled: true
      arrayType: Uint16Array
      useAtlas: false
      generateChunks: false
      chunkDistance: 2
      materials: []  # added dynamically later
      texturePath: 'AssetPacks/ProgrammerArt/textures/blocks/' # subproject with textures
      worldOrigin: [0, 0, 0]
      controls:
        discreteFire: false
        fireRate: 100 # ms between firing
        jumpTimer: 25
      keybindings:
        # voxel-engine defaults
        'W': 'forward'
        'A': 'left'
        'S': 'backward'
        'D': 'right'
        '<up>': 'forward'<commit_msg>Enable texture atlas (now with greedy meshing support). Closes GH-19<commit_after># vim: set shiftwidth=2 tabstop=2 softtabstop=2 expandtab:

createPlugins = require 'voxel-plugins'

# plugins (loaded by voxel-plugins; listed here for browserify)
require 'voxel-engine'
require 'voxel-registry'
require 'voxel-carry'
require 'craftingrecipes'
require 'voxel-workbench'
require 'voxel-chest'
require 'voxel-inventory-hotbar'
require 'voxel-inventory-dialog'
require 'voxel-oculus'
require 'voxel-highlight'
require 'voxel-voila'
require 'voxel-player'
require 'voxel-fly'
require 'voxel-gamemode'
require 'voxel-walk'
require 'voxel-mine'
require 'voxel-harvest'
require 'voxel-use'
require 'voxel-reach'
require 'voxel-pickaxe'
require 'voxel-blockdata'
require 'voxel-daylight'
require 'voxel-land'
require 'voxel-clientmc'
require 'voxel-console'

require 'voxel-debug'
require 'voxel-plugins-ui'
require 'kb-bindings-ui'

module.exports = () ->
  console.log 'voxpopuli starting'

  if window.performance && window.performance.timing
    loadingTime = Date.now() - window.performance.timing.navigationStart
    console.log "User-perceived page loading time: #{loadingTime / 1000}s"

  console.log 'initializing plugins'
  plugins = createPlugins null, {require: require}

  configuration =
    'voxel-engine':
      appendDocument: true
      exposeGlobal: true  # for debugging
      lightsDisabled: true
      arrayType: Uint16Array
      useAtlas: true
      generateChunks: false
      chunkDistance: 2
      materials: []  # added dynamically later
      texturePath: 'AssetPacks/ProgrammerArt/textures/blocks/' # subproject with textures
      worldOrigin: [0, 0, 0]
      controls:
        discreteFire: false
        fireRate: 100 # ms between firing
        jumpTimer: 25
      keybindings:
        # voxel-engine defaults
        'W': 'forward'
        'A': 'left'
        'S': 'backward'
        'D': 'right'
        '<up>': 'forward'
{'fraction_non_alphanumeric': 0.10983862571577303, 'fraction_numerical': 0.00989068193649141, 'mean_word_length': 3.756188118811881, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2699543', 'n_tokens_mistral': 1324, 'n_tokens_neox': 1272, 'n_words': 314}