Commit Graph

625 Commits

Author SHA1 Message Date
Allanis
ca675db52e [Change] Simply made a few things power of two. 2013-05-17 01:16:29 +01:00
Allanis
052c40897c [Add] Mods can now add cargo. Fixed rmOutfit bug. 2013-05-17 01:13:27 +01:00
Allanis
6ec1a2a407 [Add] Hellz yeah!! You can refuel when low now. 2013-05-16 21:47:04 +01:00
Allanis
d2da1f6df3 [Fix] Seg fault with map. 2013-05-16 21:31:39 +01:00
Allanis
709c611a20 [Add] Fuel info to ship information panel. 2013-05-16 21:26:17 +01:00
Allanis
960017f2f9 [Add] Fuel is now used ingame. 2013-05-16 19:25:56 +01:00
Allanis
b4d3bb72a8 [Fix] Silly map bug. 2013-05-16 19:18:12 +01:00
Allanis
25adf125e4 [Change] Preparations for adding fuel. 2013-05-16 19:15:00 +01:00
Allanis
5f2f57f6ee [Change] Some more minor cleanup that noone cares about. 2013-05-16 15:59:46 +01:00
Allanis
54cd8f90a1 [Add] Change dimensions from commandline. 2013-05-16 15:44:25 +01:00
Allanis
0815682bfc [Fix] Slight plasma fractal issue. 2013-05-16 15:35:57 +01:00
Allanis
856ea04d8d [Add] Prompt before overwriting pilot's save. 2013-05-16 15:18:12 +01:00
Allanis
2034a02f74 [Fix] *Mutters something about macro hell.* 2013-05-16 00:57:05 +01:00
Allanis
6552fc2cf2 [Change] Some openGL cleanup. 2013-05-16 00:09:39 +01:00
Allanis
8f7ec2fa09 [Add] Finally added opengl error checking in DEBUG builds. 2013-05-15 23:22:39 +01:00
Allanis
bd6281692b [Fix] Fullscreen: double free (someone should have told me not to free the ListModes :/ 2013-05-15 23:02:58 +01:00
Allanis
c4ede9fcce [Add] Check for shaders (not used yet). 2013-05-15 23:01:16 +01:00
Allanis
2f3cae5b6b [Fix] Fonts: off by one memory issue. 2013-05-15 22:39:11 +01:00
Allanis
1f5c05ac77 [Change] It's about time I optimised space_render. 2013-05-15 22:36:10 +01:00
Allanis
7b509e4e08 [Change] Save when taking off or quitting, instead of when landing as we need to save purchased ships etc. 2013-05-15 22:02:27 +01:00
Allanis
c1058cb7a5 [Fix] Mem leak: What if there is no files to load in load menu? 2013-05-15 21:57:37 +01:00
Allanis
46dfa4a8c3 [Add] You can now save and partially load games (mission is data is lost). 2013-05-15 21:53:03 +01:00
Allanis
2e7a2b6e18 [Add] More bindings ingame to avoid seg faults. 2013-05-15 21:19:59 +01:00
Allanis
4bcf431d31 [Add] Save version in savegame. 2013-05-15 21:16:00 +01:00
Allanis
3e51896bc1 [Fix] Screenshots save in home directory now as apposed to project directory. 2013-05-14 22:37:30 +01:00
Allanis
3f0faf7983 [Fix] Silly bug in Lephisto filesystem. 2013-05-14 22:34:05 +01:00
Allanis
fbcbea050d [Change] Might be an idea to gray out sell button when no outfits are available. 2013-05-14 22:26:15 +01:00
Allanis
b791a6e7dc [Add] Filesystem abstraction and path based stuff. 2013-05-14 22:16:10 +01:00
Allanis
c51612d764 [Add] Linux specific stuff for saving. 2013-05-14 21:39:00 +01:00
Allanis
a741250073 [Add] You can kinda load games, still need to fix some issues. 2013-05-11 20:59:12 +01:00
Allanis
92c7d549f0 [Change] Cleaned up a little XML parsing stuff. 2013-05-11 16:33:29 +01:00
Allanis
32adddc8d0 [Add] Save the completed missions. 2013-05-11 16:27:35 +01:00
Allanis
9c1a094f36 [Add] Save player variables. 2013-05-11 16:23:45 +01:00
Allanis
bc935960f8 [Fix] Annoying ass bug with mission disappearing when no cargo space left. 2013-05-09 18:15:56 +01:00
Allanis
95ee7852de [Change] Cosmetic GUI fixes. 2013-05-08 22:08:24 +01:00
Allanis
18b57ff29b [Fix] <blushes> Bugz. 2013-05-08 20:25:22 +01:00
Allanis
fa7138f907 [Fix] Couple bugs with saving. 2013-05-08 20:11:38 +01:00
Allanis
bb48d5ac23 [Add] Missions save code. Global save functions. 2013-05-08 19:45:38 +01:00
Allanis
e5620f86eb [Add] First commit of Lephisto save stuff. 2013-05-08 19:12:01 +01:00
Allanis
c609780acc [Add] Improved xml #define magic stuff. 2013-05-08 18:49:24 +01:00
Allanis
1bec93918e [Add] Few additions to lua mission wrappers ready for a new type of mission. 2013-05-06 23:18:36 +01:00
Allanis
f81016feed [Fix] I should have taken a career in bug extermination. 2013-05-06 21:57:27 +01:00
Allanis
1c9bc7ed9d [Add] Missions can now add fleets. 2013-05-06 17:14:32 +01:00
Allanis
c769e71c72 [Fixing] Y NO WERK!? 2013-05-05 21:07:07 +01:00
Allanis
8e1745bd7a [Add] Implemented pilot hooks with the "death" hook as an example. 2013-05-02 20:46:55 +01:00
Allanis
2e5606b845 [Fix] It's a seldom bug, but this will stop us from exploding while entering into hyperspace. 2013-05-02 20:29:16 +01:00
Allanis
2a76ee4d42 [Change] Improved ltime_pretty and increased time to do rush deliveries. 2013-05-02 20:24:53 +01:00
Allanis
2a502f5426 [Add] First time limit mission. 2013-05-02 20:18:34 +01:00
Allanis
6665424d97 [Add] Couple more commodities. 2013-04-28 09:23:16 +01:00
Allanis
b1ce5c83c6 [Add] You can now visually see the A* system paths now in map. 2013-04-24 18:42:02 +01:00
Allanis
57837e637a [Fix] Probably not the best fix for a mem leak, but eh. 2013-04-24 18:11:06 +01:00
Allanis
d58d3283a4 [Fix] Removed of a warning on 32bit machines. 2013-04-24 18:07:36 +01:00
Allanis
82ee8a41a7 [Add] Cargo missions take into account fright distance. 2013-04-24 18:05:49 +01:00
Allanis
472579aa2a [Add] A* algorithm to get paths between systems. 2013-04-23 22:57:46 +01:00
Allanis
ccb954324c [Change] Maybe that off-by-one thing is sw mesa issues. :s 2013-04-23 22:03:34 +01:00
Allanis
1391fabc65 [Change] Instead of seeding the MT with a bit of random, we use full urandom. 2013-04-23 22:01:18 +01:00
Allanis
ceb96b0f13 [Add] More hooks to mission lua and improved behaviour. 2013-04-22 16:13:58 +01:00
Allanis
3a4115ca5d [Change] Time units. 2013-04-22 14:56:12 +01:00
Allanis
0ab44366ea [Change] Minor map tweak. 2013-04-22 14:53:38 +01:00
Allanis
1e30edbc83 [Add] Date to player info window. 2013-04-22 14:49:42 +01:00
Allanis
5bfb1cb71e [Fix] Some long standing map issues. 2013-04-22 14:46:10 +01:00
Allanis
35bcabdf16 [Add] Using clipping planes on starmap for better results. 2013-04-22 14:30:07 +01:00
Allanis
b156c96662 [Add] Time bindings to mission lua. 2013-04-22 14:10:19 +01:00
Allanis
7c1816aa2b [Add] Time in the form of Galactic Date. 2013-04-22 14:02:15 +01:00
Allanis
5b29539c17 [Change] Make accel speed dependent, not thrust. 2013-04-20 15:30:33 +01:00
Allanis
9e2bda007b [Add] Missions can actually use flags now. 2013-04-20 15:25:40 +01:00
Allanis
209e75bda1 [Fix] Mission var stuff. 2013-04-20 14:58:14 +01:00
Allanis
a6bca29fa1 [Add] Log more verbose, and added a variable stack to missions. 2013-04-20 14:36:23 +01:00
Tamir Atias
f6b0171562 [Add] Code to prevent objects from free'd when they were already freed before. 2013-04-20 01:11:23 +03:00
Allanis
f2c7676846 [Add] Woops, forgot to save file before commiting.... 2013-04-19 20:23:39 +01:00
Allanis
cc9ffd1e60 [Add] Support for mousewheel to zoom in/out of map. 2013-04-19 20:22:04 +01:00
Allanis
839f4e71e5 [Change] Modified plasma fractals a little. 2013-04-13 18:55:24 +01:00
Allanis
ae97cb398c [Add] Ability to figure out where a planet is located. 2013-04-09 21:11:12 +01:00
Allanis
0fbd239680 [Fix] Can't grab a unique mission if it is already running. 2013-04-09 01:20:22 +01:00
Allanis
1b3d884f7e [Add] Unique missions are now actually.. Unique. 2013-04-09 01:14:16 +01:00
Allanis
d77aa5cee8 [Add] Dynamically change width of dialogues msg and yesno if text is long. 2013-04-09 00:36:55 +01:00
Allanis
28e164cfba [Fix] Exterminating the bugs. Sorted invalid char generated with tab escape sequence. 2013-04-09 00:23:47 +01:00
Allanis
6a320a27b1 [Fix] Major issue in how hooks worked, now hackishly sane! 2013-04-09 00:19:08 +01:00
Allanis
3df258229c [Fix] guiy fix, no longet see the 0 in weightless cargo. 2013-04-08 23:43:42 +01:00
Allanis
56ef245ae1 [Fix] Stupid toolkit modifyText. 2013-04-08 23:33:36 +01:00
Allanis
e152d40fb2 [Add] Track cargo missions so they get cleaned on abort. 2013-04-08 23:29:44 +01:00
Allanis
8df3171916 [Add] Pretend to be multilingual for easiar conversion later. [Fix] Allow null on toolkit_modifyText. 2013-04-06 17:56:03 +01:00
Allanis
1c0d0cac11 [Add] Major release: First fancy missions for spaceport bars. 2013-04-06 17:11:35 +01:00
Allanis
83d3fbf07c [Fix] Bug in ze missionz 2013-04-06 15:04:20 +01:00
Allanis
91cce3c8c6 [Add] Introduced getListPos to get the position of the list. 2013-04-06 14:53:49 +01:00
Allanis
07883a8a3b [Add] Gave mission cargo special marker in gui. 2013-04-06 14:10:53 +01:00
Allanis
1d57250606 [Add] Mission tracks cargo and makes sure you have it. 2013-04-06 13:32:19 +01:00
Allanis
8172d0f21f [Add] Introduced concept of mission cargo being un-tradable. 2013-04-05 20:19:27 +01:00
Allanis
7f973d7fe8 [Add] Improved space.getPlanet() mission lua. 2013-04-04 21:24:25 +01:00
Allanis
64f929c1d3 [Add] Missions info window. 2013-04-04 21:04:34 +01:00
Allanis
97bd83e7da [Fix] Small bug fixes. 2013-04-04 18:22:04 +01:00
Allanis
2388dbcef0 [Fix] Did an oops in the last commit. 2013-04-04 18:17:07 +01:00
Allanis
371e5b8aba [Change] Improved lua api for missions somewhat. 2013-04-04 18:15:56 +01:00
Allanis
6f7f889160 [Change] Improved shipyard ui. 2013-04-03 20:36:11 +01:00
Allanis
80ad3081f0 [Fix] Fixed up all the bugs for missions, they are now working. 2013-04-03 20:06:51 +01:00
Allanis
bf6577ccc1 [Fix] Nailed the memory leak and a silly error. 2013-04-03 19:49:05 +01:00
Allanis
67dba8aaeb [Change] Cleanups. 2013-04-03 19:45:49 +01:00
Allanis
3da2a4086b [Fix] toolkit module for lua and accpet mission bug. 2013-04-03 19:38:00 +01:00
Allanis
4f93fba024 [Add] Finally, fixed two horrible ugly ass bugs. 2013-04-03 19:08:42 +01:00
Allanis
75f7c81d1b [Fix] Problem with missions is now sorted. 2013-04-03 18:21:26 +01:00
Allanis
1ef8cbfe44 [Fix] Attempting to kill some seg faults. 2013-04-03 17:24:06 +01:00
Allanis
d9c0459f4b [Change] Some cosmetic changes to Shipyard. 2013-04-03 17:15:40 +01:00
Allanis
1a994d60ad [Add] Option to enable/disable buttons. 2013-04-03 17:02:20 +01:00
Allanis
2233635cdc [Fix] At least mission computer doesn't crash now, right? 2013-04-02 22:11:34 +01:00
Allanis
853a07cf19 [Fix] Proper hook cleanup, tried to impove mission computer a little. 2013-04-02 16:56:52 +01:00
Allanis
4a504e0228 [Fix] And that children, is why you don't C/P your code. 2013-04-01 18:00:59 +01:00
Allanis
2e63c40ef4 [Fix] Fixed up most warnings, there are a couple remaining but they aren't important. 2013-04-01 17:42:14 +01:00
Allanis
68710f9fb5 [Add] View missions at land screen. 2013-04-01 00:23:05 +01:00
Allanis
c45de3044d [Fix] minor mem leak. 2013-03-31 23:44:23 +01:00
Allanis
faff7b2193 [Add] Few more mission functions. Also fixed invalid memory free. 2013-03-31 23:34:06 +01:00
Allanis
6fc39a69e0 [Add] Game now tries to load mission properly, excpet lua needs more bindings. ;) 2013-03-31 19:00:05 +01:00
Allanis
fc0a6776c2 [Add] Load mission factions and such. 2013-03-31 17:46:04 +01:00
Allanis
e58813337b [Fix] Typo. 2013-03-31 16:41:40 +01:00
Allanis
ec860d8296 [Change] Also store alliance as a number, more aux functions for factions. 2013-03-31 16:40:09 +01:00
Allanis
b5bfb19911 [Change] Made the toolkit thingies more flexible in height. 2013-03-31 16:17:43 +01:00
Allanis
a66a9ea264 [Change] Use ids for factions instead of pointers. 2013-03-31 16:12:33 +01:00
Allanis
bcdce29654 [Change] Minor simplificationz. 2013-03-30 23:35:31 +00:00
Allanis
5830d6d2c8 [Add] Missions are loading, not used at the minute. 2013-03-30 23:32:54 +00:00
Allanis
b3e323c353 [Add] Run create function when creating a mission. 2013-03-30 21:53:00 +00:00
Allanis
b565e6e6cb [Add] Give active mission ids and use the ids for removing hooks. 2013-03-30 21:47:27 +00:00
Allanis
cefebd3d2c [Add] Initial hooks support. 2013-03-30 21:37:17 +00:00
Allanis
ccbb8f1c2c [Add] gl_printHeight. 2013-03-30 20:58:52 +00:00
Allanis
0890ce4a2e [Add] Hellz YEAH! Here's some initial plasma fractals, all working and stuff. 2013-03-28 17:20:29 +00:00
Allanis
5cbb97b279 [Add] Mission now uses stack. 2013-03-28 16:29:48 +00:00
Allanis
60e08a9e36 [Add] Initial Mission work. 2013-03-28 15:55:58 +00:00
Allanis
8808864e56 [Add] Now we can use mersenne twister instead of rand(), you are welcome. :) 2013-03-28 13:25:53 +00:00
Allanis
f63605d605 [Change] Some cleanup with loading. 2013-03-26 17:04:42 +00:00
Allanis
2dc53af39c [Change] -v simply displays version and quits. 2013-03-26 16:50:57 +00:00
Allanis
e139172fed [Change] Reverted PID changes and changed headhunter missile to "smart" 2013-03-26 16:48:42 +00:00
Allanis
7ec186bee9 [Add] Trying to work with a PID system for smart missiles. 2013-03-23 21:19:11 +00:00
Allanis
3f042a5793 [Fix] Ship purchase with new dialogue. 2013-03-23 20:33:20 +00:00
Allanis
4904fd5d24 [Add] Dialogue input. 2013-03-23 20:23:15 +00:00
Allanis
79f63662dd [Add] Simple yes/no confirmation dialog. 2013-03-23 19:48:52 +00:00
Allanis
4fead727b4 [Fix] Needs a better fix. But fullscreen is working again! 2013-03-23 03:19:46 +00:00
Allanis
685c960281 [Change] Use player->credits as apposed to player_credits 2013-03-23 01:30:27 +00:00
Allanis
99857ba716 [Add] Can now change ships once purchased more, and also have them transported to another planet. 2013-03-22 23:28:16 +00:00
Allanis
f108df907e [Fix] Finaly think I fixed gl_printText properly!! 2013-03-22 21:12:31 +00:00
Allanis
269de8dcfe [Add] player_getLoc and don't allow player to repeat ship names. 2013-03-22 21:04:25 +00:00
Allanis
8da2cb1299 [Add] You can specify default fptr for windows now. 2013-03-22 20:31:42 +00:00
Allanis
f45ab67dcc [Fix] Long standing segfault when using 'enter' on a button with no trigger. 2013-03-22 20:19:45 +00:00
Allanis
8a1e7133c6 [Add] player_ships and player_getShip to manipulate player ships. 2013-03-22 20:17:16 +00:00
Allanis
fb5cc3cf18 [Fix] Major regression in gl_printText 2013-03-22 19:21:32 +00:00
Allanis
e3618d7559 [Add] Input widget will scoll if full. 2013-03-22 19:18:26 +00:00
Allanis
ab0ecfdede [Change] gl_printText is much more strict on width, with more checking. 2013-03-22 19:12:37 +00:00
Allanis
8c7a38686c [Add] More error checking paranoia. 2013-03-22 19:01:45 +00:00
Allanis
5e68d64085 [Fix] Uninitailized code error. 2013-03-22 18:44:29 +00:00
Allanis
127e76c542 [Fix] minor mem leak. 2013-03-22 18:35:11 +00:00
Allanis
697876409e [Add] Save purchased ships in a stack. Just need to be able to change them. 2013-03-22 13:26:11 +00:00
Allanis
829d24eb79 [Add] pilot_copy function. 2013-03-22 12:48:16 +00:00
Allanis
2b8d4ecd82 [Add] Feel free to name your ship!! 2013-03-22 01:47:57 +00:00