What's new 001006:
- Graphics
- Fixed a stupid bug in Pixel() + made it work in 24-bit modes.
- Added Line(), Box(), and Circle(), see jtest01.ex(w).
- Added SetFillMode(), see jtest01.ex(w).
- Fixed a bug in Get/SetColor() (they didn't work in windowed mode).
- Other
- Work has begun on a reference manual, see refman.txt. It doesn't really deserve to
be called 'reference manual' at the moment, but it does at least go through some of
the most important routines (like Blit()).
- Got rid of all the machine-code sequences (jarodgen.inc & beeampee.inc) by putting
all the machine-code in external files wich are loaded at run-time.
This should solve the problem with those huuuge main_.c-files sometimes generated by
the current version of the Euphoria->C translator.
The format in wich the machine-code routines are stored isn't exactly the most clever
that the world has seen, so loading times are relatively high. I'll use a better format
for future releases.
- Removed a line from the previous version that turned off MMX-optimizations even if the
processor supported MMX (oops..). Not that the performance will improve that much on
MMX-processors, as I'm using MMX only for data-transfer and not for calculations.
- Added a couple of new example programs. Note that j2xSaI won't run under DOS (I was
too lazy to figure out why..).
- Fixed a few typos here and there.
What's new 000922:
- Graphics
- The bitmap library has been improved (24-bit to 8-bit convertion is now possible, among
other things).
The Windows version has seen some major speed-ups in the process.
- Added GenerateOptimizedPalette(), AllowPaletteOptimization() and AllowDithering() for
color reduction purposes, see bitmap.ex(w).
- Added CharOut(), see playmod.ex(w).
- Added Pixel() (not available in 24-bit modes), see jtest01.ex(w).
- The STRETCHCOPY blitters have been speeded up. They still don't clip images correctly
though (actually, STRETCHCOPY only works in 8-bit modes).
- TRANSCOPY is now mapped to MIXCOPY in 8-bit modes.
- Added some more (of the missing) blitters.
- Added the HFLIP and VFLIP methods (only works with SOURCECOPY+NOCLIPCOPY, and not in
24-bit modes). See jtest04.ex(w).
- Sound
- Changed the protoytpe for InitSoundSystem(). The 'bass_flags' parameter has been moved
one step "to the right". The 5th parameter is now a CD-init flag (0=don't init CD,
!0=init CD).
- Changed the name of SetVolume() to SetMasterVolume().
- Added SetVolume(), SetPanning() and SetFrequency().
- Added WAV loading/playback, see playwav.exw.
- Added CD playback, see playcd.exw.
- Input
- Removed InstallInput() & ReleaseInput(), Jarod will now install/release the keyboard-
handler itself (unless ofcourse if don't call Main()).
- Changed GetKey() to make it work anywhere in a program. The differances from the
old version are:
- It's is now dependant on UpdateInput().
- It now returns *SCANCODES*, not ASCII-codes.
- It's slower..
- Added WaitKey().
- Other
- You can now use windowed mode under Windows!
Note that I said "can", not "should". Windowed mode is after all slower than fullscreen.
Call WindowType(STANDARD) *before* Main() to set windowed mode.
- Ditched cpuid.e.