Commit Graph

44 Commits (revert-2214-feature-commandline-documentation)

Author SHA1 Message Date
Alexander Iljin 504c9959a1 Update some copyright headers to follow the current convention
Had to look through the history to find years for some headers. Added
authors to some files as well.
2017-09-11 15:43:03 -07:00
John Benediktsson ac04040edc math.trig: use deg>rad in a few places to reduce duplication. 2016-11-10 10:17:22 -08:00
Björn Lindqvist cb39da4b31 math.vectors: new word vclamp for clamping vectors 2016-08-22 14:22:26 +02:00
Björn Lindqvist 001acde590 math.vectors: new word v>integer = [ >integer ] map 2014-11-17 19:02:12 -08:00
John Benediktsson ab3d6b1d13 opengl: properly scale viewports. 2012-11-01 17:12:13 -07:00
Doug Coleman 445b43d924 Use benchmark.struct vocab to record tick/draw timings in game loop 2010-06-10 15:37:36 -05:00
Doug Coleman 8656725f78 Finish renaming micros->nanos in game code, update libs 2010-05-21 23:50:42 -05:00
Slava Pestov 627295f094 Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO) 2010-05-06 17:21:02 -04:00
Joe Groff 72013c88c9 use inline and TYPED: in terrain so that vector math can optimize 2010-02-11 10:55:50 -08:00
Joe Groff e5c44b95aa 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 ee0eaf4ede remove redundant USING: from terrain 2010-01-19 10:28:06 -08:00
Joe Groff 893c365912 missing USING:s 2010-01-17 16:07:29 -08:00
Joe Groff 9e0f26f6eb game.loop: fps word to divide a value into 1,000,000 2010-01-16 23:25:40 -08:00
Joe Groff 89f104d8ab 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
Joe Groff a2e3d64de6 document game.worlds, tweak GAME: syntax 2010-01-16 13:13:13 -08:00
Joe Groff 6bbfa0b6d8 GAME: syntax for defining game entry point with game-loop attributes 2010-01-16 12:18:50 -08:00
Joe Groff bd62fb22aa game-loop: change "tick-length" to more descriptive "tick-interval-micros" 2010-01-15 15:03:33 -08:00
Joe Groff 9131e16f7b bump game demos up to 60fps. we have the technology 2010-01-15 14:36:45 -08:00
Joe Groff 67cc1c01be Merge branch 'master' into simd-cleanup 2009-11-26 16:14:46 -08:00
Joe Groff 4027002db7 remove SIMD:s 2009-11-25 20:21:54 -08:00
Doug Coleman f4450653a9 remove system-millis and update vocabs to use system-micros or nano-count 2009-11-18 20:56:09 -06:00
Joe Groff 3e10a140e2 tweak terrain collision detection 2009-10-16 17:05:44 -05:00
Joe Groff 7142139cf7 improve noise/terrain performance 2009-10-15 22:37:31 -05:00
Doug Coleman fcc53d174c move game-* to game.* and update all usages 2009-10-08 01:42:54 -05:00
Joe Groff 630e5ecc3b update vocabs so a load-all on macosx works without parsing c-type strings 2009-09-27 15:11:21 -05:00
Slava Pestov 7f2e2b1777 Specialized array overhaul
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Doug Coleman 3f3d57032b Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Doug Coleman a54c78007b add a clamp word to math.order, use clamp word throughout libraries 2009-05-24 21:35:50 -05:00
Joe Groff 78e3c19797 factor out grid mesh generation in terrain to its own vocab 2009-05-18 10:31:05 -05:00
Doug Coleman 8de7f016c8 add reverse time to terrain demo and refactored it a bit 2009-05-15 19:36:36 -05:00
Joe Groff 6d1f1e3b5e cocoa doesn't send key-up gestures for cmd+keys 2009-05-15 11:04:11 -05:00
Doug Coleman f2310df323 add a velocity-modifier to terrain demo for left shift. alt-enter toggles fullscreen mode 2009-05-13 20:06:13 -05:00
U-C4\Administrator d810905d85 unbassackwardsify the mouse, q and e rotate too 2009-05-13 19:26:08 -05:00
U-C4\Administrator cce7b36ea3 terrain demo allows looking around with keyboard now. used ${ in a few places 2009-05-13 19:21:27 -05:00
Joe Groff 783c452a6a purple sky 2009-05-10 13:45:58 -05:00
Joe Groff e4059d8393 clamp coordinates when doing terrain collision detection past the edge of the segment 2009-05-09 20:15:55 -05:00
Joe Groff 84c7f10ab7 factor game-input and game-loop mgmt out to a game-world base object 2009-05-09 12:53:01 -05:00
Joe Groff dd9af334a9 send bilerp upstream to spawn 2009-05-09 11:43:04 -05:00
Joe Groff b0d7e38b2f bilerp collision height 2009-05-09 11:36:24 -05:00
Joe Groff a66de23b54 gravity, jetpack, collision detection for terrain demo 2009-05-09 11:15:06 -05:00
Joe Groff 1644d88233 add escape key to terrain demo 2009-05-08 16:18:56 -05:00
Joe Groff 9992817c65 input grabbing support 2009-05-08 15:07:15 -05:00
Joe Groff ba213bdc34 make open-game-input and close-game-input do reference counting. update demos to show this 2009-05-08 13:00:34 -05:00
Joe Groff e833349ff8 slow, ugly, unoptimized terrain generation demo 2009-05-07 19:53:56 -05:00