Commit Graph

1299 Commits

Author SHA1 Message Date
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