/bitfield/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/bitfield/trunk

« back to all changes in this revision

Viewing changes to README

  • Committer: Gustav Hartvigsson
  • Date: 2020-06-05 21:05:07 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20200605210507-cf47ohzmnet3ohc4
* encountered a bug in Valac:
https://gitlab.gnome.org/GNOME/vala/-/issues/1003

This makes it so I can't continue with this in any sane way.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * The basic concept of a bitmap is to provide some kind of siple storrage of
 
3
 * information, that should not take too much space.
 
4
 *
 
5
 * The basic way of doing this is using something like uint8 or uint16,
 
6
 * which provides us with up to 8 and 16 fields respectivly, with the simplest
 
7
 * field being 1 bit, up to the one-field type having the full 8bit (256 value)
 
8
 * or 16bit (65535 value) to work with in one field.
 
9
 *
 
10
 * When defining a bitmap type you need to consider what fields you need, how
 
11
 * many values each feald sholud have and how they corrolate to your data.
 
12
 *
 
13
 * Lits take the examlpe of a simple game map, where you have information like
 
14
 * if a tile is travelsable or if only cetain
 
15
 *
 
16
 */