Commit Graph

9869 Commits

Author SHA1 Message Date
Lasse Öörni
91a0b5b41c Fixed Network library to use kNet forward defines.
Added support for handling internal network messages.
2011-07-14 09:39:59 +00:00
Lasse Öörni
b89e9a547f Added log print when starting the connect attempt. 2011-07-13 23:43:52 +00:00
Lasse Öörni
4e2c3376b7 Switched logging & event order for consistency. 2011-07-13 23:38:37 +00:00
Lasse Öörni
2910f128f3 Added Connection class missing from previous commit. 2011-07-13 23:36:00 +00:00
Lasse Öörni
71603ae52e Initial kNet-based networking implementation.
Renamed SharedPtr::Ptr() to RawPtr() to avoid conflicts with kNet's Ptr macro.
Added chat test program.
2011-07-13 23:32:57 +00:00
Lasse Öörni
07fda9f32e Preparation to using kNet: renamed SharedPtr.h to Ptr.h to avoid conflicts. 2011-07-13 13:09:39 +00:00
Lasse Öörni
af2b4311dc Function name unification and cleanup. ChildElement -> Child. RootElement -> Root. ScriptedChildren -> ChildrenWithScript. 2011-07-12 09:08:17 +00:00
Lasse Öörni
282107676f Fixed immediate geometry performance on Direct3D9. 2011-07-11 21:59:59 +00:00
Lasse Öörni
4d5b7fa05a Fixed newline character being returned from GetConsoleInput() on Unix.
Comments & documentation fixes.
2011-07-10 22:18:50 +00:00
Lasse Öörni
de10f28d79 Fixed shader program error message check to use glGetProgramInfoLog(). 2011-07-10 16:45:38 +00:00
Lasse Öörni
d4f640c7e1 Fixed search/replace damage. 2011-07-08 22:30:08 +00:00
Lasse Öörni
93377bf50d Fixed OpenGL build. 2011-07-06 22:37:37 +00:00
Lasse Öörni
f6fa2e6c7e Fixed illegal D3DLOCK_NOOVERWRITE with non-dynamic vertex and index buffers. 2011-07-06 22:00:46 +00:00
Lasse Öörni
5a6c8f6d27 Removed global properties related to the script object's ScriptInstance. The ScriptInstance is available as the global property "self" instead.
Documentation update.
2011-07-05 08:46:45 +00:00
Lasse Öörni
180da947fa Added generated scripting API reference.
Modified Script::DumpAPI() to output in Doxygen format.
2011-07-05 08:25:04 +00:00
Lasse Öörni
40caea422e Migrated to AngelScript 2.21.0.
Removed manual invocation of AngelScript garbage collection.
2011-07-04 21:33:42 +00:00
Lasse Öörni
aa2491a7ac Moved SharedPtr & SharedArrayPtr to the Container library. 2011-07-04 20:58:27 +00:00
Lasse Öörni
a7a94a7af2 Unified the texture get/set data API between Direct3D9 & OpenGL.
Refactored OpenGL texture data restore on context recreation: now data is explicitly stored then restored, instead of relying on resource reload.
2011-07-04 18:55:46 +00:00
Lasse Öörni
ecec223f4d Whitespace edits. 2011-06-30 21:33:20 +00:00
Lasse Öörni
67832c0bd6 Fixed character encoding in source. 2011-06-30 21:28:05 +00:00
Lasse Öörni
69a78da8df Switched to GLFW 3.0. 2011-06-30 21:03:59 +00:00
Lasse Öörni
79d084f9cf Removed GLFW 2.7 in preparation of adding 3.0. 2011-06-30 20:56:53 +00:00
Lasse Öörni
bd3fff14b7 Added void pointer hash functions. 2011-06-29 21:58:04 +00:00
Lasse Öörni
fc7b593078 Fixed having to press Enter twice to retrigger the fullscreen toggle. 2011-06-26 22:15:59 +00:00
Lasse Öörni
0d06cafd51 Added fadein/fadeout on entering or leaving fullscreen mode on OSX. Removed deprecated Carbon code. 2011-06-26 21:59:48 +00:00
Lasse Öörni
0ea42a9762 Removed counterproductive frustum side masking from culling tests. 2011-06-26 19:45:44 +00:00
Lasse Öörni
a13c05068a Added necessary #ifdef. 2011-06-26 17:53:01 +00:00
Lasse Öörni
7addf89464 Moved definitions of the inbuild shader hashes to a separate file.
Removed debug print from Input.
2011-06-26 17:21:32 +00:00
Lasse Öörni
3baf62216e In Direct3D9 mode, differentiate between left Shift, Ctrl & Alt similarly as GLFW does. 2011-06-26 17:08:43 +00:00
Lasse Öörni
3a6163226b Changed OpenGL rendering to use non-hardcoded shader parameters. Fixed warnings. 2011-06-26 12:39:25 +00:00
Lasse Öörni
ced7b62889 Shader parameters are no longer hardcoded. 2011-06-26 07:28:52 +00:00
Lasse Öörni
30583dddc4 Fixed split point lights on Linux. Code cleanup. 2011-06-25 22:12:44 +00:00
Lasse Öörni
d9088dd4ca Fixed misplaced not operator in stencil test setup. 2011-06-25 21:01:52 +00:00
Lasse Öörni
027a0ad10c Fixed GLFW issues with OSX. Fixed missing key repeat in OpenGL mode. Added proper window close handling in OpenGL mode. 2011-06-25 18:01:04 +00:00
Lasse Öörni
05701aa204 Fixed window title not getting restored in OpenGL mode. 2011-06-25 13:25:03 +00:00
Lasse Öörni
a128c85c0f Implemented GLFW mouse wheel callback. Fixed OpenGL stencil value wrapping to match Direct3D. 2011-06-25 13:02:39 +00:00
Lasse Öörni
adcff7aaf6 Disabled timed waiting for PortAudio Unix threads, because it sometimes failed in fullscreen mode. 2011-06-25 11:40:48 +00:00
Lasse Öörni
16aeec5c32 Re-enabled sound latency adjustment.
Removed support for 8-bit sound output.
2011-06-25 10:50:58 +00:00
Lasse Öörni
e4153175b7 Refactored fullscreen toggle. 2011-06-25 00:31:54 +00:00
Lasse Öörni
f47dac9269 Fixed Linux build. Made pthreads mutexes recursive. 2011-06-25 00:22:18 +00:00
Lasse Öörni
0d29d818ad Moved from SDL to GLFW & PortAudio. 2011-06-24 23:20:09 +00:00
Lasse Öörni
9261573b57 Fixed non-optimal decrement operators. 2011-06-23 07:27:30 +00:00
Lasse Öörni
270ba840b3 Documentation update. 2011-06-21 21:37:46 +00:00
Lasse Öörni
b90c1386be Removed unnecessary parentheses. 2011-06-21 21:01:13 +00:00
Lasse Öörni
af01853960 Fixed erroneous char input suppression in the example scripts.
If only vsync changes on OpenGL, do not recreate the context.
Documentation update.
2011-06-20 22:17:29 +00:00
Lasse Öörni
b78205cfe1 Documentation updates.
Reformatted the DirectDraw surface structures in Image.cpp.
2011-06-20 19:58:03 +00:00
Lasse Öörni
882ccaaf6c Fixed GetProgramDir() to clear the whole buffer. Implemented SystemRun() on Unix. 2011-06-20 18:14:36 +00:00
Lasse Öörni
d55d29612c Documentation update. 2011-06-19 23:13:11 +00:00
Lasse Öörni
ab866d7f7e Fixed illegal vertex/index buffer access in Model::Load(). 2011-06-19 22:01:05 +00:00
Lasse Öörni
b2888b96ed Fixed non-clipped cursor mode on Windows. 2011-06-19 20:38:13 +00:00