Difference between revisions of "GRepo - The NewGRF Repository"
From #openttdcoop wiki
m |
m (→VERSIONS) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
*md5sum (index) | *md5sum (index) | ||
*public (bool) | *public (bool) | ||
+ | *license (GPL, ..., private permission) | ||
+ | |||
===RULES=== | ===RULES=== | ||
*[GRFS(1:n)] | *[GRFS(1:n)] | ||
*type (exclude,include,exclusiveCategory,replace,before,after) | *type (exclude,include,exclusiveCategory,replace,before,after) | ||
*GRFID foreign (index) | *GRFID foreign (index) | ||
+ | *weight (strict, recommendation) | ||
+ | |||
+ | ===PARAMETERS=== | ||
+ | *[VERSIONS(1:n)] | ||
+ | *pos (0..) | ||
+ | *type (list,bitswitch,number) | ||
+ | *data | ||
+ | |||
+ | |||
+ | |||
===CATEGORIES=== | ===CATEGORIES=== | ||
(from GRF Crawler) | (from GRF Crawler) |
Latest revision as of 14:41, 6 November 2008
Design of the GRepo for the pack and autodownload features...
Contents
Tables
Depense on the used Framework, but at least a field for UID, TIMESTAMP (updated), DELETED, CREATED is default for every table.
GRFS
- GRFID (index)
- name
- description
VERSIONS
[GRFS(1:n)]
- name
- md5sum (index)
- public (bool)
- license (GPL, ..., private permission)
RULES
- [GRFS(1:n)]
- type (exclude,include,exclusiveCategory,replace,before,after)
- GRFID foreign (index)
- weight (strict, recommendation)
PARAMETERS
- [VERSIONS(1:n)]
- pos (0..)
- type (list,bitswitch,number)
- data
CATEGORIES
(from GRF Crawler)
- [GRFS(m:n)]
- name
AUTHORS
- [GRFS(m:n)]
- Nick (unique)
- Realname
- ID of TT-Forum
- username wiki.openttd.org
- username wiki.openttdcoop.org
- description