Go to file
Daniel Richard G dd168ad22c Use C99 integer types and C++ boolean types/values
This change comprehensively replaces the use of Microsoft-standard integer
and boolean types with their C99/C++ standard equivalents, as the latter is
more appropriate for a cross-platform application. With matter-of-course
exceptions in the Win32-specific code, the types/values have been converted
as follows:

    QWORD  --> uint64_t
    SQWORD --> int64_t
    DWORD  --> uint32_t
    SDWORD --> int32_t
    WORD   --> uint16_t
    SWORD  --> int16_t
    BYTE   --> uint8_t
    BOOL   --> bool
    TRUE   --> true
    FALSE  --> false

The following related changes are also included:

* Added C99 integer type definitions for Windows, as stdint.h is not
  available prior to Visual Studio 2010

* Changed types of some variables in the SolveSpace class from 'int' to
  'bool', as they actually represent boolean settings

* Implemented new Cnf{Freeze,Thaw}Bool() functions to support boolean
  variables in the Registry

* Cnf{Freeze,Thaw}DWORD() are now Cnf{Freeze,Thaw}Int()

* TtfFont::Get{WORD,DWORD}() are now TtfFont::Get{USHORT,ULONG}() (names
  inspired by the OpenType spec)

* RGB colors are packed into an integer of type uint32_t (nee DWORD), but
  in a few places, these were represented by an int; these have been
  corrected to uint32_t
2013-10-02 01:45:13 -04:00
exposed Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
extlib Add support for the 3dconnexion six degree of freedom input devices 2009-07-20 11:05:33 -08:00
icons Add two more icons to the toolbar, for text in a TrueType font and 2010-05-16 09:04:56 -08:00
obj This is my initial checkin for solvespace, a second attempt at 2008-03-25 02:02:13 -08:00
srf Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
tools Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
win32 Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
bitmapextra.table.h Renamed *.table files to *.table.h 2013-09-16 17:14:53 -04:00
bitmapfont.table.h Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
bsp.cpp Quash "variable may be used uninitialized" warnings 2013-08-26 15:36:00 -04:00
clipboard.cpp Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
confscreen.cpp Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
constraint.cpp Added const qualifiers 2013-08-26 14:58:35 -04:00
constrainteq.cpp Changes in preparation for the release of SolveSpace under the GPL, 2013-07-28 14:08:34 -08:00
COPYING.txt Changes in preparation for the release of SolveSpace under the GPL, 2013-07-28 14:08:34 -08:00
describescreen.cpp Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
draw.cpp Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
drawconstraint.cpp Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
drawentity.cpp Quash "variable may be used uninitialized" warnings 2013-08-26 15:36:00 -04:00
dsc.h Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
entity.cpp Changes in preparation for the release of SolveSpace under the GPL, 2013-07-28 14:08:34 -08:00
export.cpp Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
exportstep.cpp Changes in preparation for the release of SolveSpace under the GPL, 2013-07-28 14:08:34 -08:00
exportvector.cpp Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
expr.cpp Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
expr.h Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
file.cpp Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
font.table.h Renamed *.table files to *.table.h 2013-09-16 17:14:53 -04:00
generate.cpp Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
glhelper.cpp Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
graphicswin.cpp Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
group.cpp Miscellaneous adjustments for warnings and code quality 2013-09-19 02:35:56 -04:00
groupmesh.cpp Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
icon.ico Add an icon file (ugly, but at least it's not the default anymore). 2008-07-18 01:50:52 -08:00
Makefile.msvc Make optional the use of the SpaceNavigator libraries 2013-09-20 15:25:14 -04:00
mesh.cpp Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
modify.cpp Quash "variable may be used uninitialized" warnings 2013-08-26 15:36:00 -04:00
mouse.cpp Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
png2c.pl Revised the Perl scripts 2013-08-26 17:45:09 -04:00
pngchar2c.pl Revised the Perl scripts 2013-08-26 17:45:09 -04:00
polygon.cpp Miscellaneous adjustments for warnings and code quality 2013-09-19 02:35:56 -04:00
polygon.h Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
request.cpp Quash "variable may be used uninitialized" warnings 2013-08-26 15:36:00 -04:00
sketch.h Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
solvespace.cpp Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
solvespace.h Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
style.cpp Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
system.cpp Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
textscreens.cpp Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
textwin.cpp Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
toolbar.cpp Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
ttf.cpp Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
ui.h Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
undoredo.cpp Changes in preparation for the release of SolveSpace under the GPL, 2013-07-28 14:08:34 -08:00
util.cpp Use casts to bridge mismatches in integer-type sizes and signedness 2013-08-26 16:19:23 -04:00
view.cpp Use C99 integer types and C++ boolean types/values 2013-10-02 01:45:13 -04:00
wishlist.txt Make oops() calls exit instead of entering debugger by default, 2011-03-05 12:52:57 -08:00