fgenesis
0b7334c7b7
Fix possible crash on mod enum
2017-02-05 21:24:43 +01:00
fgenesis
9229bb2c0a
Add entity_v(), node_v() Lua functions
2017-02-05 21:08:01 +01:00
fgenesis
a3fb57fde9
un-recurse a thing
2017-01-21 03:34:38 +01:00
fgenesis
fb3edf413d
Deprecate entity_incrTargetLeaches() & entity_decrTargetLeaches() properly
2017-01-21 03:34:12 +01:00
fgenesis
3b759294df
Add support for mod script compatibility layers
...
This uses a new <Compatibility script="..." /> tag in a mod's XML file.
A compatbility layer is a script that runs before mod-init.lua is loaded,
and before any mod scripts are loaded when resuming a saved game.
This is a better solution than shipping a fragile wrapper
with every mod, that tends to break and then needs to be updated.
Now this wrapper is centralized, easy to use, and easy to update.
Closes #31 .
2017-01-21 02:06:44 +01:00
fgenesis
8411838636
Remove entity myTimer and related Lua functions. Fix warnings for now unsigned Entity::layer
...
- entity_resetTimer()
- entity_stopTimer()
2017-01-20 20:54:17 +01:00
fgenesis
f3f93ef89e
Little improvement for prev commit
2017-01-20 19:55:17 +01:00
Valentin Ochs
9245bee717
Fix some warnings
...
mostly sign-related, but also some about commas after the last item in
an enum list, usage of default in switches, implicit or old-style casts
2017-01-20 19:10:40 +01:00
fgenesis
21fa854c87
entities/squeezer.lua is unused
2017-01-20 02:21:16 +01:00
fgenesis
b52ff75c95
Little update fixing some minor things
...
Rename msg() Lua function to screenMessage().
Identify an unused script.
2017-01-20 02:20:58 +01:00
fgenesis
e35a309732
Revert small part of 8472718fb7
...
Re-add incrFlag(), decrFlag() Lua functions
2017-01-20 00:38:04 +01:00
fgenesis
d7cdb72143
Some more warning related stuff, but changed my mind about re-enabling the remaining ones :/
2017-01-19 23:44:30 +01:00
fgenesis
7a60f493a5
Re-enable double->float cast warning and fix all instances where this fired
2017-01-19 23:31:56 +01:00
fgenesis
0e6dccbb4e
Thou shall not break the build (+ more warning fixes)
2017-01-19 21:48:47 +01:00
fgenesis
9bb3fe86f6
More signed/unsigned comparison fixes. int -> size_t.
2017-01-19 18:50:33 +01:00
False.Genesis
4134140be2
Merge pull request #51 from Cat-Ion/controllerfixup
...
Merge warning fixes into controllerfixup
2017-01-19 17:38:54 +01:00
Valentin Ochs
35eb6ac563
Fix mistake in combobox selection
2017-01-18 09:30:32 +01:00
Valentin Ochs
f9357e7fca
Merge branch 'gccwarn' into controllerfixup
2017-01-17 11:15:47 +01:00
False.Genesis
55ad1e8faa
Merge pull request #49 from Cat-Ion/experimental
...
Only notify IRC on success when that changed
2017-01-15 00:44:59 +01:00
fgenesis
8c2f76b606
Get rid of some uses of dsq->inputMode
2017-01-15 00:38:36 +01:00
fgenesis
9d80077754
Preparations to get rid of DSQ::inputMode -- Pass device to action() methods.
2017-01-14 22:53:20 +01:00
fgenesis
e8a4b58e80
README update
2017-01-14 22:50:34 +01:00
Valentin Ochs
ac829a2e5f
Only notify IRC on success when that changed
2017-01-14 21:05:26 +01:00
Valentin Ochs
beb2216265
Change some stuff for butt-endian architectures
2017-01-14 20:10:42 +01:00
Valentin Ochs
2374c1a86b
Revert ~0 to -1
2017-01-14 19:22:37 +01:00
fgenesis
a648bdfe30
Small update to ttvfs_zip
2017-01-14 18:38:10 +01:00
Valentin Ochs
c988858cd2
This one slipped through
2017-01-14 18:30:58 +01:00
Valentin Ochs
4dc7e27ee6
Fix some more warnings
2017-01-14 18:23:53 +01:00
Valentin Ochs
fe0ab0418b
Get rid of a lot of gcc warnings
...
Mostly signed/unsigned comparisons. Also some bugs, but I don't remember
where :D
2017-01-14 18:10:20 +01:00
False.Genesis
ce4e76a3a1
Merge pull request #47 from Cat-Ion/travis
...
Travis-CI integration. Closes #11
2017-01-14 14:27:05 +01:00
fgenesis
dce0fc992c
Merge branch 'experimental' into controllerfixup
2017-01-14 14:22:58 +01:00
Valentin Ochs
1e341052e0
enable IRC notifications
2017-01-14 14:11:38 +01:00
Valentin Ochs
648b7acfaa
install sdl/openal on osx
2017-01-14 13:30:31 +01:00
Valentin Ochs
267e2b5696
Can I do multiple OSs like this?
2017-01-14 13:15:29 +01:00
Valentin Ochs
f1218a8d7b
I don't know what I'm doing
2017-01-14 13:12:07 +01:00
Valentin Ochs
3aff70d91e
Add CheckCXXCompilerFlag
2017-01-14 13:09:12 +01:00
Valentin Ochs
7eb08bf2ce
Try to find C++ standard
2017-01-14 13:06:42 +01:00
Valentin Ochs
ef9d04b13b
Merge remote-tracking branch 'upstream/experimental' into travis
2017-01-14 12:57:02 +01:00
fgenesis
7629fc0c33
Hopefully fix build on weird platforms
2017-01-14 12:52:08 +01:00
fgenesis
65f23789da
Hopefully fix build on weird platforms
2017-01-14 12:48:54 +01:00
Valentin Ochs
d9c418f292
Switch to SDL 1 for container stuff
2017-01-14 12:30:22 +01:00
fgenesis
26422da4e5
Merge branch 'experimental' into controllerfixup
2017-01-14 12:25:33 +01:00
Valentin Ochs
23e3904f24
Changes for container-based infrastructure
2017-01-14 12:23:08 +01:00
False.Genesis
10d506740f
Merge pull request #46 from Cat-Ion/cxxflags
...
Set c/cxx flags to -Wall -pedantic
2017-01-14 12:22:38 +01:00
Valentin Ochs
0f4c1208ba
Install libsdl2 for travis
2017-01-14 12:20:29 +01:00
Valentin Ochs
95e2d2f8d9
Install openal for travis
2017-01-14 12:13:03 +01:00
Valentin Ochs
1ff004b33c
nop, test travis
2017-01-14 12:09:39 +01:00
Valentin Ochs
092559f4d3
Add travis.yml config
2017-01-14 12:06:06 +01:00
Valentin Ochs
8886c03883
Set c/cxx flags to -Wall -pedantic
...
Special case for freetype2: -Wno-extended-offsetof, to prevent some 140
warnings.
2017-01-14 00:38:55 +01:00
fgenesis
eb8ef1fdf7
Use refresh rate setting + attempt to improve window/fullscreen apply logic
2017-01-14 00:06:04 +01:00