Global Variables Unit

The global variables unit of program Invader

unit globals; //a unit containing all the global variables for the program
{
    Copyright (c) 2011 Steven Binns

    Licensed under the Apache License, Version 2.0 (the "License"); you may not
    use this file except in compliance with the License, as described at
    http://www.apache.org/licenses/ and http://www.pp4s.co.uk/licenses/
}
interface

uses
  Classes, SysUtils, SDL;
var
  screen, fontface, fontface2 : pSDL_SURFACE;
  test_event : pSDL_EVENT;
  score, tick : integer;
  mobs : array [0 .. 20, 0 .. 4] of integer;
  mobsx : array [0 .. 20] of integer;
  mobsy : array [0 .. 20] of integer;
  stop : boolean = false;

implementation

end.
Programming - a skill for life!

by Steven Binns: Y11 Age ~15