56d798d52f
move g_LightEnv here from terrainMain (which is ceasing to exist)
...
This was SVN commit r961.
2004-08-10 16:02:29 +00:00
92ea452096
remove hack, now that h_mgr actually caches
...
This was SVN commit r937.
2004-08-08 16:55:25 +00:00
138df056bd
Fixed invalid GL code
...
This was SVN commit r924.
2004-08-06 15:01:23 +00:00
b2afef529c
Introducing: The Pre-Game State. The game instance is not created on program load as before, but can be started by JS functions.
...
This was SVN commit r912.
2004-08-05 13:07:51 +00:00
MarkT
2b396ccb57
Minor improvements to some simulation code.
...
This was SVN commit r887.
2004-08-02 23:14:54 +00:00
f1bb625684
cleaned up ParseArgs
...
This was SVN commit r877.
2004-08-02 12:53:49 +00:00
09f47d6820
Core Classes Reorganization:
...
- g_Terrain and g_Camera totally eradicated as globals, is now m_Terrain
of CWorld and m_Camera of CGameView
- terrainMain.cpp is almost completely empty with functionality moved
into the relevant core classes
- Miscellaneous global functions moved into Core Classes (mostly
GameView)
This was SVN commit r865.
2004-07-31 15:57:18 +00:00
fe061f4f11
Added JS setCursor(name)
...
This was SVN commit r857.
2004-07-31 12:45:30 +00:00
d2070837d2
Global variables are nasty. Hacked g_Terrain into a pointer so that it doesn't crash when automatically destructing, although it ought to be handled in a nicer way.
...
This was SVN commit r839.
2004-07-28 19:27:35 +00:00
2832286b3f
add initial,rough,etc. music code.
...
have yourself serenaded (germanic peace 3) by pressing <P>lay.
known bug: stutters/pops at low framerates - will be fixed by proper
streaming.
This was SVN commit r829.
2004-07-28 11:36:16 +00:00
415662c4cd
First set of Core Classes changes! w00t :P
...
This was SVN commit r823.
2004-07-27 21:00:53 +00:00
c8514b7d28
OpenGL cursor (for non-Windows)
...
This was SVN commit r817.
2004-07-24 19:38:12 +00:00
fe1bee706b
Fixed loads of /W4 warnings, because it's easier than doing anything useful. Added some asserts to check potentially dangerous assumptions, implemented a few missing bits of code, adjusted some comments, etc.
...
This was SVN commit r814.
2004-07-24 14:04:40 +00:00
3f7797b762
Prototype support for using 32-bit textures as cursors on Windows
...
This was SVN commit r813.
2004-07-23 19:07:18 +00:00
MarkT
6d8b9e33ef
Minor additions: Added hotkeys to GUI buttons, camera bookmarking (not sure if this system will stay), shoring up some JS error checking, moved a bunch of constants into the config file and added a new rotation mode.
...
This was SVN commit r804.
2004-07-22 16:18:12 +00:00
b39a059e10
Use the new exception handler in 'testing' builds (for debugging without a debugger)
...
This was SVN commit r801.
2004-07-22 13:22:28 +00:00
MarkT
f02eab8aba
Added configurable hotkey-cooker
...
This was SVN commit r795.
2004-07-21 16:34:07 +00:00
1343de75d8
Added a function to enable excessively slow memory debugging, for detecting heap corruption close to where it happens.
...
This was SVN commit r792.
2004-07-21 12:28:23 +00:00
MarkT
7fd55bae7f
Minor fix to timing code
...
This was SVN commit r786.
2004-07-20 21:12:28 +00:00
c6e3668009
Don't use the special exception handler in debug builds. (This time I think I got it the right way round.)
...
This was SVN commit r785.
2004-07-20 19:45:31 +00:00
MarkT
194fdf9b4b
Unit selection and ordering, setTimeout, scheduler, fixed timestep code, various fixes and reinforcement of the JS<->Native code.
...
This was SVN commit r783.
2004-07-20 19:30:35 +00:00
db4b5d6ff4
Don't use the special exception handler in debug builds
...
This was SVN commit r781.
2004-07-20 17:20:26 +00:00
d27c345f28
Better error handling. Reports extensions in system_info.txt.
...
This was SVN commit r776.
2004-07-19 19:03:33 +00:00
7c623b02ee
Fixed obvious bug
...
This was SVN commit r773.
2004-07-18 16:07:10 +00:00
bd884f9de6
Put the FPS counter above the GUI
...
This was SVN commit r770.
2004-07-17 17:51:04 +00:00
9b4f50309a
Slightly pointless and/or rubbish movie-making code
...
This was SVN commit r767.
2004-07-17 11:13:21 +00:00
0ed69b0975
Handle the scroll wheel better when skipping updates
...
This was SVN commit r765.
2004-07-16 20:10:37 +00:00
af9cf31691
Working crash log
...
This was SVN commit r760.
2004-07-15 19:12:54 +00:00
b284b47a06
add crash log (call stack and minidump)
...
This was SVN commit r757.
2004-07-15 02:39:25 +00:00
7902369a85
Linux/GCC (requires a ## between L and a #expr string)
...
This was SVN commit r755.
2004-07-14 12:26:49 +00:00
977693c7db
GUI text renderer
...
This was SVN commit r745.
2004-07-13 22:48:53 +00:00
f723248d8f
split up main() into chunks to make it more manageable.
...
added top-level exception handler and Die()
This was SVN commit r730.
2004-07-12 16:50:46 +00:00
ca5b760310
Linux/GCC: Changed a whole bunch of wide character format strings... In VC++,
...
the wide printf functions default %s to be a wide string. GCC defaults
it to
a narrow string. Everything I could find uses %ls or %hs as appropriate
now.
This was SVN commit r715.
2004-07-11 22:30:08 +00:00
f2dc64e75d
Send log messages to the console
...
This was SVN commit r704.
2004-07-11 16:03:26 +00:00
929fe237ce
SDL_ACTIVE => SDL_ACTIVEEVENT (wsdl called it SDL_ACTIVE - official SDL has it
...
as *EVENT). Support for the "windowed" config value, and a bool
fullscreen
argument for set_vmode.
This was SVN commit r696.
2004-07-10 21:33:31 +00:00
77fbf1ab6d
Fixed one more memory leak
...
This was SVN commit r683.
2004-07-10 14:14:36 +00:00
1a8f8df5f6
write screenshots to /data/screenshots, now that that is possible after fixing the appropriate VFS bug :)
...
This was SVN commit r677.
2004-07-09 20:03:15 +00:00
fcb85a5968
Added exit() JS function
...
This was SVN commit r673.
2004-07-09 12:44:12 +00:00
5931a06606
add WriteScreenshot (see announcements)
...
This was SVN commit r668.
2004-07-09 02:04:30 +00:00
a8f48ff7e0
XMB
...
This was SVN commit r665.
2004-07-08 15:22:09 +00:00
d59e656986
Added config file settings for VBO, vsync and shadows
...
This was SVN commit r647.
2004-07-07 18:47:11 +00:00
baa374ae13
Moved JS Init further to the beginning
...
This was SVN commit r622.
2004-07-04 15:38:18 +00:00
d1a66a4503
fix event handler return value
...
This was SVN commit r600.
2004-06-25 22:13:48 +00:00
7d35d84ecf
fixed stupid bug found by philip - was skipping entire main loop if deltatime=0, not just skipping update
...
This was SVN commit r591.
2004-06-23 14:42:35 +00:00
0517546d19
load hello.xml instead of hello2.xml, which may be broken (or exposes a bug in CParser)
...
This was SVN commit r589.
2004-06-23 13:29:48 +00:00
fc476e04f6
stomped on numerous warnings
...
This was SVN commit r584.
2004-06-21 16:29:47 +00:00
ff00971bc8
split ps init/shutdown into separate function; don't use 100% cpu when alt+tabbed out; added sanity check for delta time; removed some older main-loop code (was commented out)
...
This was SVN commit r577.
2004-06-21 14:14:12 +00:00
df62c14469
commented out line 684 (JSI_BaseEntity::init();) the JS_DestroyContext crash is thereby avoided
...
This was SVN commit r528.
2004-06-18 13:11:58 +00:00
9aff01cf23
Unicode fonts
...
This was SVN commit r523.
2004-06-16 15:44:24 +00:00
9114856b11
added and removed oglPrintError debug code
...
This was SVN commit r513.
2004-06-15 02:44:53 +00:00