Commit Graph

140 Commits

Author SHA1 Message Date
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