Skip to content

Commit

Permalink
Extend generic API to up to 12 components (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlange-42 authored Jan 12, 2024
1 parent d1c4947 commit 20b35b2
Show file tree
Hide file tree
Showing 8 changed files with 2,843 additions and 6 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@

### Highlights

* Arche now supports 256 instead of 128 component types as well as resource types and engine locks (#313)
* Arche supports full world serialization and deserialization, in conjunction with [arche-serde](https://github.com/mlange-42/arche-serde) (#319)
* Supports 256 instead of 128 component types as well as resource types and engine locks (#313)
* Generic API supports up to 12 instead of 8 component types (#324)

### Breaking changes

Expand Down
8 changes: 4 additions & 4 deletions generic/generate/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
"text/template"
)

var typeLetters = []string{"A", "B", "C", "D", "E", "F", "G", "H"}
var variableLetters = []string{"a", "b", "c", "d", "e", "f", "g", "h"}
var numbers = []string{"0", "1", "2", "3", "4", "5", "6", "7", "8"}
var numberStr = []string{"zero", "one", "two", "three", "four", "five", "six", "seven", "eight"}
var typeLetters = []string{"A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L"}
var variableLetters = []string{"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l"}
var numbers = []string{"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"}
var numberStr = []string{"zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "eleven", "twelve"}

type query struct {
Index int
Expand Down
Loading

0 comments on commit 20b35b2

Please sign in to comment.