Commit Graph

65 Commits (36b2ac97efd94119dbf0aa8618ae6c68265a43b8)

Author SHA1 Message Date
John Benediktsson 1c5d417100 math.vectors: rename "v." to "vdot" 2020-02-26 12:40:16 -08:00
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
Björn Lindqvist 8675cb2c25 basis/,core/,extra/: more tags 2017-07-08 18:31:39 +02:00
Björn Lindqvist 72807720f2 basis/,extra/: lots of new tags.txt files 2017-07-05 01:50:39 +02: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
Doug Coleman 7a6570b355 unicode.data, terrain.generation: remove abusive stack effect names. 2016-03-25 03:13:27 -07:00
Doug Coleman 352e5de16a core, basis, extra: Remove DOS line endings from files.
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
Björn Lindqvist 001acde590 math.vectors: new word v>integer = [ >integer ] map 2014-11-17 19:02:12 -08:00
Björn Lindqvist 508b85851d tools.deploy.backend: ui depends on (full) io so it needs to be loaded first
find-library on linux needs to call /sbin/ldconfig which requires a
full io-backend. Using gtk requires loading alien libraries which
requires find-library. So the ui should always load the whole io.
2014-07-03 21:57:07 +00: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
Slava Pestov bd0ca0e2aa Clean up some tags 2010-02-17 00:12:55 +13: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 ac5d3d5652 remove SIMDS: 2009-11-26 11:15: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
Slava Pestov ff3de7c550 terrain: fix deploy config 2009-10-17 16:43:47 -05:00
Slava Pestov 5328af8090 terrain: make it deploy 2009-10-16 23:43:44 -05:00
Joe Groff 3e10a140e2 tweak terrain collision detection 2009-10-16 17:05:44 -05:00
Joe Groff 184b32cc51 use a better algorithm to generate uniform/normal noise 2009-10-16 14:35:57 -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
Joe Groff ac3ec67c6a separate component format from component order in image objects 2009-06-22 11:20:54 -05:00
Doug Coleman b96a858872 refactor terrain generation to not use an image boa constructor 2009-06-10 15:59:14 -04: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
Joe Groff 2da256063f MacOS X glFrustum generates -0.0 in W column of projection matrix; Windows glFrustum generates 0.0. This causes sign differences in the gl_ProjectionMatrixInverse between platforms. manually force the z coordinate sign in terrain sky projection to be negative like it ought to be 2009-05-13 21:28:12 -05:00
Doug Coleman 0378c612c6 fix the sky 2009-05-13 20:15:58 -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
Joe Groff f95ed3ee68 Merge branch 'master' of git://factorcode.org/git/factor 2009-05-13 19:36:18 -05:00
Joe Groff 96e8006eb3 redundant math is redundant 2009-05-13 19:36:06 -05:00
U-C4\Administrator d810905d85 unbassackwardsify the mouse, q and e rotate too 2009-05-13 19:26:08 -05:00