- 1. -
Table of Contents
1. What's New in TMT Pascal?
What's New in TMT Pascal?
The current release of TMT 5 shipped now includes the following
additions and fixes:
RTL changes
- Changes in the system unit:
- MemAvail() no longer returns the total size of the page file (win32).
Now it returns the amount of memory available in the page file.
- changed return type for MemAvail() and MaxAvail() to be a dword
- All filesystem related functions now work in w95/w98/w2k/xp/pure DOS.
- fixed bug in the dWord swap() function
- fixed bug in erase() in Windows 2000
- added short/long file name support to rename()
- added short/long file name support to erase()
- added short/long file name support to getCurDir()
- added short/long file name support to removeDir()
- added short/long file name support to changeDir()
- added short/long file name support to makeDir()
- Changes in the Mouse unit:
- Fixed bug in doneMouse() that caused a crash when no mouse driver was installed under pure DOS
- Changes in the DOS unit:
- Added findClose() call to the win32 version of fsearch().
- All filesystem related functions now work in w95/w98/w2k/xp/pure DOS.
- modified search attribute passing to the TFinder object
- changed the way FExpand() works. Now allows for extensions up to 255 chars in length.
- fixed win32 bug in GetFTime()
- added long file name support to FExpand()
- rewrote FSearch() to work properly in Windows 2000
- added long file name support to FSearch()
- added long file name support to setFAttr()
- fixed win32 bug in getFAttr()
- added long file name support to getFAttr()
- added long file name support to findNext()
- added long file name support to findFirst()
- interfaced the DOS version of findFirst()/findNext() to the TFinder object
- added a pointer to a TFinder object in SearchRec type
- added TFinder.next()
- added TFinder.find()
- added TFinder.done()
- added TFinder.init()
- added TFinder object
- Changes in the ZenTimer unit:
- Changed the timing loop. This fixes the crashing on very fast computers.
- Changes in the ogFont unit:
- renamed ogBitFont.saveTo() to ogBitFont.saveToOffset()
- renamed ogBitFont.loadFrom() to ogBitFont.loadFromOffset()
- added alpha channel information to setBGColor()
- added alpha channel information to setFGColor()
- Changes in the ObjGfx40 unit:
- added call to ogClear in ogDisplay_DirectDraw.ogCreate()
- added packed pixel conversion to 8bpp in ogCopy() and ogCopyBuf()
- added ogFillGouraudBSpline()
- added ogFillGouraudPolygon()
- forgot to copy the default alpha level from the surface in ogBlit.getBlitWithMask
- fixed bug in ogGetPal
- fixed bug in ogSetPal
- added check in ogSurface.ogSetPixelRGBA to ensure that the surface is available
- fixed bug in ogSpline (points wasn't declared as var)
- changed the alpha level of the first pixel in aaRawLine() to
use the normal alpha. This fixes drawing diagonal lines properly.
- renamed ogSprite.loadFrom to ogSprite.loadFromOffset
- renamed ogSprite.saveTo to ogSPrite.saveToOffset
- renamed ogBlit.loadFrom to ogBlit.ogLoadFromOffset
- renamed ogBlit.saveTo to ogBlit.saveToOffset
- added ogSprite.loadFromFile
- added ogSprite.SaveToFile
- added ogBlit.loadFromFile
- added ogBlit.saveToFile
- made ogCopy() encode the alpha channel of a source 8bpp surface
when copying to a higher bit-depth destination surface.
- renamed ogGetModeSettings to ogQueryModeSettings
- added ogDisplay_DirectDraw.ogGetActivePage
- added ogDisplay_DirectDraw.ogGetVisualPage
- added ogDisplay_DirectDraw.ogSetActivePage
- added ogDisplay_DirectDraw.ogSetVisualPage
- added ogDisplay_VESA.ogGetActivePage
- added ogDisplay_VESA.ogGetVisualPage
- added ogDisplay_VESA.ogSetActivePage
- added ogDisplay_VESA.ogSetVisualPage
- added ogErrorCode enum
- added OG_ERROR_CODE_STR constant
- added ogSurface.ogGetLastError
- added ogSurface.ogSetLastError
- removed ogAttributes.reset
- added ogBlit.copyBlitMask constructor
- fixed mode reset bug for win32
- changed ogCreate() to use temp pointers to ensure that if memory
allocation fails the original surface isn't left in an unknown state.
- fixed resetting the mode in ogDisplay_DirectDraw.ogCreate().. it
now no longer fails when you try to change modes, but it doesn't
always reset the mode properly on exit
- allowed ogBlit.getBlitMask() to be called alone
- modified ogSprite.save() to erase an existing file if it exists
this affects ogBlit.save() as well.
- added ogBlit.copy constructor
- removed some extra win32 code
- removed win32 support for versions of directDraw prior to 5
- added ogDisplay_VESA.ogGetModeSettings
- added ogDisplay_DirectDraw.ogGetModeSettings
- added ogDisplay_VESA.ogVSync
- added ogDisplay_DirectDraw.ogVSync
- fixed parameter passing bug into buildGET
- fixed the fillpoly bug
- fixed bug in gouraud shader which overflowed interpolated values
- fixed overdraw issue in ogRect
- added ogSprite.copy
- added ogDisplay_DirectDraw.ogAlias
- added ogDisplay_DirectDraw.ogClone
- added ogDisplay_DirectDraw.ogCopyPal
- added ogDisplay_DirectDraw.ogLoadPal
- added ogDisplay_DirectDraw.ogSetPal
- renamed ogGetAlphaMask to ogGetAlphaMasker
- added ogAttributes.reset
- renamed ogGetBlending to ogIsBlending
- renamed ogGetAntiAlias to ogIsAntiAliasing
- added alpha blending to ogClear
- added ogSurface_DirectDraw support
- changed normal non-antialiased lines to use wu's symmetric line algorithm
- made normal lines able to be alpha-blended
- vastly improved the quality of anti-aliased lines
- made anti-aliased lines able to be alpha-blended
- added ogSurface.ogSetPixelRGBA
- added ogSurface.ogSetRGBAPalette
- added ogDisplay_VESA.ogSetRGBAPalette
- added ogSurface.rawSetPixelRGBA
- fixed overdraw issues in ogFillCircle
- added alpha blending to ogSprite.put
- added alpha blending to ogBlit.put
- added alpha blending to ogSetPixel
- added alpha blending to rawSetPixel
- added alpha blending to ogVLine
- added alpha blending to ogHLine
- added ogAttributes
- added ogGetBlending
- added ogSetBlending
- added ogGetAlpha
- added ogSetAlpha
- added ogGetAlphaMask
- made transparentColor a pointer to a uInt32
- added ogPixCon object. Modified how pixel conversions are done in ogCopy() and ogCopyBuf().
- added pixFmtID to ogSurface
- added bytesPerPix to ogSurface
- added ogRGB32 and ogRGBA32
- added gouraud shading
- added ogSurface.ogAvail()
- removed ogSurface.ogGetPal()
Compiler changes
- Fixed the duplicate -STACK option in the command line help
- Fixed a bug in the internal memory allocation routine which was causing dirty pointers
- Added the __VER5__ identifier
- Modified the unit generation for the new version
- Added provisions for the fbsd port
- Added provisions for supporting elf32
- Internal changes related to source base conversion.
Changes in the Samples directory
- Recompiled and tested all samples
- Added Common\ObjGfx40
- Added Common\ObjGfx40\3dDemo
- Added Common\ObjGfx40\demos
- Fixed bug in Common\ZenTimer\UlzTest.pas
- Removed Common\Win32\GUI\DirectX\EnhMesh
- Removed Common\Win32\GUI\DirectX\PickTMT
- Added missing res file in Common\Win32\GUI\DirectX\DDEnum
- Added missing res file in Common\Win32\GUI\DirectX\DDEx1
- Added missing res file in Common\Win32\GUI\DirectX\DDEx2
- Added missing res file in Common\Win32\GUI\DirectX\DDEx3
- Added missing res file in Common\Win32\GUI\DirectX\Donuts
- Added missing res file in Common\Win32\GUI\DirectX\KeybdExC
- Added missing res file in Common\Win32\GUI\DirectX\Stretch
- Added Common\Win32\GUI\OpenGL\CellShading
- Added Common\Win32\GUI\OpenGL\PocketWatch
- Added Common\Win32\GUI\OpenGL\Specular
- Added Common\Win32\GUI\OpenGL\Stencil
- Removed Common\Win32\GUI\OpenGL\ChroFace
- Removed Common\Win32\GUI\OpenGL\Persist
- Removed Common\Win32\GUI\OpenGL\PlasmaTn
- Removed Common\Win32\GUI\OpenGL\Torus
- Removed Common\Win32\GUI\OpenGL\Tunnel
Changes in the Source\RTL directory
- Updated headers for all files.
- Sync'd time of files to match version number of the compiler
Changes in the HTML documentation
- Updated the documentation
- Redid all of section 4
- ogDisplay.ogSetVisualPage.htm
- Added mention of the second parameter: waitForRetrace
- using_new_proc_oop.htm
- Fixed typo in documentation. Changed new(C.Init(P, R)); to new(C, Init(P, R));
- blockread_proc.htm
- Fixed incorrect documentation where count and result were of type Word
- blockwrite_proc.htm
- Fixed incorrect documentation where count and result were of type Word
- map_file_generation_switch.htm
- Fixed incorrect documentation. Added mention of the command line switch
- built-in_assembler.htm
- maxavail_func.htm
- Return type changed to dword
- memavail_func.htm
- Return type changed to dword
- Added remarks section about usage in DOS/Win32
- Migrated ObjGfx 3.0 help to include ObjGfx 4.0 extensions
- Added ObjGfx 3.0 help
- whats_new.htm
- added this page
- Fixed links to gifs
- Fixed reference to ObjGfx unit
- implementation_issues.htm
- Fixed links to gifs
- Removed netscape specific indexing javascript
- memory_organization.htm
- Fixed referenced path to flame.pas from TMTPL to TMT.5
- lang_struct.htm
- Removed netscape specific indexing javascript
- prog_comm.htm
- Reference to missing images/attention.gif
- Fixed grammatical errors
- constants.htm
- Removed netscape specific indexing javascript
- int_and_real.htm
- Reference to missing images/attention.gif
- str_const.htm
- const_decl.htm
- types.htm
- Removed netscape specific indexing javascript
- int_type.htm
- Reference to missing images/attention.gif
- real_type.htm
- Reference to missing images/attention.gif
- variant_type.htm
- Reference to missing images/attention.gif
- structured_types_alignment.htm
- Reference to missing images/attention.gif
- decl.htm
- Removed netscape specific indexing javascript
- expressions.htm
- Removed netscape specific indexing javascript
- statements.htm
- Removed netscape specific indexing javascript
- programs_and_units.htm
- Removed netscape specific indexing javascript
- programs.htm
- Reference to missing images/attention.gif
- dlls.htm
- Removed netscape specific indexing javascript
- procedures_and_functions.htm
- Removed netscape specific indexing javascript
- external_declaration.htm
- interrupt_procedure.htm
- Reference to missing images/attention.gif
- procedural_value.htm
- Reference to missing images/entry_point.gif
- Reference to missing local_env.gif
- oop_extensions.htm
- Removed netscape specific indexing javascript
- built-in_assembler.htm
- Removed netscape specific indexing javascript
- switch_dirs.htm
- Removed netscape specific indexing javascript
- map_file_generation_switch.htm
- mmx_switch.htm
- objects_and_structures_align.htm
- c_style_comments_switch.htm
- assert_directives_switch.htm
- amd_3dnow_switch.htm
- ada_style_comments_switch.htm
- data_align_switch.htm
- opt_switch.htm
- optfrm_switch.htm
- optreg_switch.htm
- warnings_generation_switch.htm
- predefined_symbols.htm
- std_units.htm
- Restored from original
- Removed ObjGfx unit from list
- Removed extraneous data from the <TITLE> tag
- win32_term.htm
- idew32.htm
- Fixed "Table of Content"
- Removed netscape specific indexing javascript
- idew32_bookmarks.htm
- idew32_code_templ.htm
- idew32_comp_opt.htm
- idew32_dirs.htm
- idew32_dbg_search_dir.htm
- idew32_display.htm
- idew32_editor.htm
- idew32_shortcuts.htm
- idew32_dbg_shortcuts.htm
- idew32_dbg_cmd.htm
- win32_programming.htm
- Fixed "Table of Content"
- Removed netscape specific indexing javascript
- writing_win32_gui_app.htm
- Fixed "Table of Content"
- Fixed referenced path from TMTPL to TMT.5
- structure_of_window_proc.htm
- designing_a_window_proc.htm
- associating_a_window.htm
- win32_gui_example.htm
- writing_win32_control_panel_app.htm
- Fixed "Table of Content"
- Removed netscape specific indexing javascript
- control_panel_app.htm
- app_entry-point_func.htm
- Fixed "Table of Content"
- Fixed referenced path from TMTPL to TMT.5
- writing_win_dlls.htm
- using_win_dlls.htm
- mmedia_applications.htm
- pmodew.htm
- Fixed "Table of Content"
- Removed netscape specific indexing javascript
- pmodew_about.htm
- pmodew_func.htm
- Fixed "Table of Content"
- Removed netscape specific indexing javascript
- accctrl_unit.htm
- appendpathdelimiter_func.htm
- Fixed referenced path from TMTPL to TMT.5
- bar32_const.htm
- cmtoinch_func.htm
- compmath_unit.htm
- Removed netscape specific indexing javascript
- cpu_getcpuidfeatures_func.htm
- Fixed malformed sublevel title
- cpu_getprocessorspeed_func.htm
- Fixed malformed sublevel title
- cpu_getprocessortype_func.htm
- Fixed malformed sublevel title
- cpu_have3dnow_func.htm
- Fixed malformed sublevel title
- cpu_havemmx_func.htm
- Fixed malformed sublevel title
- createcodealias_func.htm
- createdataalias_func.htm
- crt_proc_and_func.htm
- Removed netscape specific indexing javascript
- crt-unit.htm
- Removed netscape specific indexing javascript
- crt_variables.htm
- Removed netscape specific indexing javascript
- destructors.htm
- directxapi.htm
- Fixed referenced path from TMTPL to TMT.5
- dispose_proc.htm
- Fixed off-by-one error in the source
- dos_const_and_var.htm
- Removed netscape specific indexing javascript
- dos_proc_and_func.htm
- Removed netscape specific indexing javascript
- dos_protected_units.htm
- Removed netscape specific indexing javascript
- dos_unit.htm
- Removed netscape specific indexing javascript
- dosexitcode_func.htm
- dpmi_proc_and_func.htm
- Removed netscape specific indexing javascript
- dpmi_types.htm
- Removed netscape specific indexing javascript
- dpmi_unit.htm
- Removed netscape specific indexing javascript
- envstr_func.htm
- Added missing <pre> tag
- findfirst_proc.htm
- Fixed missing </b> tag
- findfirst_proc_windos.htm
- Fixed missing </b> tag
- Changed uses clause in the example code
- findnext_proc.htm
- Fixed typo in the example code
- findnext_proc_windos.htm
- Fixed typo in the example code
- Changed uses clause in the example code
- getdpmiintvec_func.htm
- Changed declaration formatting slightly
- getfattr_proc_windos.htm
- Changed uses clause in the example code
- getftime_proc_windos.htm
- Changed uses clause in the example code
- gettime_proc.htm
- Added missing uses clause in example code
- gettime_proc_windos.htm
- Added missing uses clause in example code
- graph_proc_and_func.htm
- Removed netscape specific indexing javascript
- graph_types_const_var.htm
- Removed netscape specific indexing javascript
- htmlhlp_unit.htm
- idew32_dbg_shortcuts.htm
- intr_proc_windos.htm
- Changed uses clause in the example code
- isconsole_var.htm
- keep_proc.htm
- keyboard_proc_and_func.htm
- Removed netscape specific indexing javascript
- keyboard_unit.htm
- Removed netscape specific indexing javascript
- lastdelimiter_func.htm
- Fixed referenced path from TMTPL to TMT.5
- lztimerlap_func.htm
- Replaced refences of LZTiemer to LZTimer
- lztimeron_proc.htm
- Replaced refences of LZTiemer to LZTimer
- lztimerresolution_func.htm
- Replaced refences of LZTiemer to LZTimer
- math_proc_and_func.htm
- Removed netscape specific indexing javascript
- math_unit.htm
- Removed netscape specific indexing javascript
- mmedia_errorcode.htm
- Removed duplicate "MMedia Unit" link
- mmedia_unit.htm
- Removed netscape specific indexing javascript
- Fixed extra >
- mouse_proc_and_func.htm
- Removed netscape specific indexing javascript
- mouse_unit.htm
- Removed netscape specific indexing javascript
- msdos_os2_win32_console_units.htm
- Removed netscape specific indexing javascript
- msdos_proc_windos.htm
- Changed uses clause in the example code
- msdos_win32_console_units.htm
- Removed netscape specific indexing javascript
- searchrec_type.htm
- Modified help to reflect changes made to the SearchRec struct in DOS
- setfattr_proc_windos.htm
- Changed uses clause in the example code
- setftime_proc_windos.htm
- Changed uses clause in the example code
- setintvec_proc_windos.htm
- Changed uses clause in the example code
- showmouse_proc.htm
- strings_proc_and_func.htm
- Removed netscape specific indexing javascript
- strings_unit.htm
- Removed netscape specific indexing javascript
- strpas_func.htm
- system_proc_and_func.htm
- Removed netscape specific indexing javascript
- system_unit.htm
- Removed netscape specific indexing javascript
- system_variables.htm
- Removed netscape specific indexing javascript
- tmmedia_fields.htm
- Removed netscape specific indexing javascript
- tsearchrec_type.htm
- Modified help to reflect changes made to the SearchRec struct in DOS
- unpacktime_proc_windos.htm
- Changed uses clause in the example code
- Fixed nav bar title
- uns_func.htm
- Fixed spelling and grammatical error
- use16_unit.htm
- Fixed TITLE tag
- Fixed nav bar titles
- Fixed Section title name
- use32_unit.htm
- Fixed TITLE tag
- Fixed nav bar titles
- Fixed Section title name
- writeln_proc.htm
- whl_func.htm
- Fixed documentation omission
- wincrt_proc_and_func.htm
- Removed netscape specific indexing javascript
- wincrt_unit.htm
- Removed netscape specific indexing javascript
- wincrt_variables.htm
- Removed netscape specific indexing javascript
- windos_const_and_var.htm
- Removed netscape specific indexing javascript
- windos_proc_and_func.htm
- Removed netscape specific indexing javascript
- windos_unit.htm
- Removed netscape specific indexing javascript
- zentimer_proc_and_func.htm
- Removed netscape specific indexing javascript
- Replaced refences of LZTiemer to LZTimer
- zentimer_unit.htm
- Removed netscape specific indexing javascript
- declarations_const.htm
- Fixed reference to obsolete file
- wincrt_proc_and_func.htm
- Fixed reference to obsolete file
- tmmedia_methods.htm
- Removed netscape specific indexing javascript
- 1. -