Commit Graph

54 Commits

Author SHA1 Message Date
ec70392a02 Changed Renamed class ControlSchemeClass to ControlScheme
Changed Renamed CTRLS_* to ACTION_*
Changed Moved anonymous enum containing ACTION_* into class ControlScheme
~g2k
2006-06-18 15:23:36 -04:00
7e4b388fee Changed Moved all vector classes into namespace OpenArena
~g2k
2006-06-18 14:46:31 -04:00
fcc82248f4 Added code to disable deprecation warnings under visual studio
Deprecation warnings were caused by vs2k5 prefering fopen_s to fopen
~g2k
2006-06-18 14:45:49 -04:00
827f578022 Added a control path to handle unknown keys other than KEY_UNKNOWN
~g2k
2006-06-18 14:44:03 -04:00
06b11bae22 Removed whitespace
~g2k
2006-06-18 14:42:35 -04:00
e18fd98a46 Moved LoadTGA into namespace OpenArena
~g2k
2006-06-18 14:41:27 -04:00
a975fe58ed Changed Moved class ControlSchemeClass into namespace OpenArena
~g2k
2006-06-18 14:33:57 -04:00
b03bdb0cbc Changed Moved LoadBMP into the OpenArena namespace
~g2k
2006-06-18 14:30:52 -04:00
b1aa789fa6 Added: Missing #include <cctype>
~g2k
2005-07-21 20:05:09 -04:00
836f8f1ddc Added: Beginning plugin suppord
~g2k
2005-07-21 20:04:51 -04:00
b60f87fa45 Changed: The cursor is now hidden in the window.
TODO: Finish dependencies in Makefile and release :)
~g2k
2005-07-15 03:09:38 -04:00
148b62c11e Changed: Cleaned up the linux portion of the code
Changed: Finished updating the linux portion of the code with the previous changes to OpenArena::Window
~g2k
2005-07-15 02:27:05 -04:00
dc525da6d8 Changed: Made OpenArena::Screen more abstract.
Changed: Updated OPENARENA_VERSION to CVS this should be set to a number for release builds.
~g2k
2005-07-14 19:22:08 -04:00
5a6c0fca9d Fixed a couple bugs involving OpenArena::Keys where either windows virtual keys or char's were being used instead.
~g2k
2005-07-14 16:08:50 -04:00
40c2acbbf9 Changed: Console (ingame) now works
~g2k
2005-07-02 22:28:21 -04:00
4a7acb6812 Changed: Made the makefiles a bit more proper
~g2k
2005-07-02 22:27:07 -04:00
c46626a7a8 Added: Resolution to startup output
Changed: Fixed GetMousePosition
Changed: Fixed SetMousePosition
~g2k
2005-07-02 14:46:43 -04:00
f46ad5bc7f Fixed Vec2f::operator=() and Vec2i::operator=()
~g2k
2005-07-02 14:45:02 -04:00
d1cd343417 Changed: Swaped the right and middle mouse buttons in TranslateButton so they should be correct now.
~g2k
2005-07-02 14:44:16 -04:00
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
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
4e14ef1072 Changed: Fixed X11 keyboard input. Events are now caught and acted upon.
~g2k
2005-07-01 19:44:57 -04:00
4055e36027 More work on keyhandling
~g2k
2005-06-29 12:05: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
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
d5373e6252 Added: Preliminary keyhandling code for linux
~g2k
2005-06-26 09:56:47 -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
cd41f08b5d Added oa to .cvsignore
~g2k
2005-06-26 05:58:54 -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
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
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
ab7e016a81 Moved main.cpp to windows.cpp
Added linux.cpp
These 2 files should be where 99% of OS specific code resided other than the oa_* dynamic libraries.
2005-06-20 03:06:12 -04:00
27acdae508 Added makefiles to build under linux still no support for cygwin.
~g2k
2005-06-20 03:04:55 -04:00
65856a4ae1 Changed: Updated to compile under linux
Changed: Changed console code so pressing the toggleconsole key no longer sends the keypress to the console.
~g2k
2005-06-20 03:04:15 -04:00
a0b8ce778b Changed: Updated to compile under linux
~g2k
2005-06-20 03:03:16 -04:00
d69652025d Added error reporting to the LEVEL::Execute Function
Added the LEVEL::ConsolePrint Function
Added the quit command this can be used in a config file
Fixed console to make it work more logically and allow for output
2003-10-26 17:17:33 -05:00