Commit Graph

873 Commits

Author SHA1 Message Date
Allanis
243795e068 [Add] Give errors on unsupported OS code. 2013-07-12 19:11:10 +01:00
Allanis
5ed5cf6b6d [Change] Hardcoded everything to have three dimensions. [perlin noise.] 2013-07-12 19:05:39 +01:00
Allanis
02e8b560fa [Fix] Forgot to give prototype for noise_generateNebulae(). 2013-07-12 17:45:24 +01:00
Allanis
ec6cabf2fe [Add] Some SSE stuff for speedups. 2013-07-11 18:44:37 +01:00
Allanis
1442259c0b [Add] Nebulae generation code. (Not using it at the minute). 2013-07-11 17:43:33 +01:00
Allanis
e4e7bf4b17 [Add] save png method to save a surface to a file as png. 2013-07-11 16:42:18 +01:00
Allanis
4fd8308706 [Change] Moving things around a litting in perling.* I made a little mess. 2013-07-11 16:16:38 +01:00
Allanis
2d1040b703 [Fix] Stupid me, last commit I was checking for a prefix instead of suffix. :/ 2013-07-11 16:01:55 +01:00
Allanis
4c1ee89ffb [Add] Fancy new "cloud" generator. This needs some heavy tweaking/cleanup. 2013-07-10 22:58:31 +01:00
Allanis
b8bafb4700 [Add] More planet functions for ai: ai.getrndplanet() and ai.getlandplanet(). 2013-07-10 19:30:58 +01:00
Allanis
09636a6c90 [Change] Need to run enter and takeoff hooks on load game. 2013-07-10 18:39:16 +01:00
Allanis
abab808387 [Fix] Bug with changing hyperspace path after selecting a route. 2013-07-10 18:32:13 +01:00
Allanis
2ec09b0ee3 [Add] ai.haslockon() to check for locked on missiles. 2013-07-10 18:04:36 +01:00
Allanis
7a6f27da43 [Add] Warn the player when a missile is locked onto her. 2013-07-09 19:03:03 +01:00
Allanis
f7c10bf329 [Add] Pilots now keep track of how many weapons are locked onto them. 2013-07-09 18:53:55 +01:00
Allanis
1f8e6a22fe [Change] Merged together some semi-redundant code in weapon_create. 2013-07-09 17:17:53 +01:00
Allanis
dcf093b13e [Add] Two new hooks: Board and disable. Also made lua debug more verbose. 2013-07-09 16:11:14 +01:00
Allanis
6099849f4f [Fix] A few warnings. 2013-07-08 22:34:19 +01:00
Allanis
c8b99cb35f [Change] Increased AL_GAIN somewhat. 2013-07-08 22:11:21 +01:00
Allanis
23097370db [Fix] Bug with lua files not including include/basic.lua properly. 2013-07-08 21:49:47 +01:00
Allanis
9dfd83abef [Add] New hard to kill ai who's primary objective is to survive. 2013-07-08 20:48:13 +01:00
Allanis
a580cdeed3 [Change] ai.dist() now accepts pilot id's as parameter. 2013-07-07 19:11:14 +01:00
Allanis
ef5a8e5a5f [Fix] Few lua script fixes. 2013-07-06 21:42:29 +01:00
Allanis
19cbc18ff3 [Add] Check for weapon range when running away with turrets. 2013-07-06 20:01:49 +01:00
Allanis
04fc879ac8 [Add] New aquatic (class M) planet and system. Acenu in the Draygar system. 2013-07-06 19:34:45 +01:00
Allanis
10418a5ba9 [Change] Knockback is now dependent on DamageType. 2013-07-06 19:10:34 +01:00
Allanis
698b22a324 [Change] Player no longer "hardcoded" into pilot_stack[0]. 2013-07-06 17:28:26 +01:00
Allanis
715fecfa03 [Change] Missed another /2 in binary pilot search. 2013-07-06 16:44:54 +01:00
Allanis
ab277eabb4 [Change] pilot_free uses memmove. 2013-07-06 16:42:28 +01:00
Allanis
30b6dfed77 [Add] Weapons save their faction and take that into account. 2013-07-06 16:35:42 +01:00
Allanis
71fdcffd07 [Add] Ai now calculates optimal distance when shooting. 2013-07-06 16:28:00 +01:00
Allanis
b7c83b5b24 [Add] -Wunused to CFLAGS. 2013-07-06 15:42:38 +01:00
Allanis
00fbe34b62 [Fix] Bug with unlimited range turret bolts. 2013-07-06 15:34:33 +01:00
Allanis
bbc46d0eef [Fix] Segfault when player dies. 2013-07-06 15:29:01 +01:00
Allanis
7a66419f7c [Fix] Fuel loads properly now. 2013-07-06 14:46:06 +01:00
Allanis
26211ee1f5 [Change] Switched SPFX timers to something more sane. 2013-07-06 13:02:34 +01:00
Allanis
90707480d9 [Change] Swithced weapon timer methods to something a little more sane. 2013-07-05 15:33:07 +01:00
Allanis
8442fd00b4 [Change] TODO updated. 2013-07-04 13:50:29 +01:00
Allanis
830c6e0100 [Add] Stack protector flags to DEBUG build. 2013-07-04 13:48:40 +01:00
Allanis
c464e7d056 [Remove] -fno-inline, potentially harm debug performance with no extra gain. 2013-07-04 13:46:10 +01:00
Allanis
8213cb9f48 [Change] Switched l+(h-l)/2 to (h+l) >> 1 in binary search. 2013-07-04 13:43:24 +01:00
Allanis
19e3e818a4 [Change] Renamed pilots and mpilots to pilot_nstack and pilot_mstack. 2013-07-04 13:33:38 +01:00
Allanis
c20fe36c27 [Change] Place turrets before missiles. 2013-07-03 17:44:55 +01:00
Allanis
8e6e690388 [Change] Outfit_getTech now sorts by type and price. 2013-07-02 13:11:25 +01:00
Allanis
9dc797a8a3 [Add] Just a few more comments. :/ 2013-07-01 19:49:13 +01:00
Allanis
7a03a6f377 [Add] Now all ai include "ai/include/basic.lua" to share attack and runaway functions. 2013-07-01 17:17:14 +01:00
Allanis
203079bcfa [Add] Check for errors when using "include". 2013-06-30 17:19:40 +01:00
Allanis
05fe285d87 [Change] Now load the basic lua stuff. 2013-06-30 17:17:09 +01:00
Allanis
cad5bd932c [Change] No longer calling luaopen directly. 2013-06-30 17:07:06 +01:00
Allanis
d692035039 [Add] Lua wrappers for luaL_newState and luaopen_base. 2013-06-29 17:58:01 +01:00