2006-06-28  Carl Fredrik Hammar  <hammy.lite@gmail.com>

	* src/sandbox.c: Changed sandbox to a two dimensional array.

	* src/pen.c (draw_particles): Updated so it doesn't use the
	sandbox array.

	* src/emitter.c (emitter_emit): Updated so it doesn't use the
	sandbox array.

	* src/sandbox.h: Removed sandbox array from header.

	* src/sandbox.c (sandbox_clear): Updated to use
	sandbox_particle_set instead of directly accessing the sandbox.
	(sandbox_update): Ditto.
	(struct neighbourhood_str): Changed to use vector instead of
	pointer.
	(neighbourhood_particle_get): Made changes reflecting
	neighbourhood_str change.
	(neighbourhood_particle_set): Ditto.

	* src/display.c (sandbox_display_update): Updated usage of
	sandbox_particle_get.

	* src/sandbox.h: Updated prototypes of sandbox_particle_get and
	sandbox_particle_set.

	* src/sandbox.c (sandbox_particle_get): Changed to use vector
	instead of passing coordinates.
	(sandbox_particle_set): Ditto.

	* src/vmath.h: Added veql prototype.

	* src/vmath.c (veql): Introduced function.

	* src/sandbox.c (neighbourhood_particle_get): Changed to use
	vector instead of plain index.
	(neighbourhood_particle_set): Ditto.
	(pull_get): Ditto.
	(neighbourhood_update): Ditto.

	* src/vmath.h (vcoord_y): Renamed from vcord_y.
	(vcoord_x): Renamed from vcord_x.

	* src/vmath.c (vcoord_y): Renamed from vcord_y.
	(vcoord_x): Renamed from vcord_x.

	* src/vmath.h: Added file to project.

	* src/vmath.c: Added file to project.

	* src/utils.h: Added missing copyright notice.
	
	* src/utils.c: Added missing copyright notice.

	* src/sandbox.h: Reflected changes to src/sandbox.c
	
	* src/sandbox.c (MoveParticle): Simplified this function.
	(element_mobile_flag_get): Function introduced.
	(neighbourhood_update): Renamed from UpdateVirtualPixel and
	simplyfied.
	(neighbourhood_particle_set): Function introduced.
	(neighbourhood_particle_get): Function introduced.
	(particle_type_get): Function introduced.
	(pull_get): Function introduced.
	(sandbox_particle_get): Renamed from sandbox_get_particle.
	(sandbox_particle_set): Function introduced.

2006-06-25  Carl Fredrik Hammar  <hammy.lite@gmail.com>

	* ChangeLog: Initial creation of this file, earlier changes not
	recorded.
