Commit Graph

1526 Commits

Author SHA1 Message Date
Allanis
d11385b452 [Change] Initialize the joystick before sound. 2014-04-09 21:07:15 +01:00
Allanis
0244ff470e [Fix] You shouldn't be able to target ships while the game is paused. :/ 2014-04-09 21:05:21 +01:00
Allanis
233b8b96f0 [Add] Initial implentation of licenses, licenses are to be purchased
before given permission to buy various ships/weapons.
2014-04-09 20:55:15 +01:00
Allanis
f8701e4bdc [Add] Added options menu for audio and faders. 2014-04-08 23:48:35 +01:00
Allanis
fa3c8ab7da [Fix] Fixed broken handling of health textures. 2014-04-08 21:43:23 +01:00
Allanis
e9d216446d [Change] Major rewrite of xml parser, increased sanity checks. 2014-04-08 21:28:52 +01:00
Allanis
8f96995c8f [Change] Changed gui.xml to use a cleaner format. 2014-03-19 21:48:10 +00:00
Allanis
5ab3eafc4d [Fix] Oops, let's not return if the player has just enough credits. 2014-03-18 15:26:32 +00:00
Allanis
cdd5549ad3 [Change] Improved the keybind loading system somewhat. 2014-03-18 15:23:42 +00:00
Allanis
770bad9ecc [Remove] Cleaned up an additional lua_remove() call. 2014-03-18 15:17:07 +00:00
Allanis
1fcc6be891 [Add] You can now set keybindings by key name. 2014-03-18 15:12:04 +00:00
Allanis
e57782523b [Fix] I'm confused, but 2x speed works now. :S 2014-03-17 02:08:43 +00:00
Allanis
355ccfd65e [Add] 2x speed modifier by manipulating dt modifier.
[Fix] Fixed double free on keybindings opening.
2014-03-17 01:56:39 +00:00
Allanis
ee57228de5 [Add] Mission destinations are now marked when selecting mission at the
mission computer.
2014-03-17 00:22:46 +00:00
Allanis
3e97d1eea7 [Fix] Changing volume level actually works now. 2014-03-16 20:02:46 +00:00
Allanis
4884c04541 [Change] Bumped version 0.3.3 => 0.3.4 2014-03-16 07:55:02 +00:00
Allanis
204978375c [Change] Some minor tweaks. 2014-03-16 07:42:52 +00:00
Allanis
2be9749940 [Add] Some nice additions to keybinds menu, showing bindings in both
naviation/information pane.
2014-03-16 06:51:15 +00:00
Allanis
9a61e0281a [Change] Display keybindings in uppercase. 2014-03-15 21:10:27 +00:00
Allanis
d49064dde0 [Add] Alright, you are now able to check up on the keybindings via
options menu.
2014-03-15 20:26:40 +00:00
Allanis
af0ad658c2 [Add] Added 'any' modifier to always work. 2014-03-15 19:58:03 +00:00
Allanis
1a8c08c4c2 [Add] Making a start on making keybindings viewable with descriptions,
through a dialogue.
2014-03-15 19:54:25 +00:00
Allanis
77afa506e4 [Add] Added an indication on minimap as to where targeted planets
reside.
2014-03-15 17:42:10 +00:00
Allanis
84ea77284a [Fix] Fixed some sloppy vertex math in beam rendering. 2014-03-15 17:18:24 +00:00
Allanis
83fb0634cc [Add] Aborting missions should also have the mission cargo jettisoned.
kthx.
2014-03-15 03:05:40 +00:00
Allanis
e02f379050 [Add] Some better keybind loading. 2014-03-15 02:51:18 +00:00
Allanis
5b8a9bcbc0 [Fix] Fixed a nice little seg fault on the MAIN F'ING MENU!!! 2014-03-15 02:18:11 +00:00
Allanis
22e5393f0c [Fix] Fixed a possible cargo id collision. 2014-03-15 00:24:21 +00:00
Allanis
820d0516ac Merge branch 'dev' 2014-03-14 23:59:43 +00:00
Allanis
b4bb214f79 [Add] Mission cargo should get jettisoned off the ship once you die and
explode into oblivion.
2014-03-14 23:59:14 +00:00
Allanis
cb830fa511 Merge branch 'dev' 2014-03-14 23:24:07 +00:00
Allanis
3a0cf424ea [Remove] Remove some unused stuff. 2014-03-14 23:23:53 +00:00
Allanis
7f28c76cb0 Merge branch 'dev' 2014-03-14 19:53:46 +00:00
Allanis
8749453098 [Add] Provide reasons for aborting autonavigation. 2014-03-14 19:53:12 +00:00
Allanis
513a8cdf68 Merge branch 'dev' 2014-03-14 19:47:10 +00:00
Allanis
9278a1851b [Change] Better handling of player_flags and sunds when exiting the
game.
2014-03-14 19:46:44 +00:00
Allanis
b54c8b5059 Merge branch 'dev' 2014-03-13 20:08:18 +00:00
Allanis
c743205286 [Fix] Minor correctness change in lfile.c 2014-03-13 20:07:52 +00:00
Allanis
bd30611ca9 Merge branch 'dev' 2014-03-13 20:04:53 +00:00
Allanis
1c1fcd8486 [Change] Try to create the gen directory before creating nebulae in case
it fails.
2014-03-13 20:03:58 +00:00
Allanis
2c7118451e Merge branch 'dev' 2014-03-13 19:47:42 +00:00
Allanis
fbb6d44d23 [Add] Give visual feedback of targeted ships outside of radar range. 2014-03-13 19:47:15 +00:00
Allanis
a5dbf23a6c Merge branch 'dev' 2014-03-12 19:59:29 +00:00
Allanis
e3e635c7f8 [Change] Turrets should just shoot at the current position if the target
isn't in range.
2014-03-12 19:59:01 +00:00
Allanis
4fa17013f2 Merge branch 'dev' 2014-03-12 19:23:52 +00:00
Allanis
c37e109ffc [Change] Always mark paths as red when out of fuel. 2014-03-12 19:23:32 +00:00
Allanis
56df183914 [Change] Added round() in font system to try improving the quality of
fonts.
2014-03-11 22:29:34 +00:00
Allanis
9b60974891 [Change] Increased PATH_MAX to POSIX minimum. 2014-03-11 19:09:11 +00:00
Allanis
deb76abd8d [Add] Create ~/.lephisto/conf if not found. Though, leave it empty. 2014-03-10 22:56:34 +00:00
Allanis
37d3e8ec1e [Fix] This may very well solve some of the issues being reported with
displaying text.
2014-03-10 21:05:45 +00:00
Allanis
4003fd7c5f [Change] FFUUUUU!! Do *NOT* call MIX_* functions from callbacks,
especially when locked! Jeezus!
2014-03-10 20:54:40 +00:00
Allanis
25f0e6f9fe [Fix] No longer delete missions if misn.finish() has no params. Should
fix regressions.
2014-03-10 20:21:05 +00:00
Allanis
d1dff03a08 [Fix] Oohhhh sheeeet! I should be moving the bytes not copying it! 2014-03-10 20:17:32 +00:00
Allanis
652ebbb3d0 [Fix] Fixed mission cargo not moving correctly when changing ships. 2014-03-10 19:26:37 +00:00
Allanis
4a4737130b [Add] Doing some checks about refuel button when player loses money in
case she doesn't keep enough.
2014-03-10 18:26:20 +00:00
Allanis
e5f4efc62b [Add] Re-adding warnings if data file version is different to Lephisto's
version.
2014-03-10 18:12:31 +00:00
Allanis
cf9567d79f [Add] Added more price checks. 2014-03-10 18:10:58 +00:00
Allanis
40aa774ff7 [Fix] Properly fixed the valgrind issues without causing more. 2014-03-10 16:48:42 +00:00
Allanis
cc3955c445 [Fix] Should remove the majority of Valgrind errors. 2014-03-10 16:20:56 +00:00
Allanis
e10e6d4bcb [Add] Refuel button should appear more often now. 2014-03-10 15:24:15 +00:00
Allanis
0817a156b9 [Fix] Avoid possible usage of uninitialized data. 2014-03-10 15:01:07 +00:00
Allanis
d71dadfa05 [Change] Change data type to unsigned int for prices rather than signed
int.
2014-03-10 14:59:09 +00:00
Allanis
30e89fe1c8 [Add] Added a check for negative prices. 2014-03-10 14:53:46 +00:00
Allanis
15216c7544 [Fix] Fixed a buffer overrun. 2014-03-10 14:51:37 +00:00
Allanis
7ca91311cc [Fix] Should fix empty mission listings. 2014-03-10 01:51:39 +00:00
Allanis
f39f7b3f70 [Fix] Fixed some bugs with the boarding/fuel stealage. 2014-03-10 01:47:17 +00:00
Allanis
4e3c85f369 [Add] Implemented the ability to steal fuel from ships. 2014-03-10 01:40:46 +00:00
Allanis
9a4b745939 [Change] Tweaked the boarding messages and chances somewhat. 2014-03-10 01:17:33 +00:00
Allanis
91f851870c [Add] Began adding first stages of options menu.
[Change] Updated TODO.
[Change] Made --help options a little more explicit.
[Remove] Removed warning about differing Lephisto data between versions.
2014-03-10 00:42:46 +00:00
Allanis
1d811a613f [Fix] On the rare occasion, accepting a mission has caused a segfault.
This should sort it out.
2014-03-10 00:14:02 +00:00
Allanis
1ab4ad1b7a [Fix] So, when buying outfits, you may have noticed free cargo space
goes mental! Not anymore! :D
2014-03-10 00:06:24 +00:00
Allanis
c1a85e2e99 [Change] OK. Remove the cargo only when it makes sense, eg.. Player
doesn't have the active mission, or the player died or something.
2014-03-09 23:48:26 +00:00
Allanis
618e1cd9ec [Fix] Force missions to remove cargo properly. 2014-03-09 23:42:39 +00:00
Allanis
b9da0e2588 [Add] Added the new ship class data. 2014-03-09 23:39:03 +00:00
Allanis
99d9327439 [Change] Revamped the ship classes. I've yet to change them in the data files. 2014-03-09 23:23:13 +00:00
Allanis
84220e2ed9 [Change] Inverted zoom in/out. 2014-03-09 21:21:49 +00:00
Allanis
793c69b3f7 [Add] Scrolling looks to be working within lists now. ^.^ 2014-03-09 21:12:46 +00:00
Allanis
1d175199f4 [Add] Nice, scrolling/scrollbar pretty much works in lists now. 2014-03-08 21:36:08 +00:00
Allanis
2f5ca43840 [Change] Cleaned up the scrollbar renderer. 2014-03-08 21:17:27 +00:00
Allanis
bca14a3ab9 [Change] Added more control over fonts. 2014-03-08 01:57:19 +00:00
Allanis
69d3fb1825 [Change] Some more font tweaks. 2014-03-08 01:54:23 +00:00
Allanis
bbf18f5a66 [Fix] Close the info panel if it's open on exit. 2014-03-08 01:46:24 +00:00
Allanis
87ef9e5daa [Change] Seems to make fonts look even better! 2014-03-08 01:44:03 +00:00
Allanis
8471f53cc2 [Change] Cleaned up font stuff somewhat. 2014-03-08 01:38:10 +00:00
Allanis
3e61178e6d [Fix] How has noone even noticed this bug?! It's been in there since..
forever.

You can no longer open the information panel twise.
2014-03-08 01:20:17 +00:00
Allanis
79aaac64ad [Fix] Sh*t! Fixed game not saving. 2014-03-08 01:17:47 +00:00
Allanis
01b18c722e [Change] Give a nicer warning if the data file isn't found. 2014-03-08 01:15:51 +00:00
Allanis
d6e2018e4b [Change] If ldata isn't found, try to be a bit more robust in finding it
yah?!
2014-03-08 01:13:34 +00:00
Allanis
b73a332952 [Add] Allow reading ldata-version by default. 2014-03-08 00:57:24 +00:00
Allanis
e52307ce0a [Fix] Limiting speed on dumb weapons so the don't "hyperspace". 2014-03-08 00:14:49 +00:00
Allanis
5de9171093 [fixes #2] Greatly increased font quality! 2014-03-07 23:51:58 +00:00
Allanis
9bb41430e6 [Fix] Holy Cow! Faction standing was continuall decreasing.. WTF! 2014-03-07 23:46:44 +00:00
Allanis
c2f7a28d79 [Remove] Removed a warning when attempting to sell a currently active
secondary weapon.
2014-03-07 23:39:34 +00:00
Allanis
d358bff1e4 [Fix] Removed more possible seg faults. 2014-03-07 23:35:52 +00:00
Allanis
108d4f1c72 [Fix] Killed chances of possible seg fault. 2014-03-07 23:23:55 +00:00
Allanis
da162afe0d [Fix] Fixed bug with cargo getting reset when trying to change ships. 2014-03-07 21:48:52 +00:00
Allanis
ccb2be36c1 [Change] Sanitized dealing with mission cargo somewhat. 2014-03-07 21:45:54 +00:00
Allanis
88f339845c [Change] Tweaked faction gain. 2014-03-07 20:38:48 +00:00
Allanis
c060057574 [Fix] Fixed your shipyard information getting cut off. 2014-03-07 20:20:45 +00:00
Allanis
e224366ce6 [Add] Clean up pilot hooks when freeing pilot.
[Remove] Removed unused jump hook for player that collided with pilot
hook.
2014-03-07 19:49:13 +00:00
Allanis
da98ff806d [Fix] Ignore weird collisions in lines. 2014-03-07 19:35:09 +00:00
Allanis
f0f3f1bfc4 [Fix] Closing menus first before running hooks on new game so that dialogues seem in game. 2014-03-07 19:23:25 +00:00
Allanis
ff11ba3cc8 [Add] Added full tutorial and fixed a few mission bugs. 2014-03-06 23:43:26 +00:00
Allanis
8038ce5dc3 [Add] More FSAA awareness. 2014-03-06 16:16:58 +00:00
Allanis
a6fe5f8a2d [Add] Added support for FSAA. 2014-03-06 04:59:02 +00:00
Allanis
25aa3e905f [Fix] Minor flag bug and small menu no longer opens over dialogues. 2014-03-06 04:38:04 +00:00
Allanis
a5d0c513e2 [Fix] Some more freetype include problems that will screw up for others. 2014-03-06 02:42:02 +00:00
Allanis
071fa6a7b8 [Fix] Urgh... Stop calling for freetype locally plox. kthxbai. 2014-03-06 02:37:40 +00:00
Allanis
88b9c1a48a [Add] Added intro music. 2014-03-06 01:59:13 +00:00
Allanis
5af179ffaa [Add] Exposed some more music functionality. 2014-03-05 22:46:50 +00:00
Allanis
9bbf9e748e [Add] Reset some GUI variables when creating a new game. 2014-03-05 22:04:00 +00:00
Allanis
996be96757 [Add] Allow Lua booleans in conf booleans. 2014-03-05 21:57:51 +00:00
Allanis
a2a39158ac [Change] If AA_LINE is enabled, smooth hyperspace lines. 2014-03-04 03:07:58 +00:00
Allanis
406e3363f1 [Fix] Fixed the disappearence of outfit prices. 2014-03-04 02:48:58 +00:00
Allanis
f710c216b5 [Add] A few more checks added to weapon.c 2014-03-04 02:46:47 +00:00
Allanis
5fd278a859 [Change] Tweaked dialogue behaviour a bit. 2014-03-04 02:36:06 +00:00
Allanis
a4b17c561c [Change] Use desktops resolution if fullscreen mode is set without specifying dimensions. 2014-03-04 02:25:08 +00:00
Allanis
169e9da1aa [Add] New Lua bindings. 2014-03-04 02:12:13 +00:00
Allanis
b510a53309 [Fix] I'm a retard! That is all. 2014-03-04 01:16:03 +00:00
Allanis
642718f012 Merge branch 'master' into dev 2014-03-04 01:02:30 +00:00
Allanis
9923b79684 [Change] Start out with 0. offset so text appears sooner. 2014-03-04 01:01:55 +00:00
Allanis
c762fe278d [Fix] Hm.. Fixed an issue with mission timers. 2014-03-04 00:55:22 +00:00
Allanis
401ea9b4e5 [Add] Now you can define start mission in start.xml, also began initial tutorial level. 2014-03-04 00:53:04 +00:00
Allanis
cccb8cbff3 [Fix] Fixed some font regressions. 2014-03-04 00:34:44 +00:00
Allanis
4d3dfd5637 [Fix] Fixed possible key repeat blocking. 2014-03-04 00:31:04 +00:00
Allanis
e9276b5704 [Add] Added introductory text. 2014-03-04 00:19:56 +00:00
Allanis
3b3450213a [Change] No idea why I even made them while(1) in the first place.. 2014-02-11 05:02:57 +00:00
Allanis
5fcf3bbc92 [Change] Extracted some more common font code. 2014-02-11 04:18:03 +00:00
Allanis
a82f431cd4 [Fix] Fixed shipyard text description dimensions. 2014-02-09 15:55:37 +00:00
Allanis
b39876bb2b [Change] Unified some font stuff. 2014-02-09 15:52:03 +00:00
Allanis
81dac26e29 Fixed warning regarding loading the load screen texture 2014-02-02 20:08:28 +00:00
Allanis
9b67305893 [Add] Implemented some cross platform solutions. 2014-02-02 20:05:02 +00:00
Allanis
099e1ba251 [Change] Using remove() as apposed to unlink() for portability. 2014-02-02 19:54:37 +00:00
Allanis
45333c33d5 [Add] Actually use the new loading graphics. 2014-02-02 19:49:56 +00:00
Allanis
35d03bbbd1 [Change] Can only bribe each pilot once. 2014-01-28 18:53:00 +00:00
Allanis
fb8c13495d [Add] Gave AI customizable bribe messages. 2014-01-27 15:02:00 +00:00
Allanis
9cf2f1c9e9 [Fix] Fixed accidental flag overlap. 2014-01-26 19:12:13 +00:00
Allanis
cf1520b304 [Fix] Fixed some rough edges around bribing and communication in general. 2014-01-26 19:10:23 +00:00
Allanis
37d61803d7 [Add] Added math lib to basic llua. 2014-01-25 19:29:42 +00:00
Allanis
63e2bb55b0 [Add] Implemented bribing. 2014-01-24 21:57:01 +00:00
Allanis
eee760f411 [Fix] Fixed major bugs in flag usage and also weapon_hit stuff. 2014-01-23 23:05:05 +00:00
Allanis
84b20c9bd3 [Fix] Fixed ai.relvel(). Also introduced dot product function. 2014-01-22 17:31:36 +00:00
Allanis
deeea15889 [Change] Only have ai land once. 2014-01-22 15:38:19 +00:00
Allanis
fadd885c80 [Fix] No longer seg fault when player dies and enemies keep on kicking each others ass. 2014-01-22 15:32:30 +00:00
Allanis
19292edd68 [Change] Improved AI's secondary weapon handling. 2014-01-22 15:26:42 +00:00
Allanis
ad5f1d4464 [Fix] Uhm, fix the bug introduced displaying weapon name. 2014-01-21 20:11:27 +00:00
Allanis
b426a77758 [Change] Minimize data usage. 2014-01-21 20:09:47 +00:00
Allanis
0c1f50a2ff [Change] Improved outfit loading somewhat. 2014-01-21 20:07:29 +00:00
Allanis
20244a585d [Add] Major additions to communication panel. 2014-01-20 23:34:44 +00:00
Allanis
be74e72b26 [Change] Everything is now conforming with major toolkit changes. 2014-01-19 21:01:49 +00:00
Allanis
8ec77ccd2a [Change] More toolkit changes. This time in map. 2014-01-18 01:25:00 +00:00
Allanis
c132caba67 [Change] Finished bringing land dialogue stuff inline with new toolkit changes. 2014-01-15 17:21:16 +00:00
Allanis
597091c929 [Change] Fetched part of land.c stuff inline with new toolkit changes. 2014-01-15 01:11:10 +00:00
Allanis
4503785b1a [Change] Bringing dialogue stuff inline with rest of toolkit changes. 2014-01-14 20:33:21 +00:00
Allanis
66e1be552e [Change] Slowly bringing all the other toolkit stuff inline. 2014-01-14 00:00:30 +00:00
Allanis
49bed575a5 [Change] Bringing communication system inline with new toolkit changes. 2014-01-13 00:32:10 +00:00
Allanis
b4c29d1157 [Change] Major toolkit change to simplify things a lot, makes it more "object orientated" 2014-01-11 23:16:08 +00:00
Allanis
7893d5e0ec [Add] Added a ton more vital tasks that need doing before demo release. Also cleaned up a little. 2014-01-10 20:14:54 +00:00
Allanis
8573aa30ba [Add] Implemented loading bar for nebulae. 2014-01-09 02:43:37 +00:00
Allanis
378f924366 [Add] Fancy ass loading screen. 2014-01-07 20:35:17 +00:00
Allanis
cc580f9b7a [Fix] Clean up unidiffs when they fail to apply properly. 2014-01-06 20:08:18 +00:00
Allanis
0dd49b7f5b [Fix] Fixed mem leak. 2014-01-06 19:53:29 +00:00
Allanis
5518f0c390 [Change] AI now takes into account relative velocities. 2014-01-06 19:49:43 +00:00
Allanis
5fe30d3a3b [Change] Tweaked obolete transportationPrice to be more realistic with masses. 2014-01-06 18:58:33 +00:00
Allanis
5a0f5ff145 [Fix] Corrected selecting hyperspace in map not updating window. 2014-01-06 18:56:24 +00:00
Allanis
239f42bb85 [Remove] Removed the disgusting TYPE_PTR from ai. 2014-01-05 21:32:25 +00:00
Allanis
e57ac297d2 [Fix] Removed some unused variables. 2014-01-05 20:46:42 +00:00
Allanis
3b64a6984f [Change] Buttons with NULL function are now disabled by default. 2014-01-05 20:44:42 +00:00
Allanis
8c4a7a045a [Fix] Fixed some valgrind errors. 2014-01-05 20:40:58 +00:00
Allanis
014b71e8d6 [Add] Added target_prev keybind. 2014-01-04 15:33:18 +00:00
Allanis
6575eace2b [Change] Balanced the Lua conf stack. 2014-01-03 01:13:05 +00:00
Allanis
73b034d1ec [Add] Added communication framework allowing you to interact with other pilots/planets. 2014-01-01 21:44:00 +00:00
Allanis
1e07c0e973 [Add] Support for defining your own data path in the makefile. 2014-01-01 01:08:40 +00:00
Allanis
708e7ff49f [Change] Tweaked entire hyperspace distance system to be more sane. 2014-01-01 01:03:09 +00:00
Allanis
3ab5bb9313 [Change] Renamed data file from data -> ldata. 2013-12-31 19:00:55 +00:00
Allanis
a1a1a38436 [Add] Tweaked input settings a little. 2013-12-31 18:44:13 +00:00
Allanis
fae31ac95f [Fix] Map will now always close on new/load game. 2013-12-31 18:38:38 +00:00
Allanis
9a60a3d062 [Add] Can now cycle systems with 'h' in map. [Fix] Cannot open map while dead. 2013-12-31 18:33:58 +00:00
Allanis
9539e22d8b [Change] Faction and combat ratings are now continuous. 2013-12-31 17:38:02 +00:00
Allanis
2fc902b90b [Fix] Fixed seg fault when trying to land in a system with no planets. 2013-12-31 06:21:26 +00:00
Allanis
dc3bf1292c [Add] Added escort control ai Lua bindings. 2013-12-31 06:08:01 +00:00
Allanis
01a9ae0513 [Change] Cleaned makefile up a fair bit. 2013-12-31 05:42:27 +00:00
Steven Arnow
1f6c84c17a This, apparently, makes all valgrind errors go away 2013-12-31 06:11:14 +01:00
Allanis
6322d7675d [Add] Clear the escorts on hyperspace (should prevent it from eventually bloating). 2013-12-31 04:48:55 +00:00
Allanis
584e97b0b7 [Add] Applied some minimum docking requirements. 2013-12-31 04:31:20 +00:00
Allanis
3a87ce36ff [Fix] Fixed some escort ai issues, also allowed for fighters to return to ship. 2013-12-31 04:28:05 +00:00
Allanis
843067a0f3 [Add] Escorts and fighter bays are starting to work quite nicely. 2013-12-31 04:01:11 +00:00
Allanis
1411001943 [Fix] Fixed double free. 2013-12-31 03:40:24 +00:00
Allanis
74719f2cbd [Fix] Fixed linked list for sound, was hanging the entire thing.. 2013-12-31 03:28:20 +00:00
Allanis
b26a1ca968 [Fix] Fixed god damn ai! 2013-12-31 03:07:05 +00:00
Allanis
8047f198e9 [Add] Escorts kinda work. 2013-12-31 00:08:23 +00:00
Allanis
8aaba0be4c [Add] Added a ton more escort stuff. 2013-12-30 21:51:59 +00:00
Allanis
febcfdbbb5 [Remove] Eradicated some useless target parameters. 2013-12-29 22:46:12 +00:00
Allanis
8b0fbb8772 [Change] Moving to target on pilot structure. 2013-12-29 22:13:28 +00:00
Allanis
4e1fee762b [Add] Autonav now makes engine noises. 2013-12-28 23:48:34 +00:00
Allanis
97944d44b3 [Change] Polished autonav system a bit more. 2013-12-28 23:06:52 +00:00
Allanis
75e438a98f [Fix] Fixed segfaults with new ai system. 2013-12-28 22:50:48 +00:00
Allanis
89b297887c [Change] Cleaned up input stuff. 2013-12-28 22:49:29 +00:00
Allanis
7db6ad52f9 [Add] Allow for passing parameters to pilot ai on creation. 2013-12-28 16:49:56 +00:00
Allanis
d1c1619e88 [Fix] Fixed secondary weapon again.. 2013-12-27 23:19:20 +00:00
Allanis
c9eea49c53 [Add] Support for mod keys in configuration. 2013-12-27 23:17:46 +00:00
Allanis
0914172c53 [Change] Improved the mod state handling and allow two keybindings on the same key. 2013-12-27 23:09:47 +00:00
Allanis
b8991b37df [Fix] Fixed some issues with auto navigation. 2013-12-27 22:55:42 +00:00
Allanis
83ac271657 [Add] Added support for key modifiers. 2013-12-27 13:30:20 +00:00
Allanis
9dbf65947a [Change] Tweaked the positional sound a bit. 2013-12-25 23:18:31 +00:00
Allanis
7534fe3c9d [Add] Add options for enabling vsync. 2013-12-25 00:35:51 +00:00
Allanis
7e2e21c235 [Change] Minor map tweaks. 2013-12-24 00:03:26 +00:00
Allanis
11a96c9b00 [Add] Implemented volatility damage. 2013-12-21 00:45:14 +00:00
Allanis
4771db7276 [Change] Abort hyperspaceing if autonav is aborted during sequence. 2013-12-18 13:53:17 +00:00
Allanis
fe6f5b27ef [Change] Gave afterburn it's own keybind (for joysticks). 2013-12-17 20:12:28 +00:00
Allanis
76b4e35210 [Fix] Check if plural or singular in autonav message. 2013-12-17 11:50:53 +00:00
Allanis
571b801a49 [Add] Added faction metatable to Lua API. 2013-12-16 23:43:31 +00:00
Allanis
751bbbefe8 [Fix] misn.accept() not clearing missions at mission computer. 2013-12-15 17:35:27 +00:00
Allanis
389a7b5746 [Change] Some corrections for rendering weapons with delta time. 2013-12-15 17:30:50 +00:00
Allanis
e8257c2555 [Add] Just a minor comment. 2013-12-15 01:18:12 +00:00
Allanis
66028742b5 [Add] ai.shipclass() also added a but more documentation to ai. 2013-12-15 01:16:52 +00:00
Allanis
8ef7082c84 [Add] Gave AI some memory. 2013-12-15 00:30:50 +00:00
Allanis
a782a3c60e [Fix] A few more general fixes. 2013-12-14 23:21:23 +00:00
Allanis
b09adfb92c [Fix] Ton more fixes. F*CK YOU XML! 2013-12-14 23:11:27 +00:00
Allanis
fbdb944f88 [Dunno] A ton of new systems/planets. Added final mission for starting campaign. Fixed a ton of stuff. 2013-12-14 21:30:58 +00:00
Allanis
b9f97f321b [Add] Implemented pilot memory tables. 2013-12-14 15:09:34 +00:00
Allanis
980282f655 [Add] Implementing auto navigation. 2013-12-14 14:58:31 +00:00
Allanis
5cfecb8f81 [Fix] Oops. Accidently gave autonav flag same values as player creation. 2013-12-14 00:46:33 +00:00
Allanis
f26cf7e4e1 [Change] Useing memset for pilot initialization. Also making a start on auto navigation stuff. 2013-12-14 00:45:01 +00:00
Allanis
72781329cb [Add] Actually load the diff library in mission Lua. 2013-12-14 00:11:11 +00:00
Allanis
3ddc034344 [Change] Reduced calls to xmlCleanupParser(), only one for all the loading now. 2013-12-13 03:38:50 +00:00
Allanis
da3cb1dff7 [Fix] Fixed new player inheriting last loaded players faction standings. 2013-12-12 23:22:42 +00:00
Allanis
313e3a7488 [Fix] Fixed diffs getting wiped when loading and some cleanup on planet landing. 2013-12-12 23:14:10 +00:00
Allanis
a2d313a08c [Fix] Fixed pausing game while player is hyperspacing. 2013-12-12 00:44:42 +00:00
Allanis
e4b5f54119 [Add] Check and report failed hunks. 2013-12-12 00:30:51 +00:00
Allanis
27292f1770 [Add] Some commentary so noone else makes the same mistake. 2013-12-11 23:11:22 +00:00
Allanis
4ff23aefc8 [Fix] Fixed diffs not saving correctly. 2013-12-11 23:09:50 +00:00
Allanis
769880c7ac [Remove] Some useless debugs. 2013-12-11 22:59:12 +00:00
Allanis
9a31850ce7 [Add] Actually chance system faction on planet addition/removal. 2013-12-11 22:57:48 +00:00
Allanis
8b1b6e2af0 [Add] Implemented fleet addition and removal! 2013-12-11 22:19:06 +00:00
Allanis
80c45c3067 [Add] Added propper unidiff cleanup. 2013-12-11 20:27:07 +00:00
Allanis
fdd5e930f5 [Add] First release of unidiff - Save changes to the universe in a diff format. 2013-12-10 22:51:00 +00:00
Allanis
b7ddccd309 [Fix] Fixed segmentation fault when system only has one planet with no factions. 2013-12-09 22:18:23 +00:00
Allanis
25660ff7d1 [Change] Everything now conforms to last nights cleanups. 2013-12-09 00:48:32 +00:00
Allanis
5a42e63e4a [Change] Major rewrite of space.c. Let's pray we don't have a ton of bugs. 2013-12-07 22:16:01 +00:00
Allanis
da4b261de7 [Change] Stop firing before starting to jump into hyperspace. 2013-12-06 20:59:24 +00:00
Allanis
4176b20749 [Add] Allow missions to interact with music subsystem. 2013-12-06 20:52:35 +00:00
Allanis
153f99553f [Fix] Some more fine tuning on missions. 2013-12-05 00:40:48 +00:00
Allanis
ad12c52cd0 [Add] Fourth mission in tutorial campaign. Also fixed a few bugs preventing campaign form working. 2013-12-04 22:04:05 +00:00
Allanis
fc1215e4ad [Fix] Fixed a few sound issues that have been around for some time. 2013-12-01 23:42:18 +00:00
Allanis
2f2143742a [Change] Let's also grey out secondary weapon when we are out of ammo. 2013-11-30 22:10:05 +00:00
Allanis
11bbd0854f [Change] Secondary weapon greys out when you can't use it again. 2013-11-29 20:55:41 +00:00
Allanis
66c0ef8d9f [Add] noidle state. 2013-11-28 02:46:45 +00:00
Allanis
8716d14016 [Add] Let's catch SIGTRAP too. 2013-11-26 19:32:27 +00:00
Allanis
58ee934426 [Change] Use SIGTRAP instead of assert for blowing up on errors. 2013-11-26 19:27:34 +00:00
Allanis
2a69789a24 [Add] Automagically give backtraces in DEBUG mode. 2013-11-26 18:23:50 +00:00
Allanis
39c7a4ecd5 [Fix?] Finally think I fixed it. The dialogue was being called when the weapons were being updated (hook on death) and the main_loop was being handled before the loop was destroyed. So another iteration of weapon_update was being run in the middle of the first one, causing a double weapon_destroy to be triggered. Moving the main_loop() in secondary_loop to the top so that the loop condition is run right after the event handling will solve this as an iteration won't be run in between dialogues. 2013-11-26 16:03:17 +00:00
Allanis
96587aac90 [Fix?] I think this might do it? 2013-11-26 15:55:42 +00:00
Allanis
03f20c5a25 [Fix?] Need second check to avoid segfault.. 2013-11-26 15:51:34 +00:00
Allanis
c8fe8e8eb8 [Fix?] Continue in switch case doesn't behave as I thought it did..... 2013-11-26 15:49:34 +00:00
Allanis
29f58fe1e4 [Fix?] FFS! Trying to delete a weapon that doesn't even exist! 2013-11-26 15:43:28 +00:00
Allanis
3fc6514861 [Fix] Bug in weapon system timers. 2013-11-26 15:36:27 +00:00
Allanis
01243e12e3 [Add] Lua logic for traders. 2013-11-26 15:07:41 +00:00
Allanis
6c4983120d [Fix] Segfault when having active missions. 2013-11-25 15:51:24 +00:00
Allanis
05b1d19e55 [Add] Added explosions, only being used on deaths right now. 2013-11-24 21:56:40 +00:00
Allanis
4e054e3cf4 Merge branch 'master' of github.com:Allanis/Lephisto 2013-11-23 22:44:02 +00:00
Allanis
b172453841 [Fix] Slight bug with loading mission variables. 2013-11-23 22:43:31 +00:00
Allanis
f626ac2ac6 [Fix] 32 bit compiler warnings. 2013-11-23 14:18:01 +00:00
Allanis
b831e311e6 [Change] Disable sound and music if fail to initiailize. [Add] Warn if SDL_Mixer version differs. 2013-11-23 02:23:13 +00:00
Allanis
e5d50254d2 [Add] Spit out warning if SDL major/minor versions differ. 2013-11-23 01:50:30 +00:00
Allanis
4eca6815bc [Add] Cute feature, game doesn't pause with death menu. 2013-11-21 12:55:04 +00:00
Allanis
1edbf5b944 [Add] Pilot:setFaction() added to Lua API. 2013-11-20 23:07:42 +00:00
Allanis
4038b56ac6 [Change] misn.timerStart() now uses milliseconds. 2013-11-20 22:57:51 +00:00
Allanis
0c238662c2 [Add] player.getPilot() to Lua API. 2013-11-20 20:56:38 +00:00
Allanis
47a8efa9ee [Add] Pilot:alive() and Pilot:broadcast() to Lua API. 2013-11-19 21:51:04 +00:00
Allanis
7344f88916 [Change] Apparently you can't have two parameters in __add, so made add synonymous (same with __sub). 2013-11-19 21:26:57 +00:00
Allanis
67cd35faa5 [Add] Function to get the player, for usage in mission stuff. 2013-11-19 21:24:19 +00:00
Allanis
4af334e5e4 [Fix] Mission timers should save and load properly now. 2013-11-18 23:30:16 +00:00
Allanis
6ad8d75d2d [Add] Mission timers added. 2013-11-17 14:58:33 +00:00
Allanis
1becd0d68a [Change] When creating a new pilot with pilot.add(), pretend to enter from hyperspace if we have a large distance from planet. 2013-11-17 14:28:03 +00:00
Allanis
87771ab892 [Fix] Pilot boarding hooks fixed. 2013-11-17 05:56:36 +00:00
Allanis
5d17f0e31d [Add] Added Planet:pos() and Vec2:dist() plus much more. 2013-11-17 02:55:03 +00:00
Allanis
ef19939647 [Add] Pilots can now have up to four hooks at any given time. 2013-11-16 20:13:31 +00:00
Allanis
2489949d30 [Fix] Clear velocity when doing Pilot:warp() 2013-11-16 19:10:32 +00:00
Allanis
d2067f9274 [Add] Pilots now use metatables. [Change] Moved Lua pilot stuff into it's own file. 2013-11-16 05:20:55 +00:00
Allanis
2f0d0384c1 [Add] pilot.clear() and pilot.togglespawn() to Lua API. 2013-11-14 18:48:04 +00:00
Allanis
c5cab45910 [Add] First 2D vector support for lua. 2013-11-14 05:01:25 +00:00
Allanis
49c1bd5b4e [Change] Removed dependancy of the spawn_timer on SDL_GetTicks(). 2013-11-13 02:42:23 +00:00
Allanis
a42c21da4e [Add] Pilot "jump" hook. 2013-11-12 00:42:31 +00:00
Allanis
5a87b2da77 [Change] MAJOR AI rehaul, split all the lua stuff into generic templates.
[Add] Bomber attack routines.
[Fix] Bug with AI forgetting about you if another enemy attacks.
2013-11-10 05:03:59 +00:00
Allanis
0d569ecc54 [Add] Improved ai.secondary to actually take ammo into account. 2013-11-09 05:49:03 +00:00
Allanis
9c2e35c472 [Add] pilot_getAmmo. 2013-11-09 00:23:57 +00:00
Allanis
e829e71347 [Change] Made ship_classFromString non-static. 2013-11-09 00:18:41 +00:00
Allanis
29ba80afba [Change] control_rate is now defined as a float. 2013-11-09 00:02:06 +00:00
Allanis
7bf8d63e00 [Add] Commodity land mission checks. 2013-11-07 23:10:01 +00:00
Allanis
4b64b1c185 [Add] Allow for faction logo's to be displayed. 2013-11-05 23:50:09 +00:00
Allanis
4b5f11ae28 [Add] Documented specail effects. 2013-11-01 19:27:18 +00:00
Allanis
9c9a7e07ca [Fix] Remove the outfit when you run out of ammo. 2013-10-30 21:50:44 +00:00
Allanis
18e4d9088c [Fix] Silly mistake in image array scrolling. 2013-10-29 20:44:34 +00:00
Allanis
9699b0ed10 [Add] Players shipyard now follows same style as noraml shipyard. 2013-10-28 14:53:05 +00:00
Allanis
3877884730 [Fix] Image arrays going out of sync. 2013-10-28 14:33:05 +00:00
Allanis
ca292cf791 [Add] Use image array for shipyard and made toolkit_getList apply to image array. 2013-10-27 16:00:23 +00:00
Allanis
ea6df25b0c [Change] outfit_getTech returns outfits instead of names. 2013-10-26 20:52:36 +01:00
Allanis
e955b58817 [Add] Significant inprovements to imageArray, including scrollwheel functionality. 2013-10-26 01:11:02 +01:00
Allanis
88c40143c2 [Add] Added image arrays to toolkit. 2013-10-25 01:51:23 +01:00
Allanis
3ffc858863 [Add] Documented Nebulae stuff. 2013-10-24 00:34:08 +01:00
Allanis
435be644cf [Fix] Few corrections in documentation. 2013-10-22 18:54:30 +01:00
Allanis
6764a1c424 [Add] Documented Player. 2013-10-22 18:42:17 +01:00
Allanis
2533dd816f [Add] Documented opengl stuff. 2013-10-22 18:29:07 +01:00
Allanis
3347a8b7cc [Add] Documented outfits. 2013-10-21 22:38:11 +01:00
Allanis
8d6160244d [Add] Documented menus. 2013-10-20 19:54:23 +01:00
Allanis
e70bfacdcd [Add] Documented weapons. [Fix] Input dialogues. 2013-10-20 18:24:03 +01:00
Allanis
d4b945aca7 [Add] Documented glColour. 2013-10-20 17:43:46 +01:00
Allanis
8fa9b389b1 [Add] Documentation for fonts. 2013-10-19 23:14:06 +01:00
Allanis
93fd1eef4d [Add] Player can abort hyperspaec jump sequence. 2013-10-15 23:38:49 +01:00
Allanis
2fdeecaefa [Fix] NAV computer should always be green when in hyperspace mode. 2013-10-15 00:44:21 +01:00
Allanis
a3f791e52f [Change] Tweaked fleet adding a little so it seems more natural. 2013-10-15 00:31:55 +01:00
Allanis
8198a2db77 [Add] Documentation for lfile.c 2013-10-12 18:33:55 +01:00
Allanis
673b83ea6a [Add] More doxygen along with some slight code cleaup. 2013-10-11 23:02:39 +01:00
Allanis
833283add0 [Add] Documentation for random number generations. 2013-10-10 20:34:58 +01:00
Allanis
8feb19e20c [Add] Pilots sort of start as landed. 2013-10-09 22:16:28 +01:00
Allanis
c2d4f39a72 [Add] Ships now have human readable class strings instead of numbers. 2013-10-08 19:34:48 +01:00
Allanis
b748f0f18e [Change] Seperated dialogues from toolkit. 2013-10-05 18:38:40 +01:00
Allanis
898b44b29d [Fix] Should compile in non-debug mode again. 2013-10-04 17:30:21 +01:00
Allanis
0231017e57 [Fix] Some long time snprintf mistakes. 2013-10-04 17:03:48 +01:00
Allanis
652d9352ad [Add] Qtcreator project support for the IDE users of the world. 2013-10-04 16:34:34 +01:00
Allanis
69b05ae150 [Change] No point playing sound for entering hyperspace range when already jumping. 2013-10-04 01:36:52 +01:00
Allanis
89fd3509e9 [Add] OHHHHHH YEAAAAHHHHH!!! You can sell your ships now ladies! 2013-10-04 01:34:05 +01:00
Allanis
e2b8e738f5 [Add] Sanity check to spfx_add() 2013-10-04 01:08:53 +01:00
Allanis
4cac5ba5b2 [Add] Beam weapons require spfx and proper spfx usage. 2013-10-04 01:07:12 +01:00
Allanis
1177685e62 [Fix] Beam stops moving if enemy got destroyed. 2013-10-04 00:02:33 +01:00
Allanis
4340b8042c [Change] Tweaked beam aggro chance somewhat. 2013-10-03 01:17:11 +01:00
Allanis
0ae6b8cecd [Fix] Killed startup warning about missing 'turn' element on non-turret beams. 2013-10-03 01:15:08 +01:00
Allanis
566e96505f [Add] Display sound driver on init plox. 2013-10-03 01:11:08 +01:00
Allanis
2cade50bc9 [Fix] Possible race condition and improved sound_exit correctness. 2013-10-03 01:08:38 +01:00
Allanis
62f7986459 [Change] Make the start of beam not be so abrupt. 2013-10-03 01:01:39 +01:00
Allanis
5bf8a0b689 [Add] Sound should be fully positional now. 2013-10-02 01:17:01 +01:00
Allanis
cc34292293 [Add] Actively ask for doublebuffering. 2013-10-01 22:26:51 +01:00
Allanis
ebdfaad9a7 [Add] Improved sound system considerably, not used properly yet. 2013-10-01 22:12:39 +01:00
Allanis
810e4afb28 [Fix] Just a few lame typos. 2013-10-01 00:13:03 +01:00
Allanis
6dd9de9835 [Fix] Some obscure bugs like not being able to shoot secondary weapons right away. 2013-09-30 22:43:33 +01:00
Allanis
090bcb96c8 [Add] You can now cancel beams as secondary weapon instead of having to hold shift. 2013-09-30 22:34:46 +01:00
Allanis
4d8b462359 [Add] First round to bring more control to beam weapons. 2013-09-30 22:29:53 +01:00
Allanis
70d4987a00 [Add] starting to add sound for beam weapons. Sound system could do with an overhaul tbh. 2013-09-29 21:25:59 +01:00
Allanis
1a03c08672 [Add] Documented joystick.c 2013-09-29 01:29:43 +01:00
Allanis
8516b33391 [Add] Beam weapons now render properly. 2013-09-25 20:45:14 +01:00
Allanis
f2144b1053 [Change] Fewer explosions with beam weapons. 2013-09-24 23:31:44 +01:00
Allanis
55bb07c560 [Add] More improvements for beam turrets, they also use energy properly now.
[Add] New outfit: Ragnorak beam.
2013-09-24 22:22:41 +01:00
Allanis
5832239b74 [Change] Render spfx in reverse order. 2013-09-24 21:35:24 +01:00
Allanis
71ab2d863f [Add] Added outfit states and beam hit function. Also added compile option for clang. 2013-09-23 22:59:01 +01:00
Allanis
06ea30d96e [Add] Beam weapons now use delay and duration. 2013-09-23 21:04:56 +01:00
Allanis
7030d97402 [Change] Some cleaning up and more documentation of outfit.* 2013-09-23 20:58:55 +01:00
Allanis
f0336e14af [Change] Improved some of the shooting handling. 2013-09-23 20:28:12 +01:00
Allanis
81fd657540 [Add] Documented board.c 2013-09-22 16:24:33 +01:00
Allanis
4674fe7248 [Add] Documented faction.c 2013-09-22 16:07:44 +01:00