Skip to content
Commits on Jun 1, 2015
  1. Misc++

    - ozCore
      * Alloc::align functions accept optional alignment parameter
      * Stream Bitset read/write fixed for big endian
    - common
      * angleWrap/angleDiff uses Math::mod instead of Math::fmod
        => faster and universal domain
    committed Jun 1, 2015
Commits on May 29, 2015
  1. Consistent SList copy/move, Arrays::clear

    - ozCore
      * replaced Arrays::emplace() with Arrays::clear()
      * fixed element destruction List copy operator
      * added SList move ctors and copy/move assignment operators to empty source
        list and prevent copying list into itself
    committed May 29, 2015
  2. Heap, InitialiserList fixes

    - ozCore
      * Greater function class, uses appropriate Less with inverted arguments
      * some fixes for InitialiserList ctors and assignments
      * new Heap class
      * Math::nextPow2
    committed May 29, 2015
Commits on May 28, 2015
  1. Simplified BSP and sound (un)loading

    - matrix
      * BSPs are always loaded
    - client
      * sounds unloaded in Context::releaseSource(), rather than in a separate pass
    committed May 28, 2015
Commits on May 27, 2015
  1. Fixed Context crash with missing imagines/audios

    - client
      * Context can initialise when certain imagines or audios are not used
    committed May 27, 2015
  2. Stream & Endian code simplified, de-duplication

    - ozCore
      * Endian: TypeToBytes -> ToBytes<Type>, BytesToType -> ToValue<Type>
      * Stream
        + readChars() -> read(), writeChars() -> write()
        + simplified implementation: read()/write() used to lessen code duplication
      * File::inputStream() -> read()
    committed May 27, 2015
Commits on May 26, 2015
  1. String::operator = (const char*) ++

    - ozCore
      * added String::assign(), String::operator = (const char*) is partially
        inlined now, so it can see length of C string
      * File const char* ctor & operator = are partially inlined now to see string
        length
    committed May 26, 2015
  2. Buffer ~> Stream

    - ozCore
      * removed Buffer, replaced by either Stream or List<char>
      * Stream: added resize(), compress() and decompress()
    committed May 26, 2015
  3. File++

    - updated code for new File additions
    - ozCore
      * File
        + privately inherited String ctors, replaced substring() with ctor where
          feasible to reduce implicit String -> File copy/move ctors
        + exists(), isFile(), isDirectory(), size(), time()
        + removed stat(), File::Type, File::Info (hidden into .cc)
    committed May 25, 2015
Commits on May 25, 2015
  1. File++

    - ozCore
      * File
        + removed NIL, isNil()
        + isRoot(), toNative(), toVirtual()
        + copyTreeTo(), removeTree()
        + mkdir(bool) can make parent dirs
        + directory(), name(), baseName() fixed to allow trailing '/' on dirs and
          treat root correctly
    committed May 25, 2015
  2. File::copyTree, removeTree, mkdir parents

    - ozCore
      * File
        + toNative(), toVirtual()
        + copyTreeTo(), removeTree()
        + mkdir(bool) can make parent dirs
    committed May 25, 2015
Commits on May 24, 2015
  1. Shader #include--, audio stream decoding

    - ozEngine
      * AL
        + added separate file/stream decoding functions & AudioBuffer struct
        + added buffer loading from stream
      * GL
        + removed PNG loading
        + removed shader compilation and #include handling
    committed May 24, 2015
Commits on May 23, 2015
  1. File : String, Stream unified, String++, Log++

    - ozCore
      * List & derivativs
        + add(), include(), puchLast() etc. return reference to the added element
      * String
        + non-constant access iterators, operator [] etc.
        + removed file*() methods
      * Stream
        + Input/OutputStream -> Stream
        + internal buffer again rather than Buffer class
        + skip() -> readSkip() for fixed-size, writeSkip() extends buffered streams
        + each stream can writable and/or buffered, implicitly specified by ctor
      * File
        + extends String
        + file metadata (type, size, time) -> File::Info, fetched by File::stat()
        + isEmpty() -> isNil(), File::NIL
        + mapping removed, only really used for a few config files
        + operators /, /=
        + cp() -> copyTo(), mv() -> moveTo(), rm() -> remove(),
          mount() -> mountAt(), mountLocal() -> mountLocalAt()
        + copyTo(), mkdir(), mountAt() etc. made non-static methods
      * Log
        + const char* logFile() -> File file()
        + removed printEnd(), it was identical as as println()
        + fixed indentitation for operator << : Log() ctor indents
        + fixed internal OZ_PRINT_BOTH macro not to screw QtCreator indexer
    committed May 23, 2015
Commits on May 21, 2015
  1. Defaulted template types in containers --

    - ozCore
      * OZ_HIDDEN -> OZ_INTERNAL ("hidden" -> "internal" visibility)
      * containers
        + removed most defaulted template types => less *Set/*Map code duplication,
          clearer code because explicit type must be used before { ... }
        + removed default element values for insertion functions
      * fixed List::resize() not default-initialising elements
    committed May 21, 2015
  2. HashSet/Map fixes

    - ozCore
      * Hash*
        + fixed operator ==, it is now independent of bucket array size
        + capacity() now returns bucket array length, poolCapacity() for pool
          capacity
      * fixed PoolAlloc::capacity()
    committed May 21, 2015
Commits on May 20, 2015
  1. Pool nSlots as ctor param, Hash* capacity ctors

    - ozCore
      * Pool block size in ctor rather than template parameter
      * PoolAlloc: blockSize(), blockSlots()
      * HashSet/HashMap ctor with proposed capacity
    committed May 20, 2015
Commits on May 18, 2015
  1. Thread & bell fixes

    - fixed for GCC 5.1
    - ozCore
      * number ob bell samples limited to prevent theoretical stack overruns
      * fixed Thread create & detach race condition
    - ozEngine
      * Lua write/read preserves integers
    committed May 18, 2015
Commits on May 16, 2015
  1. Minor cleanups & ++, some String funcs renamed

    - minor code cleanups
    - ozCore
      * String
        + cstr() -> c()
        + str() -> format()
        + cast functions cstr(), bytestr() removed
      * Mat3/4: SIMD-optimised determinant
      * Mutex uses mutex instead of critical section on Windows
    committed May 16, 2015
Commits on May 7, 2015
  1. Fixes

    - fixed PKGBUILDs
    - ozCore
      * last parameter in List::add() and (Hash)Map::add() & insert() made optional
      * removed unnecessary Buffer ctors & operators
    committed May 7, 2015
Commits on May 6, 2015
  1. String: buffer & baseBuffer put in union

    - fixed builder for new OutputStream buffer design
    - ozCore
      * String
        + buffer & baseBuffer in union to save 8 bytes
        + BUFFER_SIZE: 48 -> 32
        + citerator(), begin(), end()
        + bugfixes
    committed May 6, 2015
  2. Buffer extends List<char>, external OStream Buffer

    - ozCore
      * List: added exactCapacity parameter to resize() and reserve()
      * Log
        + operator << respects indent
        + removed Log::printSignal()
      * Buffer extends List<char>, removed inputStream() and outputStream()
      * Streams
        + removed isAvailable()
        + Buffer ctors
    committed May 6, 2015
Commits on May 5, 2015
  1. iFunc() --, aFunc() -> Arrays

    - ozCore
      * (c)iter() -> (c)iterator()
      * iterables.hh ~> common.hh
        + removed all iFunc()
      * arrays.hh -> Arrays.hh
        + detail::ArrayIterator -> Arrays::ArrayIterator
        + aFunc() -> Arrays::func()
        + removed mCopy, mSet etc. and strlen()
    committed May 5, 2015
Commits on May 3, 2015
  1. strtox()/snprintf() for String <-> number

    - ozCore
      * System doesn't set locale any more
      * String uses standard strtol/strtod and snprintf for number <-> string
        conversions
    committed May 3, 2015
  2. Pair--, (Hash)Map ++ & fixes

    - ozCore
      * removed Pair
      * helper insert() methods for HashSet & HashMap
      * default template types for (Hash)Map methods inherted from (Hash)Set fixed
      * synced SList with List, removed some code duplication
    - common
      * Pos2 struct to replace Pair
    committed May 3, 2015
Commits on May 2, 2015
  1. Less function object, StrongHash FO added

    - ozCore
      * added Less function object template to replace comparisons bisection,
        quicksort, Set and Map
      * String::stringHash() -> StrongHash function object
    committed May 2, 2015
Commits on May 1, 2015
  1. Hash function object, iter -> iterator

    - ozCore
      * hash() functions replaced by function objects
      * (c)iter -> (c)iterator()
      * removed HashSet/Map::loadFactor()
    committed May 1, 2015
Commits on Apr 27, 2015
  1. Dropped OSS, image resizing support

    - ozCore
      * dropped OSS bell
    - ozFactory
      * ImageBuilder supports image resizing
    committed Apr 27, 2015
Commits on Apr 19, 2015
  1. Updated scripts & README, small fixes ...

    - updated scripts
    - updated README
    committed Apr 19, 2015
  2. File @ NaCl++, NaCl web page++ & updates game data

    - ozCore
      * File on NaCl uses mmap(), implements chdir() and getcwd()
    - client
      * removed NaClUpdater and NaClDownloader
    - tools
      * removed ozManifest
    - scripts
      * gen-manifest.sh generates JSON manifest
    - web
      * web page now updates game data, communication with module simplified
    committed Apr 19, 2015
Commits on Apr 18, 2015
  1. nacl_io, physfs-dev--, ports stripped

    - ozCore
      * InputStream & Outpustream
        + pos() and set() removed
        + forward() -> skip()
      * File
        + dropped PPAPI, POSIX used instead through nacl_io
        + dropped support for development physfs
    - ozEngine
      * GL loaders correclty issue MainCall()'s
    - ports
      * libogg and libvobis build without patches, physfs-2.1 removed
    committed Apr 18, 2015
Commits on Apr 14, 2015
  1. Sequence skipping

    - client
      * CinematicProxy: consecutive sequence steps can be "skippable"
      * Input::KEY_SKIP
    committed Apr 14, 2015
Commits on Apr 12, 2015
  1. Lingua++, LuaCommon ~> ozEngine/Lua, cleanup

    - ozCore
      * removed non-static String::equals()
    - common
      * Lingua::detectLanguage() uses mappings `lingua/*.json`
      * removed LuaCommon, ozEngine/Lua used instead
    - client
      * added lingua "AUTO" setting
    - ozEngine
      * removed Shader as it was unused and unfinished
    committed Apr 12, 2015
Commits on Apr 11, 2015
  1. Data -> openzone-data, obsolete NaCl ports --

    - entire data/ added to openzone-data repo, referenced as submodule by openzone
    - removed obsolete NaCl patches and ports, replaced by official NaCl ports
    committed Apr 11, 2015
Commits on Apr 10, 2015
  1. Inventory transfer through Synapse

    - matrix
      * Dynamic::rotate()
      * Synapse
        + transferItem(), takeItem(), dropItem()
        + use(), trigger(), lock() now return bool
    - client
      * Sound time correctly measured and printed
    committed Apr 10, 2015
Commits on Apr 9, 2015
  1. Removed ozDynamics

    - ozDynamics removed
    - common/common.hh now also includes Timer.hh and Lingua.hh
    committed Apr 9, 2015
Something went wrong with that request. Please try again.