Commit Graph

1647 Commits

Author SHA1 Message Date
fayjf
ce296d938e Moved the platform-specific variables in the Joystick structure into their own platform-specific substructure.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1025 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 05:25:10 +00:00
fayjf
71de22bf85 Removing the Windows-specific "includes" from "freeglut_joystick.c"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1024 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 04:46:29 +00:00
fayjf
8ab31e17c0 Splitting the platform-specific joystick "Raw Read" code into its own functions
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1023 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 04:45:17 +00:00
fayjf
74bd5d3da6 Splitting the platform-specific "fgSystemTime" code into its own functions
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1022 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 04:32:41 +00:00
fayjf
807a310099 Moving non-Windows platform-specific code lower in the file again to avoid declaration problems and splitting out the platform-specific fghJoystickOpen code
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1021 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 04:25:56 +00:00
fayjf
266e1b8bb9 Splitting out the platform-specific code from "fghJoystickInit"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1020 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 04:01:24 +00:00
fayjf
3f41b865c4 Moving the definition of the "fgJoystick" structure type to the header file so I can use it across source code files
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1019 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 03:51:12 +00:00
fayjf
0f68653742 Moving the platform-specific code (non-Windows) farther up in the freeglut_joystick.c file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1018 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 03:42:57 +00:00
fayjf
310d40d945 Splitting platform-specific code out of "fgJoystickClose" function
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1017 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 03:38:11 +00:00
fayjf
1c8c92fa89 Moving the Windows-specific "glutInitWithExit" function to a Windows-specific file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1016 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 03:25:31 +00:00
fayjf
d59e23ba2e Moving the "glutCreateWindowWithExit" and its associated variable to the Windows-specific files
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1015 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 03:22:28 +00:00
fayjf
d918fca3c0 Moving the platform-specific FBConfig and device context variables into platform-specific parts of the code
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1014 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 03:15:41 +00:00
fayjf
9d8d27aa4f Moving the platform-specific window handle and context type definitions into platform-specific code regions
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1013 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 03:04:35 +00:00
fayjf
137cc6d75c Moving the Windows platform-specific "SwapBuffers" calls into a Windows platform-specific file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1012 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 02:52:21 +00:00
fayjf
ab2e6057aa Moving platform-specific fields in "SFG_Display" into a substructure
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1011 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 02:45:04 +00:00
fayjf
488cd6ed75 Fixing the previous commit so we don't have a circular include. Under the new regime, the "freeglut_internal_mswin.h(platform).h" file will have only platform-specific definitions in it and will be included at the top of "freeglut_internal.h".
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1010 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 02:29:16 +00:00
fayjf
ccfdd2eb5f Adding the platform-specific includes to "freeglut_internal.h" in preparation for some more major changes
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1009 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-29 02:22:56 +00:00
fayjf
a7d02bb52d Removing some Windows-specific function prototypes from "freeglut_internal.h"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1008 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-24 04:07:10 +00:00
fayjf
8389adce0b Removing a bunch of "static" declarations from the "fgPlatform" function definitions to remove a raft of Linux errors
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1007 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-24 03:48:12 +00:00
fayjf
2b2e9a9644 Fixing the Linux directory paths in which the "automake" looks for source code
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1006 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-24 03:30:19 +00:00
fayjf
7c9b1f6d0d Putting in Diederick Niehorster's patch from e-mail dated 1/23/12 at 6:48 AM to fix the "WM_TOUCH" bugs inserted in the recent code changes
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1005 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-24 00:09:40 +00:00
fayjf
c8a0264fc4 Fixing a preprocessor typo
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1004 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-23 05:46:18 +00:00
fayjf
cec64541a5 Splitting the rest of the Windows-specific "freeglut_window.c" functions into their own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1003 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-23 05:44:18 +00:00
fayjf
4c2d8597d3 Splitting some Windows-specific "freeglut_window.c" functions into their own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1002 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-23 05:24:34 +00:00
fayjf
00b83f5488 Moving some function prototypes into the source files where they are found and out of the "freeglut_internal.h" file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1001 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-23 05:06:58 +00:00
fayjf
d36338f9f1 Rationalizing the names of the platform-specific functions so that they begin with "fgPlatform"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1000 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-23 05:01:37 +00:00
fayjf
2b9a6f6732 Splitting Windows-specific "freeglut_structure.c" code into its own file (there isn't any)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@999 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-23 04:42:31 +00:00
fayjf
7331abf64a Splitting the other "glutGet" Windows-specific code into its own function
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@998 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-23 04:37:06 +00:00
fayjf
c9e93c29b3 Moving Windows-specific "glutGet" code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@997 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-23 04:06:48 +00:00
fayjf
80f6707bf4 Splitting a little Windows-specific menu code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@996 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-23 02:46:16 +00:00
fayjf
b5938bf572 Splitting the rest of the Windows-specific code from "freeglut_main.c" into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@995 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-22 19:25:56 +00:00
fayjf
d75a397b78 Moving some Windows-specific code out of "freeglut_main.c" into the Windows-specific file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@994 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-22 06:21:50 +00:00
fayjf
df4390f600 Splitting out more Windows-specific code in "freeglut_init.c"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@993 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-22 01:48:15 +00:00
fayjf
e0b5c3f20a Splitting the Windows-specific input device code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@992 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-22 01:42:57 +00:00
fayjf
cc36c34c2a Correcting a header comment
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@991 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-22 01:32:31 +00:00
fayjf
301df8e9f4 Moving the command-line parsing into its own function in preparation for splitting out platform-specific code
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@990 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-20 04:38:09 +00:00
fayjf
b5c63cdad2 Removing more duplicate code ... need to be more careful.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@989 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-20 04:21:42 +00:00
fayjf
c449ab244c Removing some duplicate code from "freeglut_init.c" and its Windows version
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@988 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-20 04:20:28 +00:00
fayjf
93b2137e8f Moving some Windows-specific "freeglut_init.c" helper functions into their own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@987 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-20 04:10:00 +00:00
fayjf
2b3c51b0bd Moving some Windows-specific code from "freeglut_gamemode.c" into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@986 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-20 03:51:15 +00:00
fayjf
c28372cd99 Moving more Windows-specific code from "freeglut_ext.c" to the windows-specific file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@985 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-20 03:44:03 +00:00
fayjf
a625fdf807 Moving some Windows-specific code from "freeglut_ext.c" into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@984 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-20 03:38:05 +00:00
fayjf
0417074499 Making "freeglut_internal_mswin.h" part of the MSVC 6.0 projects
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@983 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-19 23:35:57 +00:00
fayjf
f565d17162 Splitting out the Windows-specific cursor code into its own file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@982 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-19 23:33:47 +00:00
fayjf
95a4d59bc8 Adding the platform-specific files to Visual Studio 2008 and 2010 per e-mail from Diederick Niehorster dated 1/19/12 at 3:00 AM.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@981 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-19 23:07:37 +00:00
fayjf
6ac5889df6 Putting the platform-specific files into the "Cmake" input
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@980 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-17 04:36:09 +00:00
fayjf
fddcc52a66 Adding /one more/ blank platform-specific file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@979 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-16 01:31:19 +00:00
fayjf
e8d77f14c5 Adding empty files for platform-specific Windows and Posix/X11 code to be placed in.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@978 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-16 01:27:55 +00:00
fayjf
36b1ea1482 Adding directories for platform-specific source code for Windows, X11, and OSX
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@977 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-15 22:28:35 +00:00
fayjf
132f622a2a Moving the source code files from 'src' to 'src/Common' as a first step towards separating out the platform-specific code. This builds in MSVC 6.0 and I tried to catch all the other build systems, but I'm sure I broke *something*.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@976 7f0cb862-5218-0410-a997-914c9d46530a
2012-01-10 03:49:12 +00:00