0de796c5ea
Send Load event to GUI objects after (instead of while) loading the rest of the engine
...
This was SVN commit r1635.
2005-01-04 21:51:23 +00:00
f4fe8c8543
Sky colour, plus skycolor config value
...
This was SVN commit r1583.
2004-12-28 11:16:05 +00:00
c9d89e964b
Moved g_Gui.TickObjects to the main render loop and update the scheduler when no game is running
...
This was SVN commit r1531.
2004-12-18 23:25:58 +00:00
24abb51b59
First crack at loading screen (though need to figure out a way to move session loading to next frame to get it to actually stay on the screen). Some preliminary work on sub-windows.
...
This was SVN commit r1489.
2004-12-12 19:34:38 +00:00
9d317d8164
1) removed scaffolding from file
...
2) VFS: add path_copy convenience routine
3) various lib code: removed unnecessary const cluttering things (like
const char* _const_ name in param list)
This was SVN commit r1483.
2004-12-09 23:12:02 +00:00
cc02422908
1) TIMER added to timer.h (moved from main)
...
2) wposix: cache file status in struct dirent (Win32 specific)
3) vfs: speed up vfs_mount (via 2) and zip_cb path lookup caching
scheme)
4) temp scaffolding added to file.cpp to measure performance
This was SVN commit r1482.
2004-12-09 20:17:09 +00:00
f36008ac3b
added TIMER(name_of_block). it declares a scoped object that measures time between ctor and dtor, and is therefore perfect for measuring how long functions or basic blocks execute. used to gather results reported in "analysis: why is startup slow" thread.
...
also split out a few functions from Init() (more structured, easier
measuring)
This was SVN commit r1475.
2004-12-08 15:34:15 +00:00
643810a276
cleaned up VFS after yesterday's new code;
...
explicit shutdown, instead of atexit
This was SVN commit r1472.
2004-12-07 22:10:46 +00:00
e76871e7b0
- heavy changes to VFS tree internals: now allows loose files and archives to coexist, choosing archive if they're the same date+size
...
- reworked tree_lookup: dir names now require trailing '/' to
disambiguate. exception: vfs_open_dir (convenience)
- display VFS tree in stdout.txt unless g_Quickstart
This was SVN commit r1466.
2004-12-07 01:22:25 +00:00
e1506b6d3a
Removed unused Elvish
...
This was SVN commit r1462.
2004-12-07 00:17:14 +00:00
3fb241054f
add master sound disable, triggered if g_Quickstart == true.
...
(skips OpenAL init => speeds up startup)
This was SVN commit r1437.
2004-12-01 22:19:58 +00:00
f1dac9c626
better error handling: lots of little changes.
...
added some error codes, tried to eliminate unspecific return -1 where
it made sense.
This was SVN commit r1436.
2004-12-01 21:37:01 +00:00
b8d0df4b03
Re-enabled crash-dumping exception handler
...
This was SVN commit r1427.
2004-11-30 15:52:10 +00:00
caf8471132
Testing svk (and fixing tab usage)
...
This was SVN commit r1404.
2004-11-26 21:34:35 +00:00
d4f31c09da
replace detect() with individual routines; add sound card system_info;
...
add g_Quickstart that skips writing system_info (speeds up startup by
700ms)
This was SVN commit r1364.
2004-11-19 22:58:01 +00:00
c3a331b73f
add JS sound binding
...
This was SVN commit r1328.
2004-11-15 18:23:39 +00:00
Fire Giant
eb1424cb8f
Fixed a stupid typo (missing semicolon).
...
This was SVN commit r1315.
2004-11-14 21:16:39 +00:00
Fire Giant
a9fe8c0c61
Changed GUI load sequence in order to fix a problem which came up through the global objects being loaded before the main menu background object. The globals are now in 6_global.xml (should always be at the end of the load order) and the JS initialization now is in 1_init.xml.
...
This was SVN commit r1314.
2004-11-14 21:14:00 +00:00
fb09faf5be
Parser bug-fix
...
This was SVN commit r1313.
2004-11-14 18:56:13 +00:00
9a69d76feb
Minor update to add link to 5_atlas.xml, so that GUI development of the Atlas Editor is supported.
...
This was SVN commit r1303.
2004-11-11 23:51:52 +00:00
MarkT
793794649f
Combat code, some scripting, broken network, and fixed some bugs.
...
This was SVN commit r1301.
2004-11-11 07:09:32 +00:00
Calefaction
9b47d446d2
Updated to instansiate and tear down the mesh managed.
...
This was SVN commit r1300.
2004-11-08 22:21:50 +00:00
e48b5f9b64
enable file listing hook in ParseArgs
...
This was SVN commit r1287.
2004-11-07 22:46:57 +00:00
3136791492
Linux/GCC Compat(tm)
...
This was SVN commit r1284.
2004-11-07 21:30:47 +00:00
Calefaction
3c69a79f0f
Updated to output OpenGL version
...
This was SVN commit r1281.
2004-10-31 07:37:32 +00:00
Calefaction
955ddcf9a1
More programmable pipeline updates
...
This was SVN commit r1280.
2004-10-30 21:57:46 +00:00
Calefaction
7947293015
Initial programmable pipeline push
...
This was SVN commit r1272.
2004-10-23 18:13:54 +00:00
MarkT
d33d2e4450
Added some support for user profiles
...
This was SVN commit r1270.
2004-10-23 14:39:28 +00:00
a8fff67c91
remove "p-pressed" debug_out
...
This was SVN commit r1267.
2004-10-22 21:54:31 +00:00
0a4c838185
Exciting space->tab transformations
...
This was SVN commit r1265.
2004-10-21 15:04:19 +00:00
20061f0e38
due to h_allow_free, no longer rely on h_mgr cleaning up buffers (that was a hack, and wouldn't work if OpenAL is reset at runtime)_
...
now snd_cleanup before h_mgr_cleanup - makes sense anyway.
also added snd_update call that doesn't change OpenAL position - this is
so sound works in the main menu.
This was SVN commit r1263.
2004-10-20 23:16:38 +00:00
d30c7ef9aa
use correct path to sound assets
...
This was SVN commit r1259.
2004-10-19 13:45:50 +00:00
Calefaction
50dee130ae
Updated to properly support LOD bias settings in config. Fixes mipmap blurryness.
...
This was SVN commit r1254.
2004-10-17 21:01:00 +00:00
f0f7f236b7
sound test filename -> game data, since ogg playing works again.
...
This was SVN commit r1251.
2004-10-16 20:55:56 +00:00
90a0860081
Added load for 4_manual.xml.
...
This was SVN commit r1243.
2004-10-15 18:01:22 +00:00
1798a1ab1d
remove testing code that makes clicks do strange things ;)
...
This was SVN commit r1242.
2004-10-15 17:26:36 +00:00
390fe343a0
gives sound engine current position during update; also fixed sound shutdown order issue (must come after h_mgr_shutdown)
...
note: you will need to fiddle a bit to test this ATM: see
http://forums.wildfiregames.com/0ad/index.php?showtopic=1672 #5
This was SVN commit r1240.
2004-10-15 13:29:04 +00:00
769e521349
Added references to multiple GUI XML files (temporary adjustment to make it easier to work on different GUI pages).
...
This was SVN commit r1227.
2004-10-07 21:06:08 +00:00
2c9ac03375
Another minor fix
...
This was SVN commit r1225.
2004-10-07 20:14:20 +00:00
MarkT
2ab625720b
Fairly major XML/entprop changes; some more minor stuff that fell out as a consequence.
...
This was SVN commit r1220.
2004-10-07 19:23:35 +00:00
711118ee97
less dependencies: handle.h forward-defines Handle, so that not everything that uses res headers is dependent on h_mgr
...
This was SVN commit r1216.
2004-10-06 14:25:36 +00:00
53f8283cfc
update sound test rig, have added a few (local) filenames for testing
...
This was SVN commit r1212.
2004-10-05 13:14:34 +00:00
622febf5b7
update sound test rig, have added a few (local) filenames for testing
...
This was SVN commit r1211.
2004-10-05 13:14:03 +00:00
6d4f94112d
Fixed memory leak
...
This was SVN commit r1195.
2004-09-23 12:42:37 +00:00
Calefaction
0a05c2977a
Updated to reflect MaterialManager
...
This was SVN commit r1194.
2004-09-23 05:21:18 +00:00
Calefaction
4fff66cfce
Initial import of material code. MaterialReader is implemented and functional. Currently models do not attempt to load materials, nor does the renderer use them.
...
This was SVN commit r1192.
2004-09-23 04:00:56 +00:00
ab7b542c20
console height now relative to y resolution instead of always 600 pixels
...
This was SVN commit r1188.
2004-09-22 14:01:50 +00:00
777f06143d
- A lot of small network fixes
...
- Connecting client(s) to a server and giving orders to a shared set of
entities now works - Yeah!
- Removed thread sync from CNetServer
This was SVN commit r1180.
2004-09-21 14:40:43 +00:00
6fd0c451c2
changed to include sound code (test "rig")
...
This was SVN commit r1163.
2004-09-19 15:58:13 +00:00
d373e7a559
Moved language selection into the .cfg file
...
This was SVN commit r1130.
2004-09-06 11:13:36 +00:00
959600b0d1
Removed FPS display
...
This was SVN commit r1121.
2004-09-05 11:27:23 +00:00
Gee
ec7ace7016
no message
...
This was SVN commit r1108.
2004-09-03 05:49:20 +00:00
756c89d85d
Removed GUI TEMPmessage
...
This was SVN commit r1104.
2004-09-02 19:18:14 +00:00
Gee
51b5254a9d
Added a GUI file to load
...
This was SVN commit r1086.
2004-08-31 02:10:40 +00:00
70d84beab2
Altered font handling -- now uses CFont in preference to unifont_* (yay, pointless OO) and allows font mapping ("default"=>"palatino12", etc) using .cfg files
...
This was SVN commit r1074.
2004-08-27 22:08:30 +00:00
918cb99c7f
now verify glActiveTexture != 0 in GL extension check (in response to bug #18 )
...
This was SVN commit r1055.
2004-08-25 11:44:11 +00:00
d5a5f4c300
Now uses plain English messages when calling translate() before loading a language, rather than crashing
...
This was SVN commit r1043.
2004-08-24 11:32:32 +00:00
0e55379b36
Initial i18n integration
...
This was SVN commit r1029.
2004-08-21 11:45:01 +00:00
4d9c7684df
w00t! first batch of actual network support!
...
This was SVN commit r1006.
2004-08-16 15:19:17 +00:00
9cd4cab693
A few log categories
...
This was SVN commit r994.
2004-08-15 20:57:31 +00:00
c0428d8cee
sound/music player now responsible for calling oal_Init, due to delay-loading.
...
This was SVN commit r983.
2004-08-12 17:20:11 +00:00
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
3c7826ca27
comment out delete g_ScriptingHost - avoids crash within js32
...
This was SVN commit r498.
2004-06-13 19:22:08 +00:00
96cb1d0596
removed fmod dependency; free g_ConfigDB at exit
...
This was SVN commit r486.
2004-06-13 15:35:08 +00:00
b5f4478bcb
add another checkpoint for timing; remove GetSingletonPtr (now uses the singleton's #define)
...
This was SVN commit r483.
2004-06-11 18:02:57 +00:00
15ca5cbf21
newline stomper and fixed warnings
...
This was SVN commit r473.
2004-06-11 02:14:18 +00:00
MarkT
e4fe4ed602
JS Interface to entities. It even partially works now.
...
This was SVN commit r469.
2004-06-10 22:24:03 +00:00
ca1994892e
main now displays g_CameraZoom
...
This was SVN commit r464.
2004-06-09 18:02:33 +00:00
5366bafe3f
Moved -xres and -yres into ParseArgs, added ConfigDB init (and ParseArgs uses ConfigDB for x/yres handling - just a demo ;-P )
...
This was SVN commit r449.
2004-06-09 14:10:31 +00:00
48ad93ad34
added instrumentation for startup time - hack
...
This was SVN commit r432.
2004-06-08 20:41:28 +00:00
notpete
bd0d3e1c36
Moved Xerces initialisation out of CObjectEntry to here (still need to moved GUI and entity XML code at some point). Added simple fixed camera view for basic profiling.
...
This was SVN commit r409.
2004-06-07 19:51:52 +00:00
6380ff781f
written against new res.cpp reload interface
...
This was SVN commit r405.
2004-06-06 23:59:57 +00:00
2dcb0d8056
more header fixes
...
This was SVN commit r401.
2004-06-04 17:47:12 +00:00
kezz
8eedf2f505
kezz - added fmod initialisation code to main.cpp
...
This was SVN commit r394.
2004-06-03 19:43:19 +00:00
c7a84e84be
added precompiled.h everywhere
...
This was SVN commit r392.
2004-06-03 18:38:14 +00:00
4daa183dd3
stripped some headers from deprecated prometheus.h => huge rearrange
...
This was SVN commit r378.
2004-06-03 01:43:33 +00:00
af05b758c6
animation: console scrolls in from top of screen
...
This was SVN commit r374.
2004-06-03 00:19:22 +00:00
62b8deb03d
integrated console
...
This was SVN commit r369.
2004-06-02 20:39:21 +00:00
3abf9ac4b5
lots of type fixes; types.h is now a convenience wrapper on top of the standard uintN_t routines
...
This was SVN commit r334.
2004-06-01 17:34:12 +00:00
1eaadd38aa
ran everything though mark's newline stomper.
...
This was SVN commit r322.
2004-05-30 00:46:58 +00:00
notpete
d2db4da802
Added singleton creation/destruction for a bunch of graphics related classes; a half dozen minor changes related to model submission, command lines.
...
This was SVN commit r309.
2004-05-29 21:04:18 +00:00
MarkT
ac082709cd
Added some pathfinding code. (SparsePath)
...
This was SVN commit r284.
2004-05-29 03:32:33 +00:00
Alan
8de401a3ee
Adding scripting interface code
...
This was SVN commit r281.
2004-05-28 13:07:54 +00:00
672c25084b
fixed log location; win code modules now register init/shutdown (=> less dependencies, more control over init order)
...
This was SVN commit r277.
2004-05-27 17:30:06 +00:00
bb3db6daf8
fixed remnant of set-root-dir problem; now finally works correcly when started from batch file. no extra path/chdir necessary.
...
This was SVN commit r276.
2004-05-27 01:11:21 +00:00
9aacf9b4bf
no message
...
This was SVN commit r275.
2004-05-27 00:29:54 +00:00
MarkT
51375831f1
Desync-ed unit motion.
...
This was SVN commit r274.
2004-05-26 23:47:46 +00:00
MarkT
089472eb24
Early form of collision detection/avoidance added.
...
This was SVN commit r272.
2004-05-26 20:57:25 +00:00
0c8ea18853
upgrade to new libpng and zlib (see announcements thread)
...
This was SVN commit r270.
2004-05-26 19:28:42 +00:00
MarkT
ece29bb59d
Collision detection code (unused at present).
...
This was SVN commit r268.
2004-05-26 03:14:33 +00:00
6c608edd60
linefix stomped everything :P
...
This was SVN commit r266.
2004-05-25 23:16:21 +00:00
MarkT
88e8a56487
Mouse wheel zoom, lack of it was irritating me.
...
This was SVN commit r264.
2004-05-25 22:02:57 +00:00
MarkT
6ef97a6e9a
Yet more warnings resolved; SDL gamma option added to command line.
...
This was SVN commit r261.
2004-05-24 21:28:49 +00:00
df6fceba62
fixed some signed/unsigned warnings; added gamma control via SDL
...
This was SVN commit r258.
2004-05-24 20:25:48 +00:00
MarkT
ed1a9432ca
Testing a theory with TortoiseCVS
...
This was SVN commit r253.
2004-05-22 21:59:49 +00:00
MarkT
c7b6d0089f
Minor fix.
...
This was SVN commit r249.
2004-05-22 02:04:51 +00:00
MarkT
6d5afc10ff
Added PASAP entity systems
...
This was SVN commit r246.
2004-05-21 23:46:16 +00:00
34c3c12934
fixes for VC6 build problems reported by Stu.
...
This was SVN commit r239.
2004-05-18 00:38:39 +00:00
556afb4a5c
fixed current directory problem. added healthy does of paranoia to file_rel_chdir, and removed bogus chdir from main.cpp (from test code)
...
This was SVN commit r238.
2004-05-17 13:23:39 +00:00
fbba2e463d
merged in rich's demo
...
This was SVN commit r236.
2004-05-16 03:31:29 +00:00
notpete
99b785b75e
*** empty log message ***
...
This was SVN commit r232.
2004-05-15 17:57:41 +00:00