Commit Graph

1582 Commits

Author SHA1 Message Date
Rtch90
bb735a1204 [Move] AI stuff could be useful for autopilot, so moved to Ship. 2018-04-14 17:13:45 +01:00
Rtch90
3505b14b39 [Add] Start of ship ai. 2018-04-14 16:51:33 +01:00
Rtch90
862cd92a7f [Add] Screenshot key. 2018-04-14 16:04:16 +01:00
Rtch90
25d0b29aea [Add] Explosions when ships die anyone? 2018-04-14 04:01:35 +01:00
Rtch90
275aa6b71f [Add] Mkay, ships can take damage and die now. 2018-04-13 23:30:34 +01:00
Rtch90
04fa6c2843 [Change] Laser hit uses new collision detection. 2018-04-13 22:24:56 +01:00
Rtch90
75613f2237 [Change] Apply gravity to all dynamic bodies in player frame. 2018-04-10 20:06:28 +01:00
Rtch90
33838c7590 [Add] Angular effects on collision with static objects. 2018-04-10 19:56:13 +01:00
Rtch90
f546c292db [Add] Angular response for dynamic on dynamic collisions. 2018-04-10 19:48:34 +01:00
Rtch90
6401a6a3d3 [Add] Linear collision response between dynamic bodies. 2018-04-08 18:59:33 +01:00
Rtch90
799e1de136 [Fix] Made the linear component of collisions with static bodies work. 2018-04-08 18:25:42 +01:00
Rtch90
40f6d6dc37 [Change] Some further work on new dynamics.
[Fix] Load/Save works again.
[Meh] Collision test ok, but no response.
2018-04-08 17:18:07 +01:00
Rtch90
73547ec32e [Change] Initial ode-less dynamic body work.
[Remove] Removed ODE dep.
[Missing] No collisions yet.
2018-04-08 17:01:03 +01:00
Razielle Tzu
dc38403fbe comment typo fixed in world_view.cpp 2018-04-06 23:06:51 +00:00
Rtch90
d63c8f7c13 [Fix] Aha! Fixed rendering bug in planet atmosphere! 2018-04-06 23:27:22 +01:00
Rtch90
d6adcce07c [Change] Abstract dynamic body stuff ready for ODE removal. 2018-04-06 23:23:57 +01:00
Rtch90
f86e45e5e6 [Add] Some elastic collision crap. 2018-04-06 22:54:29 +01:00
Rtch90
e8af5d4678 [Remove] Some bits of ODE collision detection from ModelBody.
[Add] Some Accessor/Mutator's for rotations/position in geoms and
Dynamic bodies.
2018-04-06 22:38:48 +01:00
Rtch90
37d3c3a16b [Add] Always collide with sphere when trimesh inside.
[Fix] Fixed silly landing bug.
2018-04-06 22:21:53 +01:00
Rtch90
b738fb63e1 [Add] Planet sphere geom in new collider. A little suspect.. 2018-03-21 20:43:52 +00:00
Rtch90
9e6b365f9d [...] Bunch of collision work, pretty much broke planet landing and some
other stuff. Don't worry about it.
2018-03-17 18:41:12 +00:00
Rtch90
a9c2abdb71 [Fix] Missing tris bug.
[Add] Do empty space cutoff in BIH tree builder.
2018-03-17 17:13:42 +00:00
Rtch90
c0739f7abf [Add] Use new collider in Lephisto. It's incomplete and slow due to a
lack of object instance space accel
2018-02-22 21:10:45 +00:00
Rtch90
bc0b81117f [Add] CollisionContact struct. 2018-02-21 21:34:03 +00:00
Rtch90
ee1092d59b [Add] Initial non-accelerating collision space. 2018-02-20 20:09:45 +00:00
Rtch90
e0c8bcfcd6 [Add] Bounding interval hierarchy tree. 2018-02-19 22:03:17 +00:00
Rtch90
7d75f045fe [Add] Axis-Aligned bounding box update. Getting ready to begin new
collision framework.
2018-02-18 21:32:47 +00:00
Rtch90
7a48e570dd [Fix] Just a few small fixes. 2018-02-08 21:21:18 +00:00
Rtch90
4f992dd0ce [Add] Save view state.
[Change] Reoraganize a bunch of Camera stuff.
2018-02-08 21:17:06 +00:00
Rtch90
b68f40a74a [Change] Uh.. Nothing. Really.. 2018-02-03 20:47:57 +00:00
Rtch90
014be1fef2 [Add] Nicer collision mesh viewing in model viewer. 2018-02-03 20:37:32 +00:00
Rtch90
0c9cfabdf0 [Add] Load/Save angle velocity. 2018-02-03 19:06:02 +00:00
Rtch90
47c4a6eeb8 [Add] More save/load game work. Incomplete, needs ship equipment etc.. 2018-02-03 17:09:20 +00:00
Rtch90
29a9c927f2 [Add] Some serialization work on Body/Star systems. Still a fair bit to
do.
2018-01-31 22:26:05 +00:00
Rtch90
7454028020 [Remove] Removed ctags stuff that laptop somehow inclided. Added to
.gitignore.
2018-01-31 22:04:50 +00:00
Rtch90
2eec93a9bd [Add] A lot of preliminary work on game saves. 2018-01-30 20:12:30 +00:00
Rtch90
a0d7eb207a [Add] Earth Starports [London, Los Angeles, Moscow and more. ]
[Add] Intro screen.
2018-01-23 21:31:52 +00:00
Rtch90
0b648b4a9a [Add] Create surface starports in system generation. */ 2018-01-23 20:36:51 +00:00
Rtch90
4bb15a1462 [Fix] Fixed timestep physics. 2018-01-23 19:32:27 +00:00
Rtch90
c3a2849f77 [Add] Spin keys.
[Change] Make stars render faster and use more realistic star type light
colours.
2018-01-23 18:54:35 +00:00
Rtch90
1d7083b344 [Add] Make orbital starports in system generation. 2018-01-21 20:27:43 +00:00
Rtch90
f9e7d05ccb [Fix] Segfault on shooting stuff. 2018-01-21 16:08:48 +00:00
Rtch90
7749676cda [Change] Allow ship rotation controls at high time accel.
[Change] Force gears down on docking.
2018-01-21 15:58:17 +00:00
Rtch90
43ce19d276 [Fix] Position ships correctly when sat on ground so they don't sink in. 2018-01-21 14:00:00 +00:00
Rtch90
7f0918cc1e [Change] Increase UI resolution to 800x600. 2018-01-21 12:16:03 +00:00
Rtch90
5feaf72e78 [Add] Landing on ground based stations. Uses the same geom flag 1 thing
to indicate docking surface, but they are visible surfaces in this case.
2018-01-21 00:12:28 +00:00
Rtch90
4ae98085e2 [Add] Body::OrientOnSurface for placing things on planets.
[Add] Small start on ground based starports.
[Fix] ToggleButton.
2018-01-20 22:37:38 +00:00
Rtch90
41050278e8 [Add] 'i' to toggle debug info.
[Change] esc to close instead of 'q'
2018-01-20 18:28:37 +00:00
Rtch90
117b9db6bd [Add] Zero velocity and forces on landing. 2018-01-20 18:14:59 +00:00
Rtch90
703515dbe0 [Add] More landing constraints.
[Fix?] Correct wheel behaviour when landed.
2018-01-20 17:23:06 +00:00