Commit Graph

1437 Commits

Author SHA1 Message Date
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
Allanis
b75cf3d698 [Fix] Fixed Mace Rockets 2014-05-21 13:20:06 +01:00
Allanis
8c3836ce50 [Change] Mkay, escorts should properly hang if they have no target to
escort.
2014-05-21 00:23:41 +01:00
Allanis
ace738021f [Fix] Fixed escorts, I was keeping quiet about breaking them in the
first place.
2014-05-21 00:20:45 +01:00
Allanis
230329f868 [Change] Better handling of secondary weapons. 2014-05-21 00:09:43 +01:00
Allanis
8445d5a1ca [Fix] Mount y position is now properly in pixels. 2014-05-20 23:50:18 +01:00
Allanis
e52456d312 [Remove] Don't bother taking into account sprite size when creating
weapons. (It wasn't working anyway..)
2014-05-20 23:40:34 +01:00
Allanis
24379feab3 [Add] Take into account ship size for it's explosion. 2014-05-20 23:36:17 +01:00
Allanis
4254478ad0 [Add] Warn if ship has no mounts. 2014-05-20 23:31:07 +01:00
Allanis
8c5a419903 [Fix] Fixed the mounts offset due to the ortho projection. 2014-05-20 21:32:11 +01:00
Allanis
cc33574b5e [Change] Improve key handling to avoid situations where pilot gets
"blocked".
2014-05-20 21:28:59 +01:00
Allanis
22ebaef033 [Change] Made setSecondary static for minor optimization. 2014-05-20 15:50:49 +01:00
Allanis
3d85fa67f6 [Change] Fater comparison in rmOutfit. 2014-05-20 15:46:07 +01:00
Allanis
d06e4a6383 [Add] Take into account outfit sprite size when creating outfit. 2014-05-20 15:39:00 +01:00
Allanis
5e34b27baa [Add] rmOutfits should be mount aware. 2014-05-20 15:04:15 +01:00
Allanis
b689102f75 [Change] Lower faction loss for beams, no longer insta-hostile. 2014-05-20 14:56:43 +01:00
Allanis
cf4a4926d7 [Add] Missiles blow up when jammer destroys them. 2014-05-20 14:53:35 +01:00
Allanis
a597110019 [Remove] Removed some more @fn doxygen lines. 2014-05-20 14:46:33 +01:00
Allanis
5a714940f8 [Fix] Fixed minor memory leak. 2014-05-20 14:45:07 +01:00
Allanis
5429ed970d [Add] Mountpoints for turrets implemented. 2014-05-20 14:23:16 +01:00
Allanis
252f2f87b7 [Fix] Avoid possible out of bounds memory access. 2014-05-19 19:54:12 +01:00
Allanis
f1cc928709 [Add] Ammunition can now have accuracy (missiles etc..)
[Fix] Fixed a typo in weapon system.
[Add] New outfit.
2014-05-19 19:03:39 +01:00
Allanis
7534040724 [Change] Should only rumble when hit by the explosion of a ship. 2014-05-19 18:34:33 +01:00
Allanis
ea08de1644 [Change] Explicitly set NAV target at end of route to none. 2014-05-19 18:31:55 +01:00
Allanis
4f22f63f86 [Change] Bring a little order to the missions. 2014-05-19 18:29:59 +01:00
Allanis
6548b6fd9c [Change] Balance stack after conditional expression. 2014-05-19 18:04:11 +01:00
Allanis
ce39edb11d [Add] Slight additions to documentation system. 2014-05-19 17:21:04 +01:00
Allanis
6500acabfb [Change] Use luaL_error for the LLUA_* warnings. 2014-05-18 21:31:47 +01:00
Allanis
ea6db68433 [Add] No longer need Makefile when working in 'trunk', reads from
directories directly.
[Change] Code clean up.
[Add] Documentation.
2014-05-18 19:54:36 +01:00
Allanis
cbe4680de8 [Add] New mission - Help out some scientists deploy a probe. 2014-05-18 16:22:25 +01:00
Allanis
d0d02502ea [Change] Never try to create a screen aboe the players resolution unless
she forces it to.
2014-05-17 14:45:11 +01:00
Allanis
0da68c2c36 [Fix] Should fix possible segfaults. 2014-05-17 14:34:00 +01:00
Allanis
0121c6ac9d [Add] Added __tostring metatable functions. 2014-05-17 14:29:57 +01:00
Allanis
00384adf7b [Fix] More Lua stack balancing. 2014-05-17 14:25:55 +01:00
Allanis
04ed5fe1bc [Fix] Fixed some Lua stack unbalanced issues. 2014-05-17 14:21:45 +01:00
Allanis
970dd36c4f [Change] Tweaked interferance and lowered fire rate on seeker/headhunter
launchers.
2014-05-17 13:53:23 +01:00
Allanis
4aaed824c8 [Add] Updated beam graphics that use the wavy beam system implented a
while back.
2014-05-17 13:34:49 +01:00
Allanis
8f579ba9ac [Fix] Fixed segfault in volatile nebulae. 2014-05-17 13:15:08 +01:00
Allanis
31ec890d3e [Change] Tweaked the rumble system a little. 2014-05-17 13:11:11 +01:00
Allanis
3232d35cfe [Add] DEBUG_PARANOID should abort on Lua DEBUG statements. 2014-05-17 13:02:24 +01:00
Allanis
599e1c9860 [Fix] Should fix more issues with small resolution scaling. 2014-05-17 12:53:50 +01:00
Allanis
c9a79abac8 [Fix] Stupid typo broke saving. 2014-05-17 12:18:36 +01:00
Allanis
a2fd2e866a [Change] Lowered the velocity of the rumble. 2014-05-17 11:44:46 +01:00
Allanis
dc0ecd40ae [Change] A little cleanup and optimization. 2014-05-17 11:32:19 +01:00
Allanis
1abb2c117d [Add] Added flags to image creation to control transparency mapping.
Should speed up the loading and reduce memory usage.
2014-05-17 11:19:15 +01:00
Allanis
a14034411e [Fix] Fixed some issues introduced with the scaling. 2014-05-16 19:19:45 +01:00