Commit graph

11258 commits

Author SHA1 Message Date
Jupeyy 1e1c16f83a Make override consistent 2020-09-11 00:34:43 +02:00
Jupeyy 3b403f76a9 Fix editor speedup brush 2020-09-11 00:34:43 +02:00
Jupeyy b83d8735fe Create entity textures seperately 2020-09-11 00:34:42 +02:00
bors[bot] f6e1ed5f19
Merge #2738
2738: Don't search the sorted array linearly r=heinrich5991 a=Learath2

Small optimization but it could start mattering with #2733

Co-authored-by: Learath <learath2@gmail.com>
2020-09-10 22:30:46 +00:00
bors[bot] 51483c2ff1
Merge #2789 #2797
2789: Refresh server browser immediately when updated ddnet info arrived r=heinrich5991 a=def-

At the moment it only happens the next time you press refresh.

Before we had it so that it always reloaded once the ddnet info arrived,
causing a quick flickering and lots of packets having to be resent every
time someone pressed refresh, even if nothing changed.

The new approach combines the advantages of both without the
disadvantages. An even nicer way would be to compare the json objects,
so that news and version updates don't matter, but our json library
doesn't seem to support that.

2797: dilate: Don't crash if file doesn't exist r=heinrich5991 a=def-



Co-authored-by: def <dennis@felsin9.de>
2020-09-10 22:24:06 +00:00
bors[bot] 4abd889802
Merge #2799
2799: Use check_header_guards script r=heinrich5991 a=def-



Co-authored-by: def <dennis@felsin9.de>
2020-09-10 22:06:32 +00:00
def d92e6ecb00 Use check_header_guards script 2020-09-11 00:03:31 +02:00
bors[bot] fe0032451b
Merge #2796
2796: Remove tools we don't need anymore r=heinrich5991 a=def-

Following Jupeyys new renderer

Co-authored-by: def <dennis@felsin9.de>
2020-09-10 21:25:34 +00:00
def 80b7ceb3d7 dilate: Don't crash if file doesn't exist 2020-09-10 23:25:33 +02:00
bors[bot] 250b241fe3
Merge #2790
2790: Fixes two mapres by mind r=heinrich5991 a=def-

- Two missed dilate
- Two others forgot to delete white text markings

Co-authored-by: def <dennis@felsin9.de>
2020-09-10 21:16:19 +00:00
def c839dc96d9 Remove tools we don't need anymore
Following Jupeyys new renderer
2020-09-10 23:15:28 +02:00
bors[bot] 10eaa585e3
Merge #2794
2794: Make fix_style executable r=heinrich5991 a=def-



Co-authored-by: def <dennis@felsin9.de>
2020-09-10 21:08:57 +00:00
def ecdf648930 Make fix_style executable 2020-09-10 22:58:30 +02:00
def 8a6acfbb4a Fix loading bar by adding menu images to count 2020-09-10 22:56:59 +02:00
bors[bot] a4025a37d4
Merge #2770
2770: Print sqlite statements r=def- a=Zwelf

This prints SQLite statements to the console. I tried to expand MySQL statements with the SQLite function as well, but this didn't work since it isn't valid SQLite syntax.

Co-authored-by: Zwelf <zwelf@strct.cc>
2020-09-10 18:50:19 +00:00
Zwelf 3a986fbe52 Fix SQL query style using clang-format 2020-09-10 20:24:34 +02:00
Zwelf a78e84d724 Only call sqlite3_expanded_sql when it exists
Only print expanded SQLite statement, when expanding function exists. This is
required to not bump the minimum required Ubuntu version, since Ubuntu 16.04
doesn't ship SQLite 3.14 or above. SQLite introduced ``sqlite3_expanded_sql`
in 3.14, Ubuntu 16.04 packages 3.11.

Disabled weak linking on MSVC, since it isn't supported.
2020-09-10 20:22:37 +02:00
Zwelf 88dc1c1a9c Add print functionality to SQLite 2020-09-10 20:16:42 +02:00
Zwelf 46b0ff354e Align InsertIgnore with other SQL query related functions 2020-09-10 20:16:42 +02:00
def f7b37eaf6a clang-format fixes 2020-09-10 20:16:09 +02:00
def a52c8a22a6 Quit without popup when it makes sense 2020-09-10 20:13:01 +02:00
def 419942ace4 Some more size improvements 2020-09-10 20:13:01 +02:00
def b07d0d21d6 Default to DDNet if no page selected 2020-09-10 20:13:01 +02:00
def 57e2905e24 Clean up econ stuff, don't need it 2020-09-10 20:13:01 +02:00
def 0f051def21 Fix cbSize for Windows 2020-09-10 20:13:01 +02:00
def 0aef743d7a Move News/Website/Wiki/Discord to bottom left 2020-09-10 20:13:01 +02:00
def 83d297a370 Server -> Econ (in preparation of the real change) 2020-09-10 20:13:01 +02:00
def 2ca613d982 Back -> Menu 2020-09-10 20:13:01 +02:00
def 90f3199d98 Implement opening server on Windows (reading autoexec_server.log not working yet) 2020-09-10 20:13:01 +02:00
def 59ae288ead Update translations, fill out German 2020-09-10 20:13:01 +02:00
def 33eefa449b Only run server when pressing R 2020-09-10 20:13:01 +02:00
def b2cfdc57eb Clean up top menus, add back button 2020-09-10 20:13:01 +02:00
def 4ca4449ee4 Use Storage for opening autoexec_server.log 2020-09-10 20:13:01 +02:00
def bb3509466a Add link to Chinese DDNet wiki 2020-09-10 20:13:01 +02:00
def b522bbbb96 Localize the Learn link 2020-09-10 20:13:01 +02:00
def 9a5ee2cdbf Auto-bind F7 to show server console if it's free 2020-09-10 20:13:01 +02:00
def 2cdc7d0faf Adapt 0.7 start menu
- Working Local Server button (needs fixing for Windows)
- Highlight buttons if server is running, new news is out and editor has
  unsaved changes
2020-09-10 20:13:01 +02:00
bors[bot] d1aa014357
Merge #2793
2793: Add some more space for Countries & Types r=Learath2 a=def-

Since DDNet has too many locations now. A scroll wheel would be even better for the future if someone wants to implement that.

![screenshot-20200910@175801](https://user-images.githubusercontent.com/2335377/92758709-4ca55d00-f38f-11ea-924d-f13b998403f7.png)

Co-authored-by: def <dennis@felsin9.de>
2020-09-10 16:52:55 +00:00
bors[bot] 64be7d7a10
Merge #2791
2791: Add .clang-format; require it for pull requests r=def- a=heinrich5991

This will help me not getting annoyed about code style.

Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-09-10 16:00:19 +00:00
def cddfd6836b Add some more space for Countries & Types
Since DDNet has too many locations now
2020-09-10 17:59:40 +02:00
heinrich5991 0a2eab6a10 CI: Check style on pull requests 2020-09-10 04:11:58 +02:00
heinrich5991 df46ff8557 Add a tools to fix the style of new pull requests 2020-09-10 04:11:58 +02:00
heinrich5991 fcac1503d5 Add .clang-format
This will help me not getting annoyed about code style.
2020-09-10 04:11:58 +02:00
Learath 1f261198a7 Don't search the sorted array linearly 2020-09-09 21:10:40 +03:00
def 35c711fb84 Fixes two mapres by mind
- Two missed dilate
- Two others forgot to delete white text markings
2020-09-09 18:34:59 +02:00
def 279deffa86 Refresh server browser immediately when updated ddnet info arrived
At the moment it only happens the next time you press refresh.

Before we had it so that it always reloaded once the ddnet info arrived,
causing a quick flickering and lots of packets having to be resent every
time someone pressed refresh, even if nothing changed.

The new approach combines the advantages of both without the
disadvantages. An even nicer way would be to compare the json objects,
so that news and version updates don't matter, but our json library
doesn't seem to support that.
2020-09-09 17:51:32 +02:00
bors[bot] f3372b185e
Merge #2787
2787: Put dependencies before installation instructions in README r=heinrich5991 a=def-

as noticed by Андрей Рудой on Discord

Co-authored-by: def <dennis@felsin9.de>
2020-09-09 15:13:04 +00:00
def cf4cf80ca6 Put dependencies before installation instructions in README
as noticed by Андрей Рудой on Discord
2020-09-09 17:07:05 +02:00
bors[bot] ca100ba4a8
Merge #2781
2781: Fix some 5:4 rendering in demo menu & recorder menu r=heinrich5991 a=def-

![screenshot-20200908@113126](https://user-images.githubusercontent.com/2335377/92459421-f5ed2700-f1c6-11ea-9ff2-04498aa6f582.png)
![screenshot-20200908@113740](https://user-images.githubusercontent.com/2335377/92460019-b8d56480-f1c7-11ea-9feb-b2d3427ce324.png)



Co-authored-by: def <dennis@felsin9.de>
2020-09-08 23:25:26 +00:00
bors[bot] 21a51ff64b
Merge #2783
2783: Don't insert timestamps into PEs with MinGW r=def- a=heinrich5991

Should make the build reproducible.

Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-09-08 12:15:45 +00:00