Commit Graph

78 Commits

Author SHA1 Message Date
b19e58ec85 Changed: Moved call to window.SetMousePosition() only occur if the mouse has been moved.
~g2k
2005-07-02 14:40:09 -04:00
705ee5ba09 Added: GetMousePosition and SetMousePosition methods
~g2k
2005-07-02 01:47:23 -04:00
17565c41c1 Added: Class Vec2i
~g2k
2005-07-02 01:46:50 -04:00
de0c0682d2 Added: g_mousePosition which may prolly won't stay long
Removed: old comment
~g2k
2005-07-02 01:46:28 -04:00
08ef90e302 Added: Added a second RotateView method which accepts and normalizes a Vec3d vector as opposed to individual components.
Changed: SetViewByMouse now requires an OpenArena::Window not a Screen
Added: Implemented SetViewByMouse for linux
~g2k
2005-07-02 01:44:58 -04:00
dced47e5b1 Added: Added a second RotateView method which accepts and normalizes a Vec3d vector as opposed to individual components.
Changed: SetViewByMouse now requires an OpenArena::Window not a Screen
~g2k
2005-07-02 01:43:17 -04:00
4e14ef1072 Changed: Fixed X11 keyboard input. Events are now caught and acted upon.
~g2k
2005-07-01 19:44:57 -04:00
b1c585a9b0 Changed: Fixed the name of my.cfg the m was accidentaly in caps.
~g2k
2005-07-01 19:42:57 -04:00
06236ffc86 Replaced LBUTTON RBUTTON and MBUTTON with BUTTON0 through BUTTON4
~g2k
2005-06-29 12:05:53 -04:00
4055e36027 More work on keyhandling
~g2k
2005-06-29 12:05:21 -04:00
b1395f66f5 Removed: Removed the windows specific section in preparation for a unified keyhandler.
This BREAKS windows and will be fixed soon
~g2k
2005-06-29 11:34:21 -04:00
c16a0dae6d Changed: Renamed a few classes
Changed: Moved most sensible objects into the OpenArena namespace
~g2k
2005-06-29 11:33:11 -04:00
f6a191d21d Added linux implementations of Open and Close
~g2k
2005-06-26 13:24:04 -04:00
6fcf82bd1f Changed: Upadted Key references to the new namespace.
~g2k
2005-06-26 13:22:52 -04:00
16f0a7efc1 Added make target window.o
~g2k
2005-06-26 13:19:22 -04:00
f097e77839 Changed: Moved KillGLWindow and CreateGLWindow to the Window class
~g2k
2005-06-26 13:16:40 -04:00
40e1137a42 Changed: Updated all Key references to the new namespace.
~g2k
2005-06-26 13:15:35 -04:00
caa8669a23 Added: Resize Method
Changed: Moved attrListSgl and attrListDbl to this file
~g2k
2005-06-26 13:13:30 -04:00
13a10c2e29 Added: Surrounded the entire with an ifdef
~g2k
2005-06-26 13:10:41 -04:00
a579c9612c The windows portion of Window is properly abstract now.
~g2k
2005-06-26 11:01:37 -04:00
7aae80da7a Changed: Partially abstracted the windows version of OpenArena::Window CreateGLWindow and KillGLWindow are now part of the Window class. ResizeGLScene and InitGL are now callbacks. Direct calls to SwapBuffers and glXSwapBuffers have been replaced by a SwapBuffers method of Window.
~g2k
2005-06-26 10:56:45 -04:00
6e11904c95 Changed: Partially abstracted the windows version of OpenArena::Window CreateGLWindow and KillGLWindow are now part of the Window class ResizeGLScene and InitGL are now callbacks 2005-06-26 10:55:03 -04:00
14407e8103 *** empty log message *** 2005-06-26 09:57:00 -04:00
d5373e6252 Added: Preliminary keyhandling code for linux
~g2k
2005-06-26 09:56:47 -04:00
a22bebe351 Changed Keys from #define's to an enum
~g2k
2005-06-26 09:53:47 -04:00
e5799a3577 *** empty log message *** 2005-06-26 08:53:18 -04:00
40d8ed8abc Made main executable OA in the OpenArena folder
~g2k
2005-06-26 08:48:27 -04:00
87b170a778 Moved calls to level.Render and SwapBuffers into DrawGLScene method which will probably be renamed.
Fixed a syntax error where String was used instead of string.
~g2k
2005-06-26 08:47:48 -04:00
8f14a96d22 Removed a useless comment
~g2k
2005-06-26 08:46:02 -04:00
adc02e7b98 Undind the changes I made a few hours ago. This file will end up looking more like the linux section and become OS independent.
~g2k
2005-06-26 08:42:20 -04:00
417ee72f95 Added CDT project file
~g2k
2005-06-26 06:00:29 -04:00
cd41f08b5d Added oa to .cvsignore
~g2k
2005-06-26 05:58:54 -04:00
c446a997bf Removed binary files which visual studio recreates automatically oa.ncb and vc70.idb
~g2k
2005-06-26 05:58:00 -04:00
bd62e253f3 Added appropriate defines for some of the linux keys
~g2k
2005-06-26 05:56:02 -04:00
9531e9cbb2 *** empty log message *** 2005-06-26 05:55:19 -04:00
7bf68d9016 Added: Uses version.h
Changed: No longer renders just a triangle.  Hopefully it will now graphically look like the windows version.  This version probably won't compile though.
~g2k
2005-06-25 18:21:56 -04:00
4d42ebb345 *** empty log message *** 2005-06-25 18:20:34 -04:00
05cf880b67 Added: uses version.h
Changed: cleaned up message handling a little
~g2k
2005-06-25 18:19:29 -04:00
890220ea4d Changed: Added parens around i<<1 so it's more readable.
~g2k
2005-06-25 18:17:23 -04:00
c4a5861d6d Added version.h which defines OPENARENA_VERSION as "OpenArena v0.1.2" This should be updated from now on.
~g2k
2005-06-25 18:16:37 -04:00
4ff0eff556 Changed: Compiles and runs under linux
TODO: Makefile needs to be tweaked
TODO: linux version needs to be changed so it actually renders the world 'n stuff
~g2k
2005-06-25 16:09:42 -04:00
f5bbd7d2d7 Changed: #ifdef'd a block of code I don't know how to make work on linux yet.
~g2k
2005-06-25 16:03:43 -04:00
aac42e0942 ~Changed: Renamed method Status to Loaded to make it more meaningfull
~g2k
2005-06-25 16:01:19 -04:00
ca03309f30 Changed: Moved declaration of g_Screen to this file
~g2k
2005-06-25 16:00:34 -04:00
2b0eb47732 Changed: #ifdef'd windows only stuff that's waiting for abstraction
~g2k
2005-06-25 15:58:51 -04:00
a2e2f65ba3 Changed: Changed the type of g_Screen to OpenArena::Window the subclass of SCREEN
~g2k
2005-06-25 15:55:47 -04:00
ec12f2216e Changed: #ifdef'd windows only stuff
Changed: Removed an old comment
~g2k
2005-06-25 15:54:39 -04:00
1882f4e3d8 Changed: Made g++ friendly
Changed: #ifdef'd something that needs to be abstracted into oa_audio library
~g2k
2005-06-25 15:52:57 -04:00
815c13ae23 Added KEY_BACK as backspace
Linux KEY_'s use garbage values
~g2k
2005-06-25 15:51:36 -04:00
69a936683e Added Window as a subclass of Screen
Screen should be os/hardware independent window should contain all nastiness.
~g2k
2005-06-25 15:50:22 -04:00