home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / www / f1 / archives / cat.dms / cat.adf / other / blitz / blitz
Text File  |  1996-04-14  |  10KB  |  378 lines

  1. The Guide To Blitz 
  2. Neil Wright
  3. F1-136
  4. £4.99 (2 disks)
  5. Any Amiga. (You will need the Blitz Basic programming language to make any
  6. sense of this guide of course, Covers commands, including PD extensions, up 
  7. to V2.0)
  8.  
  9. The guide to Blitz is a truley MASSIVE tome spanning over 400 A4 pages of
  10. text and covers virtually every subject you are ever likely to need to
  11. know about. This superb reference is an invaluable aid to beginners and 
  12. will serve as a great reference work for experts. Guide To Blitz comes on 
  13. two disks, disk two is choc full of remmed example programs that are 
  14. covered in the main guide to save you any typing. 
  15.  
  16. If you are tired of the miniscule manual supplied with Blitz and need to
  17. know what the commands REALLY do then now's your chance. 
  18.  
  19. Just take a look at the subjects covered in this huge book:
  20.  
  21.    1.1 Welcome to Blitz Basic
  22.    1.2 Using this manual
  23.    1.3 Basic programming concepts
  24.        1.3.1 Functions, statements & commands
  25.    1.4 Amiga Vs Blitz
  26.    1.5 Label Definitions
  27.        1.5.1 Restrictions
  28.    1.6 Variables
  29.    1.7 Numeric types
  30.        1.7.1 Manipulating quick numbers
  31.    1.8 NewTypes
  32.        1.8.1 NewType fields
  33.        1.8.2 Restrictions
  34.        1.8.3 NewType in action
  35.    1.9 Constants
  36.    1.10 Strings
  37.    1.11 Blitz Basic operators
  38.         1.11.1 Relational operators
  39.         1.11.2 Logical operators
  40.    1.12 Using operators with strings
  41.         1.12.1 Concatenation
  42.         1.12.2 Relational operators
  43.    1.13 Arrays
  44.         1.13.1 List arrays
  45.         1.13.2 Sorting arrays
  46.    1.14 Program control
  47.    1.15 Using data
  48.    1.16 End-of-Chapter summary
  49.  
  50.  
  51. 2. String Functions
  52.  
  53.    2.1 Strings and roundabouts
  54.    2.2 Manipulating strings
  55.    2.3 String searching
  56.        2.3.1 Searching for characters in a string
  57.        2.3.2 Replacing characters in a string
  58.        2.3.3 Case sensitivity
  59.    2.4 Converting strings
  60.    2.5 Obtaining string information
  61.    2.6 Character strings
  62.        2.6.1 Integers
  63.        2.6.2 Long values
  64.        2.6.3 Quick values
  65.    2.7 End-of-Chapter summary
  66.  
  67.  
  68. 3. Mathematics
  69.    3.1 Arithmetical operators
  70.    3.2 Sign on the dotted line
  71.    3.3 Floating point numbers
  72.    3.4 Standard mathematical functions
  73.    3.5 Trigonometry
  74.    3.6 Random numbers
  75.    3.7 Machine code
  76.    3.8 End-of-Chapter summary
  77.  
  78.  
  79. 4. Control Structures
  80.    4.1 Unconditional jumps
  81.    4.2 Conditional jumps and structured tests
  82.    4.3 Conditional loops
  83.    4.4 Unconditional loops
  84.    4.5 Controlled loops
  85.    4.6 Interrupt handling
  86.    4.7 Error handling
  87.    4.8 Procedures
  88.        4.8.1 Statement-type procedures
  89.        4.8.2 Function-type procedures
  90.        4.8.3 Global variables
  91.        4.8.4 Some useful procedures
  92.    4.9 End-of-Chapter summary
  93.  
  94.  
  95. 5. Input/Output
  96.    5.1 Text
  97.        5.1.1 Printing on screen
  98.        5.1.2 Formatting numeric strings
  99.        5.1.3 Changing the text style
  100.        5.1.4 Setting the text colour
  101.        5.1.5 The text colour
  102.    5.2 The Keyboard
  103.        5.2.1 Reading the keyboard
  104.    5.3 The Joystick
  105.    5.4 Reading the mouse status
  106.        5.4.1 The mouse pointer
  107.    5.5 File access
  108.        5.5.1 File selectors
  109.        5.5.2 Opening a file
  110.        5.5.3 Examining files
  111.        5.5.4 Deleting files
  112.        5.5.5 Sequential files
  113.        5.5.6 Random access files
  114.        5.5.7 Advanced file access
  115.    5.6 End-of-Chapter summary
  116.  
  117. 6. BitMaps and Slices
  118.    6.1 Creating a BitMap
  119.        6.1.1 Manipulating BitMaps
  120.        6.1.2 Loading and saving BitMaps
  121.        6.1.3 Display synchronisation
  122.    6.2 Defining a Slice
  123.        6.2.1 Syntax 1
  124.        6.2.2 Syntax 2
  125.        6.2.3 Manipulating Slices
  126.        6.2.4 Displaying a BitMap in a Slice
  127.    6.3 End-of-Chapter summary
  128.  
  129. 7. Graphics
  130.    7.1 2D Drawing
  131.        7.1.1 Clearing with colour
  132.        7.1.2 Gunpowder plot
  133.        7.1.3 A few pointers
  134.        7.1.4 It's a fine line
  135.        7.1.5 Boxing clever
  136.        7.1.6 Circle circus
  137.        7.1.7 Polygon power
  138.        7.1.8 Fill her up!
  139.    7.2 Palettes
  140.        7.2.1 Loading a palette object
  141.        7.2.2 Controlling palette objects
  142.        7.2.3 Manipulating palettes
  143.    7.3 Fades
  144.        7.3.1 Fading into and out of reality
  145.        7.3.2 Manual fading
  146.    7.4 Colour cycling
  147.    7.5 Copper Lists
  148.        7.5.1 Copper load of this
  149.        7.5.2 Custom Copper Lists
  150.        7.5.3 Copper List functions
  151.    7.6 IFF Animation
  152.        7.6.1 Animated antics
  153.        7.6.2 A full example
  154.    7.7 End-of-Chapter summary
  155.  
  156. 8. Sprites and Shapes
  157.    8.1 Sprites
  158.        8.1.1 Loading sprites from disk
  159.        8.1.2 Saving sprites to disk
  160.        8.1.3 Sprite commands
  161.    8.2 Shapes
  162.        8.2.1 Loading and saving shapes
  163.        8.2.2 Grabbing shapes
  164.        8.2.3 Manipulating shapes
  165.        8.2.4 Shape functions
  166.        8.2.5 Automatic shape flipping
  167.        8.2.6 Shape scaling and rotation
  168.        8.2.7 Cookiecuts
  169.    8.3 Blitting
  170.        8.3.1 A simple blit
  171.        8.3.2 Blit modes
  172.        8.3.3 Queue blits
  173.        8.3.4 Buffer blits
  174.        8.3.5 Stencil blits
  175.    8.4 Detecting Collisions
  176.        8.4.1 Colours and sprites
  177.        8.4.2 Executing collision detection
  178.        8.4.3 Collision checking
  179.        8.4.4 Sprite collisions
  180.        8.4.5 Shape collisions
  181.        8.4.6 Shape and sprite collisions
  182.        8.4.7 Sprite area collisions
  183.        8.4.8 Rectangular area collisions
  184.    8.5 End-of-Chapter summary
  185.  
  186. 9. Audio
  187.    9.1 Pump up the volume
  188.    9.2 Rave the waves
  189.    9.3 Samples
  190.        9.3.1 Playing samples from memory
  191.        9.3.2 Playing samples from disk
  192.        9.3.3 Manipulating samples
  193.    9.4 Playing Tracker modules
  194.    9.5 Med modules
  195.        9.5.1 Playing Med modules
  196.        9.5.2 Manipulating Med modules
  197.    9.6 Speech
  198.        9.6.1 Walkie-Talkie
  199.        9.6.2 It's a foreign language
  200.    9.7 End-of-Chapter summary
  201.  
  202. 10. Screens
  203.     10.1 Defining a screen
  204.          10.1.1 Syntax 1
  205.          10.1.2 Syntax 2
  206.          10.1.3 Interlaced screens
  207.          10.1.4 Extra Half-Brite
  208.          10.1.5 Hold And Modify
  209.          10.1.6 Screen BitMaps
  210.     10.2 Controlling screens
  211.     10.3 Screen priority
  212.     10.4 Manipulating screens
  213.     10.5 Screen functions
  214.     10.6 IFF screens
  215.          10.6.1 Loading and saving BitMaps
  216.          10.6.2 ILBM
  217.     10.7 End-of-Chapter summary
  218.  
  219. 11. Windows
  220.     11.1 Opening a window
  221.          11.1.1 Super-BitMap windows
  222.     11.2 Manipulating windows
  223.          11.2.1 Moving between windows
  224.          11.2.2 Closing a window
  225.          11.2.3 Activating a window
  226.          11.2.4 Window titles
  227.          11.2.5 Altering window menus
  228.          11.2.6 Moving a window
  229.          11.2.7 Window scrolling
  230.          11.2.8 Window sizing
  231.          11.2.9 Window BitMaps
  232.     11.3 Window functions
  233.          11.3.1 Window dimensions
  234.          11.3.2 Window RastPort
  235.     11.4 Window events
  236.          11.4.1 IDCMP flags
  237.          11.4.2 Defining IDCMP flags
  238.          11.4.3 Adding IDCMP flags
  239.          11.4.4 Subtracting IDCMP flags
  240.          11.4.5 Window event functions
  241.          11.4.6 Gadget events
  242.          11.4.7 Menu events
  243.          11.4.8 Keyboard events
  244.          11.4.9 Clearing the event queue
  245.     11.5 Window text
  246.          11.5.1 Changing the text style
  247.          11.5.2 Setting the text colour
  248.          11.5.3 Changing the text colour
  249.          11.5.4 The text colour
  250.     11.6 Window input
  251.          11.6.1 Reading the keyboard
  252.          11.6.2 The input cursor
  253.     11.7 The mouse pointer
  254.          11.7.1 Mouse functions
  255.          11.7.2 Mouse buttons
  256.          11.7.3 The mouse pointer
  257.     11.8 Window graphics
  258.     11.9 End-of-Chapter summary
  259.  
  260. 12. Menus
  261.     12.1 Defining menus
  262.          12.1.1 Text menu items
  263.          12.1.2 Shape menu items
  264.     12.2 Creating menus
  265.     12.3 Manipulating menus
  266.     12.4 A full example
  267.     12.5 End-of-Chapter summary
  268.  
  269. 13. Gadgets
  270.     13.1 Text gadgets
  271.          13.1.1 Cycling text gadgets
  272.     13.2 Shape gadgets
  273.     13.3 String gadgets
  274.          13.3.1 Manipulating string gadgets
  275.     13.4 Gadget groups
  276.     13.5 Proportional gadgets
  277.     13.6 Gadget borders
  278.     13.7 Disabling gadgets
  279.     13.8 The GadTools Library
  280.          13.8.1 Basics of GadTools
  281.          13.8.2 Numeric gadgets
  282.          13.8.3 Text and string gadgets
  283.          13.8.4 Check box gadgets
  284.          13.8.5 Cycle gadgets
  285.          13.8.6 List gadgets
  286.          13.8.7 Highlight gadgets
  287.          13.8.8 Palette gadgets
  288.          13.8.9 Proportional gadgets
  289.          13.8.10 Shape gadgets
  290.          13.8.11 Gadget borders
  291.          13.8.12 Manipulating gadgets
  292.     13.9 End-of-Chapter summary
  293.  
  294. 14. AGA
  295.     14.1 Advanced Graphics Architecture
  296.     14.2 Creating a CopList
  297.          14.2.1 Multiple CopLists
  298.          14.2.2 Non-AGA CopLists
  299.     14.3 Displaying a BitMap in a CopList
  300.     14.4 Palettes
  301.     14.5 A full example
  302.     14.6 AGA Sprite handling
  303.     14.7 End-of-Chapter summary
  304.  
  305. 15. System functions
  306.     15.1 Display heights
  307.     15.2 Object handling
  308.     15.3 System date and time
  309.     15.4 Workbench functions
  310.     15.5 Food processor
  311.     15.6 BREXX
  312.          15.6.1 Emulating user input
  313.          15.6.2 Recording tape objects
  314.          15.6.3 Playing tape objects
  315.          15.6.4 BREXX functions
  316.          15.6.5 Loading and saving tape objects
  317.          15.6.6 Recording BREXX commands
  318.          15.6.7 Macro keys
  319.     15.7 End-of-Chapter summary
  320.  
  321. 16. Advanced programming
  322.     16.1 Compiler directives
  323.          16.1.1 Include files
  324.          16.1.2 Conditional compiling
  325.          16.1.3 Macros
  326.     16.2 Assembler
  327.     16.3 End-of-Chapter summary
  328.  
  329. 17. Program start up
  330.     17.1 Executable files
  331.          17.1.1 CLI Parameters
  332.     17.2 Runtime program start up
  333.     17.3 End-of-Chapter summary
  334.  
  335. 18. The Future
  336.     18.1 The Blitz User Group
  337.     18.2 Blitz User International
  338.     18.3 Blitz User Magazine
  339.     18.4 Blitz User Disk Magazine
  340.     18.5 Magazine columns
  341.     18.6 Useful contacts
  342.  
  343. Appendix 1: Blitz Basic Applications
  344.     A1.1 Shapesmaker
  345.          A1.1.1 Loading an IFF file
  346.          A1.1.2 Shapes or sprites?
  347.          A1.1.3 Detention centre
  348.          A1.1.4 Masking tape
  349.          A1.1.5 Preaching to the converted
  350.     A1.2 MapEdit
  351.          A1.2.1 First steps
  352.          A1.2.2 Starting from scratch
  353.          A1.2.3 I'm a map - edit me!
  354.     A1.3 Shape-Ed V2
  355.     A1.4 BobEd V1.2
  356.     A1.5 Blitz-Case
  357.  
  358. Appendix 2: Useful Programs
  359.     A2.1 X-Plane Starfield
  360.     A2.2 Z-Plane Starfield
  361.     A2.3 Mandelbrot
  362.     A2.4 Mirrored Text
  363.     A2.5 System Reset
  364.     A2.6 DF1: Test
  365.     A2.7 Splerge!
  366.     A2.8 Fireworks
  367.     A2.9 Scrolling Text
  368.     A2.10 Chipset?
  369.  
  370. Appendix 3: Error Messages
  371.     A3.1 You're bugging me
  372.     A3.2 Blitz error messages
  373.  
  374. Appendix 4: Glossary
  375.     A4.1 Glossary of terms
  376.  
  377.  
  378.