Commit Graph

19350 Commits (c3f66d49a3c2cb1b0f959dd48bc58f393bcb1ebc)

Author SHA1 Message Date
Joe Groff dc9c1ead2b add note to game.worlds docs that draw-world* and resize-world can have methods added in addition to the *-game-world specific methods 2010-01-19 19:12:00 -08:00
Joe Groff 6f3e6e4222 downsample gpu.demos.raytrace sound effects to 11kHz so they aren't so pointlessly huge 2010-01-19 19:03:01 -08:00
erikc 6933dd6a1d Map WM_APPCOMMAND browser backward and forward messages to action-left and action-right. 2010-01-19 18:28:53 -08:00
Joe Groff a91b59ebc0 allow audio-sources to control reference distance and rolloff factor 2010-01-19 17:54:55 -08:00
Joe Groff c1e49aa74c add gratuitous audio to gpu.demos.raytrace 2010-01-19 17:54:25 -08:00
Joe Groff c436c082f6 make a protocol for audio.engine sources/listeners. fix multiple clip play/pause/stop words, and fix when a clip gets disposed during update-audio 2010-01-19 17:39:11 -08:00
Joe Groff 1ab753c552 game.worlds overhaul: add optional support for integrating audio.engine and make game.input integration optional too. add "tick-game-world" generic for extending game-world's tick* method 2010-01-19 16:07:47 -08:00
Joe Groff 6cabab4100 make apply-world-attributes generic 2010-01-19 14:06:48 -08:00
Joe Groff beb5c0de8d add words to audio.engine for synchronized play/pause/stop of multiple clips 2010-01-19 13:16:45 -08:00
Joe Groff 554a2e3933 audio.loader vocab that reads audio file with reader appropriate to file extension 2010-01-19 12:46:06 -08:00
Joe Groff a765974f66 aiff audio file reader 2010-01-19 12:25:54 -08:00
Joe Groff f866a3f999 make audio.wav endian-neutral 2010-01-19 11:24:13 -08:00
Joe Groff 44b5b1970a oops. remove catheter and IVs from audio.engine 2010-01-19 10:42:38 -08:00
Joe Groff d5248c60c4 Merge branch 'master' of git://factorcode.org/git/factor 2010-01-19 10:30:00 -08:00
Joe Groff 06da84b0fc make audio.engine actually work, add audio.engine.test to exercise it 2010-01-19 10:29:25 -08:00
Joe Groff 40e9ac4f7f add DESTRUCTOR:s for alcCloseDevice and alcDestroyContext 2010-01-19 10:28:36 -08:00
Joe Groff bbd89c038f remove redundant USING: from terrain 2010-01-19 10:28:06 -08:00
Slava Pestov 5045024447 build-support/cleanup: clean up 'images' directory after testing 2010-01-20 03:15:11 +13:00
Slava Pestov 711d78f511 vm: don't recompile lazy-jit-compile more than once 2010-01-20 02:48:31 +13:00
Slava Pestov 5f207cda89 GNUmakefile: some more cleanups 2010-01-20 02:48:07 +13:00
Slava Pestov 875053d645 compiler.tree.propagation.call-effect: eliminate some dispatch from call( expansion 2010-01-19 21:08:45 +13:00
Slava Pestov 88004434ec vm: remove primitive table, non-optimizing compiler now looks up primitives with dlsym() 2010-01-19 20:00:33 +13:00
Slava Pestov 98f3eae5fe Fix performance regression in vector ops on specialized arrays, tweak definition of <slice> and 2map-reduce to generate fewer conditionals 2010-01-19 17:48:10 +13:00
Doug Coleman ff5676920f Even better fix for building Factor's shared library 2010-01-18 22:14:46 -06:00
Joe Groff f0eeb401bb audio.engine initial code dump 2010-01-18 14:17:04 -08:00
Doug Coleman 200ece4bc6 Better fix for building dll on WIndows 2010-01-18 14:17:03 -06:00
Slava Pestov 0c8dc1f00b Use ParseCommandLineArgvw() on Windows again, instead of hand-rolled parser. Update Nmakefile to link in shell32.dll, where this function is defined 2010-01-18 06:12:04 -06:00
Doug Coleman d9412defb0 Don't build the Factor dll twice on Windows 2010-01-18 05:21:50 -06:00
Slava Pestov e19c6fd76f compiler.tree.escape-analysis: make tests a bit more robust; a change to boa constructors recently meant dead curries were showing up on certain expansions, this was throwing off the escape-analysis test's unboxed allocation counting. Fix this by having the test run DCE first, and remove a few tests that no longer make sense now 2010-01-18 23:32:34 +13:00
Slava Pestov 0608859781 io.servers.connection: accept-loop doesn't need to be 'inline recursive' 2010-01-18 22:23:57 +13:00
Slava Pestov 0165daf56c Stop wearing monocle and use the term "entry point" instead of "XT" throughout VM and compiler; also remove two unused relocation types 2010-01-18 20:54:00 +13:00
Doug Coleman dbe1083206 Fix minor typo in <server> docs 2010-01-17 23:13:20 -06:00
Joe Groff af3239a6b6 add ALC bindings to openal 2010-01-17 16:07:43 -08:00
Joe Groff 5a8395c0ea missing USING:s 2010-01-17 16:07:29 -08:00
Joe Groff ab731d5bf7 game.loop: fps word to divide a value into 1,000,000 2010-01-16 23:25:40 -08:00
Joe Groff b642764363 Merge branch 'master' of git://factorcode.org/git/factor 2010-01-16 23:15:02 -08:00
Joe Groff 02dcfe63c4 method-chains docs 2010-01-16 23:13:59 -08:00
Joe Groff d4471b46b3 document game.loop 2010-01-16 23:07:20 -08:00
Joe Groff ae4fec575f add begin-game-world and end-game-world generics so method-chains aren't needed just to do game setup and teardown at the right time 2010-01-16 23:06:54 -08:00
Slava Pestov a3c7f1001d vm: fix command line parsing on Windows 2010-01-17 00:05:52 -06:00
Doug Coleman 3f124ad6a6 Work around gcc bug on openbsd 2010-01-16 23:59:16 -06:00
Slava Pestov 402b096f5a Remove generated file factor.res added by mistake 2010-01-17 18:00:26 +13:00
Slava Pestov bdaccd75c6 Nmakefile: build factor.dll and link in resource file 2010-01-16 22:41:17 -06:00
Joe Groff 98d143fde1 document game.worlds, tweak GAME: syntax 2010-01-16 13:13:13 -08:00
Joe Groff 296c3206b2 "a block border" => "a black border" 2010-01-16 12:40:07 -08:00
Joe Groff b421c1aa8b Merge branch 'master' of git://factorcode.org/git/factor 2010-01-16 12:24:47 -08:00
Joe Groff c2fa6cf6eb GAME: syntax for defining game entry point with game-loop attributes 2010-01-16 12:18:50 -08:00
Joe Groff f3210de8c1 use MAIN-WINDOW: for key-caps 2010-01-16 12:00:00 -08:00
Joe Groff 2d74afa2a1 formatting ocd 2010-01-16 11:46:50 -08:00
Joe Groff 1409f3d0ad hurr semicolon 2010-01-16 11:45:20 -08:00