Linus Probert
01a3aa59d5
More compiler preproc stuff
2017-12-21 12:41:08 +01:00
Linus Probert
618f28a519
Badges and mingw warnings
2017-12-21 12:35:52 +01:00
Linus Probert
433d907ae8
Problems with max and min in mingw
2017-12-21 12:26:57 +01:00
Linus Probert
3504dfc7d1
MinGW can't build with VS .lib files :P
2017-12-21 12:22:37 +01:00
Linus Probert
42aa1cbe86
Fixed some mingw warnings.
2017-12-21 11:57:12 +01:00
Linus Probert
7862b83cb6
Fixed conflicting mains for mingw build
2017-12-21 11:46:52 +01:00
Linus Probert
f0e7549c65
Create the lua folder in appveyor build
2017-12-21 08:36:46 +01:00
Linus Probert
ca7249e954
Log hits, kills and misses
2017-12-21 08:31:25 +01:00
Linus Probert
2899bb76f1
Fixes fixes fixes
2017-12-20 21:31:57 +01:00
Linus Probert
b46f9e0136
More compile scripts
2017-12-20 21:24:25 +01:00
Linus Probert
cd3985686d
Msg more stuff
2017-12-20 21:14:19 +01:00
Linus Probert
3789fd684f
Let's try it with some ps
2017-12-20 21:12:20 +01:00
Linus Probert
dc641c1d4d
Appveyor
2017-12-20 21:01:22 +01:00
Linus Probert
7613ffc2cb
Another lua appveyor attempt
2017-12-20 20:58:55 +01:00
Linus Probert
143903b101
Minor attempt on fixing lua for appveyor
2017-12-20 20:36:09 +01:00
Linus Probert
f7a6f36928
More indentation issues :(
2017-12-20 20:31:23 +01:00
Linus Probert
15727626cc
Don't think one should mess with yml indentation
2017-12-20 20:29:41 +01:00
Linus Probert
70444c2299
We don't use mixer so don't include it.
...
Also an attempt to download lua with appveyor
2017-12-20 20:26:57 +01:00
Linus Probert
a69d8b2d46
Apparently no mingw in 2017 env on appveyor
2017-12-20 20:15:23 +01:00
Linus Probert
d4fa8b9765
MinGW in appveyor path
2017-12-20 20:11:39 +01:00
Linus Probert
9ede61544f
More appveyor stuff
2017-12-20 20:07:25 +01:00
Linus Probert
3a85647d1c
Removed the mingw thing
2017-12-20 20:01:52 +01:00
Linus Probert
e6c3e0134d
Half-assed attempt on appveyor
2017-12-20 19:58:56 +01:00
Linus Probert
9250dad9ce
Get screen resolution in Windows
2017-12-20 19:17:41 +01:00
Linus Probert
d4fa9f89d6
Fixed a massive error in hashtable.
...
Compile on windows now works fine.
2017-12-20 18:56:28 +01:00
Linus Probert
c128a5dc39
Cleaner sprite creation.
2017-12-19 23:30:58 +01:00
Linus Probert
025bd3eda2
Fixed some codacy stuff
2017-12-19 23:02:24 +01:00
Linus Probert
4bbe82a705
More windows stuff
2017-12-19 22:51:00 +01:00
Linus Probert
faad866c8b
Fixed a lot of stuff to help cross platform compilation
2017-12-19 21:00:02 +01:00
Linus Probert
7f6507d30c
Fixed for windows
2017-12-19 19:42:05 +01:00
Linus Probert
b269abd0f7
Moved hashtabl and linkedlist into source.
2017-12-19 09:06:21 +01:00
Linus Probert
856d47fec9
Removed old valgrind dump
2017-12-19 08:59:18 +01:00
Linus Probert
64a9105d21
Action texts on player and some refactoring
2017-12-18 15:26:56 +01:00
Linus Probert
1c48f1dd9a
Added enemy behaviour to lua and monster states.
2017-12-18 12:12:24 +01:00
Linus Probert
995a2f4475
Codacy warnings.
2017-12-18 10:03:58 +01:00
Linus Probert
c88c64f4b8
Implemented stupid agressive and coward pathing.
2017-12-18 09:59:01 +01:00
Linus Probert
3a464d8ea6
Added some more undead and fixed the random function.
2017-12-18 09:11:00 +01:00
Linus Probert
6007976d23
Roaming monsters.
2017-12-17 13:43:41 +01:00
Linus Probert
7389c2d588
Hit and miss information.
2017-12-15 15:03:29 +01:00
Linus Probert
916193ecb3
Simple Player vs. Enemy hits
2017-12-15 08:08:45 +01:00
Linus Probert
c4d142860c
Moved 'clip' from texture to sprite.
2017-12-14 12:01:05 +01:00
Linus Probert
80ab804e07
More monsters
2017-12-14 09:48:49 +01:00
Linus Probert
0fcf0afc39
More Codacy
2017-12-13 23:35:06 +01:00
Linus Probert
7625e02d21
Make codacy happy.
2017-12-13 23:27:20 +01:00
Linus Probert
00a2b54759
Lua bindings for monsters. Monsters in matrix.
...
So far I just add one black ant. More to come.
2017-12-13 23:20:54 +01:00
Linus Probert
95c9ed0a67
Made linked list stupid and naive. Prepared for monster lua
2017-12-13 20:31:04 +01:00
Linus Probert
17c3b817a0
Better hashtable destruction. Monsters prepared.
2017-12-13 14:30:12 +01:00
Linus Probert
f90a7c735e
Attempt to fix test-build on travis
2017-12-13 12:18:20 +01:00
Linus Probert
b5ddc344c4
More cmake logic to improve the build
2017-12-13 12:09:04 +01:00
Linus Probert
86eb3aee01
Wrote a naive hashtable.
...
Be careful regarding memeory handling using this table. It takes
pointers as values. Deletes the pointers on occasion and destruction but
doesn't copy the original pointer. So pointers inserted should be left
to be handled by the table.
2017-12-12 13:06:01 +01:00