James Gillham
7c0867d08b
Fix PriorityQueue to no longer store function in global.
...
Changed the PriorityQueue to store the comparator function in a metatable to avoid serializing the comparator function to the global table.
This means that the PriorityQueue has to be restored on load.
Plus side is we can use comparators that are closures.
2020-05-29 12:20:49 +01:00
SimonFlapse
09d4d76359
Added custom mirrored ore generation + Refactoring
2019-10-26 22:09:32 +02:00
Simon
bf8cd265d2
[Builder] Simple entity removal ( #994 )
...
* Simple entity removal in Builders
Performance could be improved
* Removed rocks parameter
The increased radius caused simple-entity to work
* Added another way to remove units that should be more efficient
* Changed find_entities to use area instead of radius
* removed remove_units function
* changed function name from names to name
* added table.shallow_copy
* reworked 'remove_*' builders
* used remove_* builders for existing maps
* update .luacheckrc
* Added links to documentation for each public function
* Added links for new functions
2019-10-14 00:09:47 +02:00
SimonFlapse
2b9ca4013a
Merge remote-tracking branch 'upstream/develop' into diggy_cutscene
2019-07-07 20:20:05 +02:00
grilledham
dd0930ce21
extra queue functions
2019-07-03 12:35:34 +01:00
grilledham
7a9c9f8170
improved priority queue docs
2019-06-23 10:07:17 +01:00
grilledham
73c1515c81
change divide to multiply
2019-06-22 22:53:58 +01:00
grilledham
3c5380dd32
made tick local
2019-06-22 22:42:27 +01:00
grilledham
b426de3ec1
task clean up
2019-06-22 22:36:13 +01:00
grilledham
e277b91657
priority_queue clean up
2019-06-22 22:36:04 +01:00
Simon
890cdf12e7
Merge branch 'develop' into diggy_cutscene
2019-06-22 15:11:56 +02:00
grilledham
183a31293f
added integer + postive_integer to settings types
2019-06-19 17:33:43 +01:00
SimonFlapse
f811da5b30
Fixed inverted height and width
...
Polygons are not being placed correctly
2019-06-14 23:19:21 +02:00
SimonFlapse
71044d6ade
Refactoring + Rendering module from grilledham
2019-06-14 19:24:11 +02:00
grilledham
a86df3917b
added LocaleBuilder.new()
2019-06-07 10:25:08 +01:00
grilledham
b6079f6288
updates to locale_builder
2019-06-04 19:06:05 +01:00
grilledham
63549e00f8
made travis happy
2019-06-04 17:49:33 +01:00
grilledham
37b1bedff8
use LocaleBuilder() instead of LocaleBuilder.add()
2019-06-04 17:36:23 +01:00
grilledham
2e549700ed
add docs
2019-06-04 17:13:09 +01:00
grilledham
b269f1e18c
local reference to getmetatable
2019-06-04 13:58:05 +01:00
grilledham
f2f562fb93
first pass
2019-06-04 13:23:08 +01:00
Lynn
fdee00dc06
Translate whois data
2019-06-01 13:41:12 +02:00
Lynn
8a84ef7504
Cleanup of player stats functions
2019-05-31 23:18:19 +02:00
Lynn
94934a7695
Merge pull request #934 from linaori/rewrite-score-storage
...
Rewrite score storage
2019-05-31 22:33:27 +02:00
Lynn
d4dac76b87
Let it crash when invalid value is passed
2019-05-31 22:25:55 +02:00
Lynn
b5f70f2db1
review feedback
2019-05-31 21:42:15 +02:00
Lynn
b5b9a49fd1
Improved hotpath performance
2019-05-31 19:28:20 +02:00
Lynn
f8812f6189
Use ScoreTracker for global score display
2019-05-30 21:57:43 +02:00
Lynn
34e3190882
Use a uniform storage for score storage
2019-05-30 20:22:21 +02:00
Lynn
d1305795de
Ensure tables are compared by value for 1 level instead of reference
2019-05-30 19:28:28 +02:00
grilledham
2ef7f16550
added chat color sanitizer
2019-05-30 18:55:42 +02:00
Lynn
4add981a76
Sync colors from /color command to the settings
2019-05-30 18:55:41 +02:00
Lynn
1cd19c69e7
Replaced command for player and chat colors
2019-05-30 18:55:41 +02:00
Lynn
9fc7179981
Use a local table reference to prevent re-alloc
2019-05-27 21:09:31 +02:00
Lynn
65b9e6d547
Schedule setting syncs per player, not globally
2019-05-27 19:09:43 +02:00
Lynn
31931ff365
Fix bug when value is false
2019-05-27 16:40:30 +02:00
Lynn
55eead174d
setting set should not nest the setting in the event
2019-05-27 16:01:48 +02:00
grilledham
4ec2d46f62
Merge pull request #919 from grilledham/debugger/gui_data
...
Debugger/gui data
2019-05-27 13:18:12 +01:00
Lynn
ecd4e73e3d
Directly update settings fields when displayed
2019-05-27 13:50:37 +02:00
grilledham
1af3d3b237
fixed desyn issue
2019-05-26 21:03:42 +01:00
grilledham
e9b31c7038
updates
2019-05-26 20:32:44 +01:00
grilledham
68b4c22e2b
merge develop into debugger/gui_data
2019-05-26 16:41:39 +01:00
Lynn
7ed200bf3f
Added an event when a setting is set
2019-05-26 16:18:07 +02:00
Lynn
0950a4e13b
Fixed incorrect merges and 0.17.x changes
2019-05-26 13:42:11 +02:00
Lynn
bc38c23a3a
Review feedback processed
2019-05-26 13:42:11 +02:00
plague006
e395f0c6d7
Minor locale cleanup
2019-05-26 13:42:10 +02:00
Lynn
ac9c25ac6e
Replaced settings commands with a GUI
2019-05-26 13:42:09 +02:00
grilledham
ff8d81120f
Merge pull request #912 from grilledham/misc-fixes
...
Misc fixes
2019-05-16 20:13:47 +01:00
grilledham
a0e178fc75
removed unsed Game variable
2019-05-16 12:11:01 +01:00
grilledham
880c0366d1
Game.get_player_by_index -> game.get_player
2019-05-16 11:10:56 +01:00