Commit Graph

1582 Commits

Author SHA1 Message Date
Rtch90
e5ef17814a [Fix] Fixed that darn gas giant rendering. "Yeah, that's looks like a
planet!"
2017-11-23 22:51:49 +00:00
Rtch90
ccca982b42 [Change] A bunch more planet work.
[Change] Start player in system 0, 0, 0
2017-11-23 21:25:46 +00:00
Rtch90
8638477a2f [Meh] Files I obviously forgot to save. :/ 2017-11-22 23:55:04 +00:00
Rtch90
869c4e6a54 [Add] Some more gas giant rendering work. Now procedurally generated!
[Add] Some Screenies.
2017-11-22 23:25:26 +00:00
Rtch90
e8d67b6f02 [Change] Clean up the silly lighting direction picking. 2017-11-22 21:55:36 +00:00
Rtch90
fdaea7190d [Add] Some gas giant work, cleaned up Body somewhat. 2017-11-22 21:46:22 +00:00
Rtch90
8a16f3c0db [Add?] Some work in progress planet drawing. Nothing to pay attention
to. :P
2017-11-21 19:28:44 +00:00
Rtch90
1b35d387b9 [Change] Position player in docking bay on undocking. Need to do request
docking clearance, because at the minute repeat docking is not possible.
D:
2017-11-20 22:15:23 +00:00
Rtch90
f1debdee31 [Add] ModelBody::SetRotation(). 2017-11-19 22:45:44 +00:00
Rtch90
421abb2324 [Fix] Somewhere amongs the changes docking got borked. 2017-11-19 22:19:16 +00:00
Rtch90
cb72a4ccbe [Change] Renamed rigid body stuff. 2017-11-19 22:01:50 +00:00
Rtch90
d5cd91e02b [Change] Get the collision geom flags through to the collision
detection..
2017-11-19 19:50:06 +00:00
Rtch90
b48426d6c4 [Change] Messing around with collisions some more, not really helpful. 2017-11-19 17:43:43 +00:00
Rtch90
7a20ca5876 [Add] Add docking quad to space station model 2017-11-19 15:33:39 +00:00
Rtch90
6404418ce1 [Add] Use new body death code with pre-hyperspace clearout. 2017-11-19 15:01:32 +00:00
Rtch90
6d568a0ecf [Add] Body death and associated cleanup. Space::KillBody() to kill a
body.
2017-11-19 14:42:30 +00:00
Rtch90
a7928d0066 [Change] Just messing with a few values. Put some space between the other actors. 2017-11-19 12:37:19 +00:00
Rtch90
754e25f116 [Fix] Fixed CollMesh+Scale. ^.^ 2017-11-19 12:28:18 +00:00
Rtch90
196e7345a1 [Add] Working on collision. Doesn't work, see how changing model scale screws collisions. If I set the model 62 scale to 2.0 then hitting it gives screwed up collisions. On scale 1.0 it works fine though. 2017-11-19 11:41:35 +00:00
Rtch90
15f17e08e5 [Fix] Should probably clear those thrusters upon initilization. :D 2017-11-19 00:13:28 +00:00
Rtch90
3c064b4e5a [Add] Flag for invisible stuff. 2017-11-19 00:09:17 +00:00
Rtch90
85155c1fcc [Fix] This took wayy too long to debug.. if(n < 100); n = 100; !?!?!?!? 2017-11-18 23:59:59 +00:00
Rtch90
2a5a81dcf3 [Add] Collisions using collision meshes. 2017-11-18 18:18:31 +00:00
Rtch90
dadae15b47 [Fix] Then Allanis Fixeth Frustum, then the Earth appeared! And it was gooood! 2017-11-17 21:03:49 +00:00
Rtch90
7757997e56 [Fix] Fixed assertion when facing away from target. 2017-11-17 20:59:13 +00:00
Rtch90
aff5111f36 [Add] Added targets to ships. 2017-11-17 20:51:44 +00:00
Rtch90
a3693b52aa [Add] Depth sorting? Two odd things happened here. Magically lasers started working! YEYY! But also Earth disapeared. Nayy! 2017-11-17 19:37:02 +00:00
Rtch90
03f49891b6 [Change] Allow left&right mouse buttons together to fire laser. -- Still need to fix the rendering of the laser. 2017-11-16 22:31:22 +00:00
Rtch90
2a029eced4 [Add] Collision mesh generation. Collisions are not so arcady now. :D 2017-11-16 22:27:54 +00:00
Rtch90
ea07725a87 [Change] Some model reorganisation.
[Add] LOD.
2017-11-15 22:36:25 +00:00
Rtch90
0fa35be152 [Add] There is no denying being dead now with this lovely model.
[Fix] Fixed a scaling bug.
2017-11-15 16:02:12 +00:00
Rtch90
6c1b4e5dfd [Fix] Set ship gear flag properly so we don't see the wheels now when the gears are up and flaps closed. 2017-11-14 20:27:40 +00:00
Rtch90
1e48dbafe5 [Add] Wheels up/down transition. 2017-11-14 20:21:06 +00:00
Rtch90
d0bbe9df73 [Add] Set some anim params so engine pulse works. Looks pretty nice.
[Fix] Fixed ambiguois calls to pow().
2017-11-14 20:04:36 +00:00
Rtch90
c80c6b3d17 [Fix] Fixed the wheels. 2017-11-14 19:57:46 +00:00
Rtch90
56dc9ee5a8 [Fix] Fixed broken system info view.
[Fix] Fixed mouse screw up in system view.
2017-11-13 22:30:54 +00:00
Rtch90
fc03c9f6e3 [Fix] Fixed external view, forgot to add players external veiw translation to camera frame's position.
[Fix] Correctly apply ship masses.
[Add] A nice rotating ship in the infoview pane.
2017-11-13 22:12:02 +00:00
Rtch90
65cf61a6ed [Change] Use 24-bit depth buffer where possible. 2017-11-13 21:08:14 +00:00
Rtch90
a0a44932fe [Add] Some Hyperspace range stuff.
[Add] SectorMap indicates current ship location.
2017-11-13 20:59:38 +00:00
Rtch90
2c6a14f5c9 [Add] Ship info screen with more ship stats.
[Change] Made the ship angular velocity damping less... broken.
2017-11-12 22:10:26 +00:00
Rtch90
415b111735 [Change] Single GLUQuadric object.
[Fix?] Was meant to have fixed laser drawing, I kinda failed. :D
2017-11-12 20:49:17 +00:00
Rtch90
c88dfe6703 [Change] Improved mouse control.
[Add] Added a few shiptypes. Don't yell at me for pathetic names.
2017-11-12 20:19:10 +00:00
Rtch90
50c5b3da0f [Fix] Fixed the horrible rotating in external view. Also, the ships almost look badass now! 2017-11-12 19:11:14 +00:00
Rtch90
caba05d699 [Add] Uhm, apparently the new project stuff wasn't added. My bad. 2017-11-12 18:27:48 +00:00
Rtch90
41950a3099 [Change] Removed all the old Lephisto data. We have gone 3D!! 2017-11-12 18:19:54 +00:00
Allanis
d93e594787 [Add] Added concept of static factions so we can't modify player
standing.
2014-11-16 00:32:02 +00:00
Allanis
023c8dff0e [Change] Cleaned up pack_seek 2014-11-16 00:19:57 +00:00
Allanis
b9c52585e8 [Change] Useing ldata_rwops where applicable.
[Fix] Memleak.
2014-11-16 00:10:44 +00:00
Allanis
7c81351fda [Add] We can now create SDL_RWops from packfile. 2014-11-15 20:57:45 +00:00
Allanis
01ad8a2f48 [Change] Attempt to make ldata and pack thread safe. 2014-11-15 19:46:33 +00:00
Allanis
2fe4e218d3 [Add] New cargo mission. 2014-11-15 19:22:33 +00:00
Allanis
76e6ddd90b [Fix] Fixed bug with sound volumes. 2014-11-15 19:00:14 +00:00
Allanis
3686104b8a [Fix #1] Fixed pilots teleporting away when dead. 2014-11-15 18:22:16 +00:00
Allanis
d23b722ef7 [Change] Try to load as FleetGroup first. 2014-11-08 14:06:30 +00:00
Allanis
72d88644b6 [Change] Using either Fleets or FleetGroups when loading starsystems. 2014-10-26 18:51:42 +00:00
Allanis
4ddb216e6a [Add] Introduced concept of FleetGroups. 2014-10-19 14:31:03 +01:00
Allanis
1d53467491 [Change] Modulised fleet stuff. 2014-10-18 22:26:05 +01:00
Allanis
0202391edb [Add] Now you can define parts of the GUI as semi-transparent. 2014-08-07 19:59:58 +01:00
Allanis
0b3869c831 [Change] Pilots turning hostile should depend a bit less on FPS. 2014-08-07 19:02:43 +01:00
Allanis
2e76ef4019 [Change] Improved how pilots react to taking damage. 2014-08-07 19:00:49 +01:00
Allanis
9bce55471c [Change] More robust checking of ship hostilenes. 2014-08-05 22:22:36 +01:00
Allanis
c6c26f1050 [Fix] Minor fix in last two commits. 2014-08-04 23:46:44 +01:00
Allanis
0e76d75ab0 [Change] Allow changing of afterburner sensitivity. 2014-08-04 23:44:14 +01:00
Allanis
d366fec5b8 [Add] Added keybindings for targetting escorts. 2014-08-04 23:31:59 +01:00
Allanis
ab741a257f [Fix] Fixed a memory leak. 2014-07-23 20:16:02 +01:00
Allanis
f0fbae3f63 [Change] Don't bother trying to start haptic subsystem when there's no
joystick.
2014-07-23 20:10:06 +01:00
Allanis
25d001d05b [Change] Don't always preload comms graphics for ships, load only as
needed.
2014-07-23 20:07:45 +01:00
Allanis
0faad008b5 [Add] Added credits. 2014-07-23 14:59:37 +01:00
Allanis
448d27f4a4 [Change] You can now determine different text/music using the intro
code.
2014-07-22 14:24:06 +01:00
Allanis
bb81e44374 [Change] Small code cleanup. 2014-07-22 14:19:42 +01:00
Allanis
58e28df6bb [Change] Much better OS compatibility macros. 2014-07-22 14:03:42 +01:00
Allanis
18fe746053 [Change] Increased requirements on DV patrol missions. 2014-07-21 17:57:12 +01:00
Allanis
a867e1184e [Add] Mark enemies as hostile in patrol missions. 2014-07-21 17:51:37 +01:00
Allanis
57dc9832fa [Add] Added more Lua API functions.
[Change] DV patrol missions now actually force you to kill hostiles.
2014-07-21 17:45:58 +01:00
Allanis
792e05e40a [Add] More Lua API functions.
[Add] New patrol missions.
2014-07-21 15:59:51 +01:00
Allanis
526bdd578f [Fix] Fixed segfault on GUI and fixed incorrect pilot target position. 2014-07-20 22:27:25 +01:00
Allanis
62f31aa8c4 [Change] Cleaned up some code. 2014-07-20 21:49:39 +01:00
Allanis
b4edcb5f27 [Fix] Make sure player can accept the active mission from C side code. 2014-07-20 21:26:48 +01:00
Allanis
39435c6330 [Change] Special effects are no longer hardcoded. 2014-07-20 21:18:53 +01:00
Allanis
405cf65b83 [Change] Forgot a sprintf=>snprintf a while back. 2014-07-20 20:54:38 +01:00
Allanis
d3408e38b0 [Change] Changed vsprintf to vsnprintf to be safe. 2014-07-20 20:53:14 +01:00
Allanis
0573336e27 [Change] Ripped out all the GUI code and gave it, its own file. 2014-07-20 20:48:13 +01:00
Allanis
e37d373214 [Change] Just some code cleanup. 2014-06-06 16:52:35 +01:00
Allanis
6133a45210 [Add] Use landing_sinister when landing on Eiroik for missions. 2014-06-05 20:53:37 +01:00
Allanis
756aac2bac [Change] Cleaned up a refuel checks. Missed them a long time ago. 2014-06-05 20:37:31 +01:00
Allanis
e45909e9aa [Fix] Ensure that music doesn't stall. 2014-06-05 18:04:57 +01:00
Allanis
5d67c45570 [Change] Don't count "LAND" as a service in Lua. 2014-06-05 17:59:57 +01:00
Allanis
f346126976 [Add] Use combat music on combat. 2014-06-04 21:14:14 +01:00
Allanis
2c68677e81 [Add] More music improvements. 2014-06-04 21:06:29 +01:00
Allanis
f38da7322b [Change] Better handling of music. 2014-06-04 14:09:58 +01:00
Allanis
26e966c1dd [Add] Added pilot_rmHostile. 2014-06-01 14:42:07 +01:00
Allanis
e933ce3b8d [Fix] Fixed issue with interference not disappearing as it should. 2014-06-01 14:19:40 +01:00
Allanis
27780b01ba [Add] Have player keep track of hostiles it has in the system. 2014-05-31 19:07:00 +01:00
Allanis
dd2249344b [Change] Minor cosmetic change. 2014-05-30 20:13:41 +01:00
Allanis
a4861de89f [Change] Much better handling of joystick axes. 2014-05-30 20:11:37 +01:00
Allanis
521514ba7e [Change] Made force feedback system a little more robust. 2014-05-29 21:50:09 +01:00
Allanis
9b4175d5a1 [Fix] Fixed possible segfault. 2014-05-29 21:40:49 +01:00
Allanis
34358a6b66 [Change] Improved force feedback system. 2014-05-29 21:35:44 +01:00
Allanis
3f205ce9f0 [Change] Made force feedback a little more sophisticated. 2014-05-29 17:47:19 +01:00
Allanis
99dc05be86 [Add] First implementation of force feedback (haptic feedback for
joysticks).
2014-05-29 16:36:57 +01:00
Allanis
b36afb79da [Fix] More paranoid checks for possible segfaults. 2014-05-29 01:53:40 +01:00
Allanis
bafed15cdc [Change] Some code cleanup. 2014-05-29 01:49:23 +01:00
Allanis
5ae72bcacd [Fix] Avoid some other possible seg faults. 2014-05-28 21:37:26 +01:00
Allanis
71f4ce95d2 [Fix] Another possible segfault with isspace(). 2014-05-28 21:32:48 +01:00
Allanis
a77942e9a4 [Change] Changed some LINUX+FREEBSD checks to _POSIX_SOURCE. 2014-05-28 16:04:27 +01:00
Allanis
9f8dbeccb5 [Fix] More FreeBSD fixes. 2014-05-28 15:50:24 +01:00
Allanis
74e1ba3342 [Add] Added the possibility to do lagged time increments (for when
adding to mission subsystems).
2014-05-27 20:48:00 +01:00
Allanis
30a0f3c7b7 [Fix] Fix to address realloc not freeing with 0 size on freebsd. Still
needed in other places too.
2014-05-27 19:35:00 +01:00
Allanis
4455499beb [Add] Documented ltime. 2014-05-27 19:22:35 +01:00
Allanis
35f8570f83 [Fix] Should eliminate the possibility of pilots getting destroyed by a
hook while being updated.
2014-05-27 15:52:06 +01:00
Allanis
2ff980a937 [Fix] Fixed hooks being freed twise in some situations. 2014-05-27 15:40:49 +01:00
Allanis
be72a73740 [Add] Saves are now backed up. 2014-05-27 15:28:23 +01:00
Allanis
d7aa607380 [Change] Made lstd much simpler. 2014-05-26 17:49:33 +01:00
Allanis
5304f73970 [Change] Additional message when generating nebulae. 2014-05-25 19:48:34 +01:00
Allanis
084ca94a93 [Change] Code cleanup and doxygen. 2014-05-25 19:43:19 +01:00
Allanis
4e572b704c [Add] Created lstd for portable SDLKey isalpha functions and such. 2014-05-24 21:19:28 +01:00
Allanis
4f93b615a4 Merge branch 'Here' into dev 2014-05-24 14:47:12 +01:00
Allanis
5513a991a5 [Fix] Oops, I completely failed to get the input widgets. 2014-05-24 14:46:55 +01:00
Allanis
e761bb52e1 [Change] Limit the input widgets in a more sane compatible manner. 2014-05-24 14:35:32 +01:00
Allanis
21cfcbfb05 [Fix] Removed a warning. 2014-05-24 14:16:21 +01:00
Allanis
0064c2bf0b [Change] More stuff to work with SDL1.3 2014-05-24 12:30:58 +01:00
Allanis
fb3c093f02 [Add] Support SDL 1.3 as well as 1.2 right?! Who's going to tell me I should be using 2.0 already? 2014-05-23 23:49:15 +01:00
Allanis
81ae76236c [Add] I think I've been documenting this thing all day. D: 2014-05-23 23:05:30 +01:00
Allanis
5dc8a8f782 [Add] Have some more documentation. 2014-05-22 23:35:31 +01:00
Allanis
a3e781968b [Change] More doxygen stuff. 2014-05-22 22:22:29 +01:00
Allanis
3a13801a14 [Change] A ton of code cleanup. 2014-05-22 22:07:22 +01:00
Allanis
08a3fe6c9c [Change] Some code cleanup. 2014-05-22 20:43:46 +01:00
Allanis
5a84266a4f [Add] Added keybinding to cycle through secondary weapons backwards. 2014-05-22 20:35:23 +01:00
Allanis
23ec93cad4 [Change] Ensure version message doesn't get overlapped in small
resolutions.
2014-05-22 19:28:10 +01:00
Allanis
7c71ac5558 [Add] Friendly warning if ldata isn't found. 2014-05-22 19:08:58 +01:00
Allanis
7c77674d1f [Change] More work to improve accel sound handling when paused and
hyperspacing.
2014-05-22 18:51:27 +01:00
Allanis
a70a55982e [Change] Implemented pilot_copy a little better. 2014-05-22 18:48:36 +01:00
Allanis
f23b51e540 [Fix] Fixed memory leak. 2014-05-22 18:35:03 +01:00
Allanis
846cbd5e35 [Change] Slightly cleaner implementation of channel pause/resume. 2014-05-22 18:31:41 +01:00
Allanis
3182639db1 [Fix] Removed some warnings on SDL1.3 2014-05-22 18:22:06 +01:00
Allanis
d4d40f63ff [Change] Disabled the unable to play sound warnings to not scare people
on the last collective missions.
2014-05-22 15:02:12 +01:00
Allanis
b7cfc2bac2 [Fix] Fixed grep|sed screwup. 2014-05-22 14:35:22 +01:00
Allanis
a23d2c7810 [Change] Changes a TON of stuff in the Star System. 2014-05-22 01:55:10 +01:00
Allanis
fbc2cddac5 [Change] Pause engine sounds when pausing. 2014-05-21 21:34:42 +01:00
Allanis
7cb8dfd1f8 [Change] Don't abort autonav if damage is from volatile system. 2014-05-21 21:32:57 +01:00
Allanis
55a0cb0552 [Add] Dirty hack to make sure engine sounds stop when toolkit is open.
Proper fix will involve fixing SDL_mixer stuff.
2014-05-21 21:30:28 +01:00
Allanis
1b8467af22 [Change] Reset interference on player load/creation. 2014-05-21 20:10:29 +01:00
Allanis
ad43554177 [Fix] Fixed the thrust/afterburn sound getting stuck when landed. 2014-05-21 20:08:04 +01:00
Allanis
a8dd594369 [Add] Using confidence intervals now. 2014-05-21 17:24:30 +01:00
Allanis
40982ef496 Merge branch 'master' into dev 2014-05-21 16:34:38 +01:00
Allanis
fbc7169d21 [Change] Avoid a theoretical infinite loop plus a memleak in the map. 2014-05-21 16:34:10 +01:00
Allanis
13ce356566 [Change] AUTONAV will try to face away from the gravitational center if
too close.
2014-05-21 15:17:54 +01:00
Allanis
93930ad30b [Change] Use compression when saving. 2014-05-21 15:11:52 +01:00
Allanis
cce10777fb [Change] Make save files more readable (for better or worse). 2014-05-21 15:10:57 +01:00
Allanis
4fdda9b388 [Fix] Display FPS properly when game speed is accelerated. 2014-05-21 13:23:22 +01:00