1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2025-02-20 23:47:16 -05:00

324 Commits

Author SHA1 Message Date
Maxime Lavigne (malavv)
07983469ed
Fixes Language dictionary crash ()
Crashes were due to missing translation. This PR temporarily replaces the translateString calls for the default string directly.

in `select_hero_class.go` there is a level of indirection before the call to translateString, and for this reason, its `panic` call got temporarily diverted.
2020-06-20 15:14:52 -04:00
Tim Sarbin
a8c6bbec9d
Fixed walking animations and pathing bugs. () 2020-06-20 00:40:49 -04:00
Tim Sarbin
7b38a9d818
Updates () 2020-06-19 02:19:27 -04:00
Tim Sarbin
2da08884c4
Added multiplayer support () 2020-06-18 14:11:04 -04:00
Tim Sarbin
16dc775be1
Renamed scene to screen to avoid confusion of intent. () 2020-06-13 20:36:20 -04:00
Tim Sarbin
52f8cd6d0c
Initial work to separate client and server logic ()
* Switched to json formatted characters

* Added infrastructure for networking

* Minor updates.

* more updates for map engine/rendering

* More map engine changes and fixes
2020-06-13 18:32:09 -04:00
Robin Eklind
ff4f0b0bfa
all: use goimports to format code and fix two minor typos in comments ()
Typos located using misspell: https://github.com/client9/misspell

Formatting done using goimports: https://godoc.org/golang.org/x/tools/cmd/goimports
2020-04-11 14:56:47 -04:00
Alex Yatskov
6f2c212417
Continued work on GUI ()
* Configuration cleanup

* Cleanup

* Continued UI work
2020-02-24 22:35:21 -05:00
nicholas-eden
f6014498ba
Use missile range and subloop ()
Turn on blending.  Calculate target using based on range and angle of hero to click.
2020-02-23 03:23:18 -05:00
nicholas-eden
bdfdeda67b
Add support for missiles ()
* WIP: Add support for missiles

Break AnimatedEntity into two parts to support single and composite animations.  Summon misssiles on right click.

* Break animated entity down further

Move npc only logic to npc struct, reduce duplication in map entities

* Change a bunch of int32s to int
2020-02-22 20:44:30 -05:00
Alex Yatskov
1983ec395d Cleanup error handling () 2020-02-09 14:12:04 -05:00
Alex Yatskov
5e958b9174
Scene and GUI rework () 2020-02-08 21:02:37 -05:00
nicholas-eden
b957661915 Add panel to contain hero stats ()
Left framing with stats panel, bound to 'C' key.
2020-02-08 10:51:11 -05:00
Alex Yatskov
a04d2389c3
Fix terminal taking input when not visible, fix timescale command () 2020-02-02 21:26:08 -05:00
Ziemas
0b7a433ed2
Fix up subtile flag stuff ()
* Switch to a 2d array for looking up subtile flags

Also fix up the walkableArea generation

* Check correct tiletype for walls

And fix the subtile tooltip text.
2020-02-02 17:56:58 -05:00
Alex Yatskov
241e8e2875
Cleanup main.go, better error handling, less repetition () 2020-02-02 14:59:47 -05:00
Alex Yatskov
f33535cd5d
Add commands for vsync, fullscreen; move timescale implementation ()
* Add commands for vsync, fullscreen; move timescale implementation

* add binding for mapdebugvis
2020-02-02 14:04:37 -05:00
Tim Sarbin
3412c4338c
Added pathfinding and (buggy) collision data. () 2020-02-02 12:46:19 -05:00
Tim Sarbin
935789dccf
Added more debugging to map test () 2020-02-02 02:57:23 -05:00
Tim Sarbin
6606774ece
Refectoring to reduce code warnings () 2020-02-01 21:51:49 -05:00
Alex Yatskov
ea4450f207
Move d2config to d2core, remove d2helper () 2020-02-01 21:06:22 -05:00
Alex Yatskov
b5c1f5222d
Move rendering stuff out of d2common into d2render ()
* Move rendering stuff out of d2common into d2render

* Remove d2interface
2020-02-01 20:39:28 -05:00
Alex Yatskov
8a547ebf0e
Moving files around to make more sense ()
* Prevent input fighting between terminal and other input listeners.

* Moving files around, removing exports

* Add missing line
2020-02-01 18:55:56 -05:00
Tim Sarbin
2461142fbd
Minor changes to project layout ()
* Minor changes to reduce interdependencies on modules.
2020-01-31 23:18:11 -05:00